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.

TMS570LS3137: FEE EEPROM on bank 7 and flash api operations on flash bank 0

Part Number: TMS570LS3137


Hi,

Here is what I observe:

- TI_FEE_Init() is called in main() at startup. I perform TI_FEE EEPROM related read and write operations and all these work well.

- Later I perform erase and program operations on bank 0. all these work well.

- Later I need to write to TI FEE EEPROM again. This time I get reset or arm exception.

however If I call TI_FEE_Init() before this EEPROM write operation, I avoid reset or arm exception.

So, calling TI_FEE_Init() again before EEPROM write operation is the trick I have found so far. Is this by design ? This makes me reach to the conclusion that :

"after performing flash api operations on bank 0 or 1, you need to call ti_fee_init() again if you want to write to EEPROm on bank 7. (even though you had already called ti_fee_init in main())"

Are the observation above and my conclusion make sense? Is my conclusion right?

If not, what is the culprit?

thanks,