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 blocks not readable or writable after several write or read operations : JOB_FAILED

Part Number: TMS570LS3137

Tool/software:

Hi,

Regarding the FEE component from the TMS570LS3137, we have following setup :

- 4 blocks of data (1 : 160 data bytes / 2 : 728 / 3: 8 / 4 : 8)

- Use 2 Virtual Sector : (2x8 Kbyte each)

We are always using Synchronous operations to read or write (TI_Fee_WriteSync / TI_Fee_ReadSync)

We manage to use them properly to save data, we can see the blocks incremented in the memory (new valid then old invalid), virtual sector changed until a point where end of Virtual sector 2 is reached (at 0xF208000), we cannot access the block anymore. Any Read or Write is failing.

The exact behavior is that for example the results of TI_Fee_WriteSync/TI_Fee_ReadSync is E_NOT_OK.

When stepping into one of those function, we can see following status regarding TI_Fee_GlobalVariables structures : 

We got this Fee Error : Error_Nil, not sure what are the impact.

and with local data at following status : 

Any ideas about why we cannot write or read the FEE at some point (Virtual sector are frozen, configuration not completely correct,...) ? 

Note : Also a power reset do not change anything of the behavior (only a complete erase of the FEE allows to work again with it properly)

Thank you !

Regards,

Marc

  • Hi again,

    Sorry in my previous description, I made a mistake in the description "...point where end of Virtual sector 2 is reached (at 0xF208000)" --> I meant Virtual Sector 1. Indeed we are using the 64KB of or Flash in 2 virtual sectors (2*16Kb each). So the copy from Virtual sector 1 to 2 seems to not work.

    When we have finished to fill the 1st virtual sector of 32Kb, we can see that virtual sector 2 takes the status "Copy Virutal Sector"

    But the Copy seems to not end ?.... and the Virutal sector 1 remains the active one and no more write or read operation are possible.

    Regards,

    Marc

  • Hello again,

    So for the story it seems it was a mistake on my side for not calling the TI_Fee_MainFunction() function as periodic intervals to manage the Virtual sectors changes (copy, erase, invalid,...). I though somehow that using only synchro read write operation will also handle the virtual sectors changes but from the FEE manual, we need to call it. Especially the TI_FeeInternal_FeeManager which will copy and erase from one virtual sector to an other.

    Now, I see correctly that when fill up, my first virtual sectors has been erased : 

    And my 2nd virtual sector from address 0xF0208000 is the active one with my valid blocks written inside.

    Regards,

    Marc