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/TMS570LS0432: EEPROM with F021 library on TMS570LS0432

Part Number: TMS570LS0432
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello,

I am trying to use the F021 library in order to save data to the EEPROM on my TMS570LS0432 launch-pad and I cannot make it happen. I've tried in different ways, this is a piece of code:

I've checked the addresses of the EEPROM in halcogen:

And I followed the steps from the Reference Manual:

Also this is the CPU freq that is currently configured:

The library is linked and installed correctly, if I read the status of the functions involved in the initialization process as well as the write and read, it says "Fapi_Status_Succes".

I also tried the flow-chart steps from the advanced manual:

Using the control registers(some code examples are presented also in the advanced manual) of the Flash State Machine in order to write and read, I managed to write in FWPWRITEx registers but when I checked the address at which the value was written, it was a random/default address and it did not take into consideration that I've set the FADDR register as 0xF0200000 and it seems that default address is not from the EEPROM bank's memory.

So neither of the methods worked. Please give some advice by checking what is wrong in my code.

Regards,

Ciprian.