Activity Forums Questions & Troubleshooting Software & Firmware Access EEPROM with AVRDUDE on Mega/Maxi

  • Access EEPROM with AVRDUDE on Mega/Maxi

     pbro updated 2 years, 7 months ago 1 Member · 1 Post
  • pbro

    Member
    April 20, 2022 at 2:31 pm

    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.

Viewing 1 of 1 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now