pranitrock / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

avrdude 5.8 and arduino bootloader don't play well together. #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I need avrdude 5.8. I'm porting arduino to the xmega. 5.8 knows about the
xmega, the hacked 5.4-arduino does not.

Avrdude 5.8 burns bootloaders just fine. But, when trying upload a sketch,
it reports:
    avrdude: Yikes!  Invalid device signature.
             Double check connections and try again, or use -F to override
             this check.
If I restore avrdude to 5.4-arduino, the sketch uploads fine.

I've no idea where the "fault" lies, I'll take a patch on either the
arduino or avrdude side ...

Original issue reported on code.google.com by GorillaCoder on 22 Jan 2010 at 8:18

GoogleCodeExporter commented 9 years ago
Which programmer type (argument to -c) are you using?  The 5.4-arduino is 
patched to use a different method 
for checking the device signature (non-universal command, I think).  In 5.8, 
you should be able to use the 
"arduino" programmer type instead (you can change this in boards.txt: 
http://code.google.com/p/arduino/wiki/Platforms)

Original comment by dmel...@gmail.com on 22 Jan 2010 at 9:15

GoogleCodeExporter commented 9 years ago
STK500. Don't recall if v1 or v2. I'll give the "arduino" type a shot.

BTW, as long as there is a special arduino type for avrdude, could we use a 
"lighter"
protocol. Would be nice to shrink the bootloader section. Very little of the 
current
bootloader goes to loading application code ...

Original comment by GorillaCoder on 22 Jan 2010 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 28 Jan 2010 at 1:52