I installed avrdude, downloaded DigiSage's firmware from here: http://forums.adafruit.com/viewtopic.php?f=41&t=13225&p=64764#p63721
Navigated to the firmware directory and ran this command:
- Code: Select all
avrdude -c usbtiny -p atmega168 -B 32 -U flash:w:iv.hex
It did its thing, erased, wrote, and verified the flash, though I did get this output:
- Code: Select all
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0ef9
0x01 != 0x93
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
I didn't notice this at first and plugged the tube back in and plugged it in, but nothing happened. I reconnected to the usbtiny and tried to rewrite the flash again, but with a similar error:
- Code: Select all
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0208
0xf8 != 0xf0
avrdude: verification error; content mismatch
I then tried to slow down the transmission rate by decreasing the B flag:
- Code: Select all
avrdude -c usbtiny -p atmega168 -B 1 -U flash:w:iv.hex
and got this output:
- Code: Select all
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
Now whatever I do, I get that same error. Any thoughts as to what went wrong or if I broke it?
Thanks!
John

