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.

Tiva Launchpad EEPROM

Other Parts Discussed in Thread: TM4C123GH6PM

Hi TI:

Simple question.

I have a Tiva Launchpad TM4C123GH6PM board.

I have a need to use the EEPROM and I can't find any definitions for this. 

When I look at the example for TMDXDOCKH52C1 in TMDXDOCKH52C1.h, I find these defines...

#define TMDXDOCKH52C1_EEPROMADDRESS       0x50

#define TMDXDOCKH52C1_EEPROMPAGESIZE      64

#define TMDXDOCKH52C1_EEPROMADDRESSIZE    2

#define TMDXDOCKH52C1_EEPROMSTARTADDR     0

Also, I'm expecting to find something like: Board_EEPROMSTARTADDR in Boards.h; but, that is not there either.

As I read the documentation, it seems like my Tiva should have a 2K EEPROM. 

Did I miss something or are the EEPROM definitions still trying to catch up with this board?

Thank you very much for your help.

Rick

 

 

  • Hi Rick,

    The definitions you see above for TMDXDOCKH52C1 won't work for you, as that device has an external I2C EEPROM.  The device you are using has an internal EEPROM.

    For your device, you should try using the TivaWare EEPROM APIs.  These are shipped with TI-RTOS.  For example, see this file:

    C:\TI\tirtos_1_10_00_23\products\TivaWare_C_Series-1.0\driverlib\eeprom.h

    Please note however, that those APIs are not thread safe/reentrant.

    Steve

  • Hi Steve:

    I was aware that TMDXDOCKH52C1 wouldn't work for me; but, I was trying to find sample code in which to try to apply to the Tiva board.  If this is how it works over here, can I also apply it to Tiva...

    I did see the eeprom.h file; but, I really wasn't sure how to connect all of the pieces.

    Thank you for pointing me in the right direction.  Nice to know that this not thread safe. 

    Rick