- Mon Sep 27, 2010 9:25 am
#110234
Hi everybody,
I'm trying to read a program from a Sparkfun arduino mini pro with the command:
avrdude -c usbtiny -p m168 -U flash:r:program.hex:i
but the result is:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override this check
I try with the -F the result is:
avrdude -c usbtiny -p m168 -U flash:r:program.hex:i -F
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA168 is 1E 94 06
avrdude done. Thank you.
The same way I try with an italian Arduino Mini and it works, I can read the program inside and save the .hex file, but with the Mini Pro of the Sparkfun it fails, it's a little different, but the programming pins are the same. Any suggestion?
Thanks
I'm trying to read a program from a Sparkfun arduino mini pro with the command:
avrdude -c usbtiny -p m168 -U flash:r:program.hex:i
but the result is:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override this check
I try with the -F the result is:
avrdude -c usbtiny -p m168 -U flash:r:program.hex:i -F
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA168 is 1E 94 06
avrdude done. Thank you.
The same way I try with an italian Arduino Mini and it works, I can read the program inside and save the .hex file, but with the Mini Pro of the Sparkfun it fails, it's a little different, but the programming pins are the same. Any suggestion?
Thanks