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.

TMS570LS1224: Flash in bank 7(EEPROM) and copy the configuration from EEPROM to RAM

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

Hi, 

I require a mechanism to store configuration in flash memory and frequently copy it to RAM. At the end of each ignition cycle, the updates from RAM need to be stored back into flash memory. However, I understand that frequent erasing and writing operations are not recommended for flash memory. Instead, EEPROM should be used for such purposes.

Could you please advise if I can utilize the same FAPI commands that I currently use for erasing and writing in flash for EEPROM? Additionally, I would appreciate detailed guidance on how to copy the code from EEPROM to RAM since i'm new to this.

Thank you.

  • Hi Vidya,

    Can you please refer the FEE (Flash Emulated EEPROM) example available in HALCoGen "Help Topics" section.

    And also refer TI FEE user guide to understand more about flash emulated EEPROM.

    7711.TI FEE User Guide.pdf

    Once you understand above user guide well then you can understand how to write data to the EEPROM and how to read the data from EEPROM.

    Once you understand that you can easily understand this example code:

    Here using TI_Fee_WriteSync function we are moving the data in the RAM buffer to the EEPROM and similarly using TI_Fee_Read function we are moving the data from EEPROM to the RAM.

    --
    Thanks & regards,
    Jagadish.