This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123BE6PM: Reading eeprom using JTAG

Part Number: TM4C123BE6PM

Hi ,

I am using TM4C123BE6PM MCU in my project where i will be writing some logs into eeprom memory.. Now, i want to read that eeprom memory back through JTAG or SPY-BI-WIRE through LM-FLASH programmer or some other tool/software.

Please provide any information on how to achieve the read of eeprom using JTAG or SPY-BI-WIRE?

Thanks in advance.

Regards,

Anup

  • Hi Anup,

    The EEprom memory is not memory mapped. You cannot use LM flash programmer to read the EEprom directly. You need to use the CPU and the EEprom API to read the desired EEprom addresses. There is example in page 128 in the Peripheral Driver Libray User's guide. Below is an example snippet.

    //
    // Program some data into the EEPROM at address 0x400.
    //
    pui32Data[0] = 0x12345678;
    pui32Data[1] = 0x56789abc;
    EEPROMProgram(pui32Data, 0x400, sizeof(pui32Data));
    //
    // Read it back.
    //
    EEPROMRead(pui32Read, 0x400, sizeof(pui32Read));
  • Hi Charles,

    Thanks for your help.

    I was using API functions for reading eeprom earlier. But i don't want application firmware to be involved in reading EEPROM.

    Is there a way using any other debugger tool or software?


    Thanks and Regards,
    Anup
  • Hi Anup,
    Not that I'm aware of any tool to read the EEprom as it is not memory mapped. Whatever tool that will be, needs to configure and initialize the module first and specify the offset address from which to read from.