SOLVED: problem uploading Arduino Sketch
Posted: Sat Feb 03, 2018 11:08 pm
Problem is solved. In the Arduino IDE, select board "Arduino Pro or Pro Mini", then processor "AtMega328P 3.3V 8Mhz" and everything works fine! Thanks to some detective work by Erik Bailey!
===========================================
I'm having a problem uploading an Arduino sketch:
Board type is set to "Arduino/Genuino Uno"
When trying to upload, I get:
Sketch uses 14130 bytes (43%) of program storage space. Maximum is 32256 bytes.
Global variables use 657 bytes (32%) of dynamic memory, leaving 1391 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x78
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1e
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x78
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x78
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1e
An error occurred while uploading the sketch
I can upload with board type set to "Duemilanove" and there is some functionality, but LEDs do not respond correctly (the LEDs light to all white).
The bootloader must be responding, because I've uploaded the base sketch (no function), then the demo sketch (Spirit responds to ultrasonic sensor) but the LEDs don't change color, probably because the board type is wrong.
I've tried this on Mac OS X High Sierra and Windows 7, behavior is identical.
Anything else to try?
===========================================
I'm having a problem uploading an Arduino sketch:
Board type is set to "Arduino/Genuino Uno"
When trying to upload, I get:
Sketch uses 14130 bytes (43%) of program storage space. Maximum is 32256 bytes.
Global variables use 657 bytes (32%) of dynamic memory, leaving 1391 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x78
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1e
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x78
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x78
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1e
An error occurred while uploading the sketch
I can upload with board type set to "Duemilanove" and there is some functionality, but LEDs do not respond correctly (the LEDs light to all white).
The bootloader must be responding, because I've uploaded the base sketch (no function), then the demo sketch (Spirit responds to ultrasonic sensor) but the LEDs don't change color, probably because the board type is wrong.
I've tried this on Mac OS X High Sierra and Windows 7, behavior is identical.
Anything else to try?