Hi,
I have my Spirit built and it is happily running the Demo code Today I made my first attempt to right very simple code using the Base sketch provided, this complies ok but fails to upload. I have checked the basics, such as checking I can communicate to the Spirit this appears to work via Com3. I get the following error message when I attempt to upload.
I am very new to programming is anyone able to give a clue to what the issue might be ?
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
In file included from C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Eyes_NW_Rev01.ino:20:0:
sketch\Hardware.h:37:0: warning: "INT0" redefined
#define INT0 4 //PIC pulls low when urgent status is present
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:272:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from sketch\Eyes_NW_Rev01.ino.cpp:1:
c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\iom328p.h:167:0: note: this is the location of the previous definition
#define INT0 0
^
In file included from C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Eyes_NW_Rev01.ino:20:0:
sketch\Hardware.h:38:0: warning: "INT1" redefined
#define INT1 A2 //Other user defined interrupt uses. Connects to Raspberry Pi GPIO17
^
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:272:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from sketch\Eyes_NW_Rev01.ino.cpp:1:
c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\iom328p.h:168:0: note: this is the location of the previous definition
#define INT1 1
^
In file included from C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Eyes_NW_Rev01.ino:20:0:
sketch\Hardware.h:820:34: warning: backslash and newline separated by space
#define RecordedDataRefresh() \
^
In file included from C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Eyes_NW_Rev01.ino:20:0:
sketch\Hardware.h:430:20: warning: 'irData' initialized and declared 'extern'
extern byte irData[]={0x00,0xFF,0x00,0x00};
^
In file included from C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Eyes_NW_Rev01.ino:20:0:
sketch\Hardware.h:803:86: warning: 'typedef' was ignored in this declaration
typedef struct RecordedDataStruct{int left; int leftaver; int leftamb; uint32_t t;};//can edit number, names, and data types
^
C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Navigation.ino: In function 'void CalibrateNavigationSensors()':
C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Navigation.ino:468:4: warning: overflow in implicit constant conversion [-Woverflow]
i=1000;
^
C:\Users\Home\Documents\Arduino\Software From PG\Eyes_NW_Rev01\Navigation.ino:482:4: warning: overflow in implicit constant conversion [-Woverflow]
i=1000;
^
Sketch uses 6306 bytes (19%) of program storage space. Maximum is 32256 bytes.
Global variables use 638 bytes (31%) of dynamic memory, leaving 1410 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc8
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Unable to Upload
-
- Posts: 11
- Joined: Fri Sep 22, 2017 9:15 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Unable to Upload
Did you turn it on before uploading?
-
- Posts: 20
- Joined: Sun Oct 15, 2017 11:13 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Unable to Upload
Hi,
Thanks for your response I have tried both, i.e Not pressing PWR button before uploading and pressing PWR button then uploading. Outcome the same in both cases.
I have Board Selected as Auduino/Genuino Uno within the IDE application, but when I use the 'Get Board Info' it returns 'Unknown Board' does anyone know if this is significant ?
Thanks for your response I have tried both, i.e Not pressing PWR button before uploading and pressing PWR button then uploading. Outcome the same in both cases.
I have Board Selected as Auduino/Genuino Uno within the IDE application, but when I use the 'Get Board Info' it returns 'Unknown Board' does anyone know if this is significant ?
-
- Posts: 20
- Joined: Sun Oct 15, 2017 11:13 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Unable to Upload
Hi,
As I've been researching my Upload problem I have seen a number of references to an LED to indicate the Bootloader is good. I see no such LED on the Spirit Rover does anyone know if this LED is on the Spirit ? The only LED's I see active are PWR & COM when unit is on and amber charge LED when connected to USB port.
As I've been researching my Upload problem I have seen a number of references to an LED to indicate the Bootloader is good. I see no such LED on the Spirit Rover does anyone know if this LED is on the Spirit ? The only LED's I see active are PWR & COM when unit is on and amber charge LED when connected to USB port.
-
- Posts: 11
- Joined: Fri Sep 22, 2017 9:15 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Unable to Upload
Select the board "Arduino Pro or Pro Mini"
Then just below the board, set the processor to "ATMega328 (3.3V, 8MHz)"
Power on the unit, and then try your upload
Then just below the board, set the processor to "ATMega328 (3.3V, 8MHz)"
Power on the unit, and then try your upload
-
- Posts: 20
- Joined: Sun Oct 15, 2017 11:13 am [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Unable to Upload
Thank you that worked
-
- Posts: 11
- Joined: Fri Sep 22, 2017 9:15 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Unable to Upload
I understand. The only reason I was able to answer the question easily is because I went through the exact same struggle... I was initially trying to use the Uno too. I think it was when I was digging through the Ringo instructions is when I saw the Pro or Pro Mini.
Who is online
Users browsing this forum: No registered users and 11 guests