"Invalid device signature" (0x000000) since Arduino 1.0; works in 0022
hi,
i (finally) patching arduino-derived project 1.0 , ran oddity; seems 1.0 (or version of avrdude comes it?) no longer recognizes arduino serial (duemilanove , earlier) bootloader's protocol (stk500), or @ least has altered implementation in such way no longer recognizes chip. mosquino (sanguino-based) board uses atmega644pa sanguino's 'adaboot' bootloader. boards.txt file specifies upload protocol follows:
randomly changing 'stk500' 'arduino' (as mentioned in this thread) gets working again, published project, i'm wary of relying on seems 'voodoo' fix without understanding how or why works, or problem in first place. know more - e.g. underlying problem/solution/change documented anywhere, , 'stable' fix can safely push out? changed?
thanks in advance!
more info:
with arduino ide versions through 0022, uploading sketch proceeds normally. abridged verbose output:
but 1.0, upload produces:
it seems use different method read signature(?).
i (finally) patching arduino-derived project 1.0 , ran oddity; seems 1.0 (or version of avrdude comes it?) no longer recognizes arduino serial (duemilanove , earlier) bootloader's protocol (stk500), or @ least has altered implementation in such way no longer recognizes chip. mosquino (sanguino-based) board uses atmega644pa sanguino's 'adaboot' bootloader. boards.txt file specifies upload protocol follows:
code: [select]
mosquino.upload.protocol=stk500
randomly changing 'stk500' 'arduino' (as mentioned in this thread) gets working again, published project, i'm wary of relying on seems 'voodoo' fix without understanding how or why works, or problem in first place. know more - e.g. underlying problem/solution/change documented anywhere, , 'stable' fix can safely push out? changed?
thanks in advance!
more info:
with arduino ide versions through 0022, uploading sketch proceeds normally. abridged verbose output:
code: [select]
avrdude: version 5.4-arduino, compiled on oct 11 2007 @ 19:12:32
copyright (c) 2000-2005 brian dean, http://www.bdmicro.com/
system wide configuration file "j:\arduino-0022\hardware/tools/avr/etc/avrdude.conf"
using port : \\.\com18
using programmer : stk500v1
overriding baud rate : 19200
...
avrdude: avr device initialized , ready accept instructions
reading | avrdude: send: u [75] [20]
avrdude: recv:
################################################## | 100% 0.02s
avrdude: device signature = 0x1e960a
...
but 1.0, upload produces:
code: [select]
avrdude: version 5.11, compiled on sep 2 2011 @ 19:38:36
copyright (c) 2000-2005 brian dean, http://www.bdmicro.com/
copyright (c) 2007-2009 joerg wunsch
system wide configuration file "j:\arduino-1.0\hardware/tools/avr/etc/avrdude.conf"
using port : \\.\com18
using programmer : stk500v1
overriding baud rate : 19200
...
avrdude: avr device initialized , ready accept instructions
reading | avrdude: send: v [56] 0 [30] . [00] . [00] . [00] [20]
avrdude: recv: . [14]
avrdude: recv: . [00]
avrdude: recv: . [10]
avrdude: send: v [56] 0 [30] . [00] . [01] . [00] [20]
avrdude: recv: . [14]
avrdude: recv: . [00]
avrdude: recv: . [10]
################avrdude: send: v [56] 0 [30] . [00] . [02] . [00] [20]
avrdude: recv: . [14]
avrdude: recv: . [00]
avrdude: recv: . [10]
################################## | 100% 0.05s
avrdude: device signature = 0x000000
avrdude: yikes! invalid device signature.
double check connections , try again, or use -f override
this check.
it seems use different method read signature(?).
i have no idea if following paragraph correct recall reading various tidbits... avrdude has been drifting towards more use of "universal command" (that's 'v' in send data). moves more "intelligence" avrdude , allows programmer become "dumber". in extreme case, avrdude handles details , programmer has support single command. idea avrdude easier change , fix programmer.
i don't think of arduino stk500 bootloaders support "universal command". optiboot not support it...
[font=courier new] else if(ch == stk_universal) {
// universal command ignored
getnch(4);
putch(0x00);
}[/font]
quote
does know more - e.g. underlying problem/solution/change documented anywhere,
probably. have no idea where. bit escapes memory.
quote
and 'stable' fix can safely push out?
yes. there many boards not support "universal command". 1 way or avrdude has support stk500 used know it.
quote
what changed?
is stuff above enough explanation?
Arduino Forum > Using Arduino > Installation & Troubleshooting > "Invalid device signature" (0x000000) since Arduino 1.0; works in 0022
arduino
Comments
Post a Comment