PLaying with Avrdude
a professor gave me this servo unit consists of atmega 168. wanted see if read flash memory off it. when designated file ( mystery.hex) , using -u command said read flash can't find mystery.hex file anywhere on comp. lead me erasing ( -e command) chip intent of re-installing proper bootloader , following arduino code.
since chip erase, error
everything seemed in order when trying read flash memory off device. assume lock bits preventing me so.
the erase worked bc servos don't move eractically. have disconnected sevos since. don't have device signature. i"m using sparkfun's pocket programmer , windows 10.
the next goal put new bootloader, have somehow re-assign signature.
could me manufacturer setting, meaning when erase flash kills chip entirely? appreciated!!!
since chip erase, error
code: [select]
c:\>avrdude -b 19200 -c usbtiny -p m168 -f -v -v
programmer type : usbtiny
description : usbtiny simple usb programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported
avrdude: using sck period of 10 usec
cmd: [ac 53 00 00] [00 00 00 00]
cmd: [ac 53 00 00] [00 00 00 00]
avrdude: initialization failed, rc=-1
avrdude: avr device initialized , ready accept instructions
avrdude: device signature = 0x000000
avrdude: yikes! invalid device signature.
avrdude: expected signature atmega168 1e 94 06
everything seemed in order when trying read flash memory off device. assume lock bits preventing me so.
the erase worked bc servos don't move eractically. have disconnected sevos since. don't have device signature. i"m using sparkfun's pocket programmer , windows 10.
the next goal put new bootloader, have somehow re-assign signature.
could me manufacturer setting, meaning when erase flash kills chip entirely? appreciated!!!
Arduino Forum > Using Arduino > Installation & Troubleshooting > PLaying with Avrdude
arduino
Comments
Post a Comment