Activity › Forums › Questions & Troubleshooting › Software & Firmware › Access EEPROM with AVRDUDE on Mega/Maxi
-
Access EEPROM with AVRDUDE on Mega/Maxi
-
My question is, how to write EEPROM….thanks for any help…
I am unable to write EEPROM on the Controllino Mega using AVRDUDE in terminal mode (OS=Ubuntu 20.04, AVRDUDE 6.3-20171130+svn1429-2) with the command line: avrdude -patmega2560 -cwiring -P/dev/ttyACM0 -b115200 -t
After executing the command, AVRDUDE enters terminal mode and allows looking at EEPROM, but not writing, as the following results indicate:
///////////////////////////////////////
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude> dump eeprom 0 16
>>> dump eeprom 0 16
0000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |…………….|
avrdude> write eeprom 0x05 0xA5
>>> write eeprom 0x05 0xA5
avrdude: stk500v2_ReceiveMessage(): timeout
//////////////////////////////////////
I am able to program hex files to flash without any problem using AVRDUDE from the command line.
Log in to reply.