ddiakopoulos/hiduino

Command in docs fails to re flash original firmware

Closed this issue · 1 comments

PFCM commented

Trying to flash the "usbserial_mega_16u2.hex" in Compiled Firmware back on to the 16U2 on an R3 Mega fails with the given command:

avrdude -p at90usb82 -F -P usb -c avrispmkii -U flash:w:usbserial_mega_16u2.hex \
-U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

yields

...
avrdude: ERROR: address 0x3010 out of range at line 254 of usbserial_mega_16u2.hex
...

changing the chip profile in the command to the actual chip ( -p atmega16u2) works fine.

Thanks. This would be on account of a newer avrdude version. I'll update the readme.