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.

CCS/TMS570LC4357: Questions about F021 Flash API program usage

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hi,

we consider using the emulated EEPROM for storing real-time data.

We want to use it as like a counter.

I tried to store in the same address but it seems not working.

Question 1)

Can I use the EEPROM for storing real-time data?

Question 2)

If Question 1 is possible, Can I store data in the same address?

Examples)

  • Hello Seungyong,

    1. You can use EEPROM to store the real time data.

    2. No, you can not store the data in the same address. After flash is erased, the flash content is 0xFFFFFFFF. A user can write a value to flash by changing the bit from 1 to 0. Changing a 0 to 1 is not possible.

    I recommend you to use the FEE driver to write/read data to/from EEPROM (flash bank 7). FEE is generated through the HALCoGen . The user guide of FEE is stored in:

    C:\ti\Hercules\HALCoGen\v04.07.01\Docs