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.

TMS570LS3134: FEE driver operation

Part Number: TMS570LS3134
Other Parts Discussed in Thread: HALCOGEN

Hi,

My customer using HalCoGen FEE driver and has below questions.

Suppose FEE driver tries to Block Write and there are not enough space in current sector,
the driver does followings;
(i) erase next sector
(ii) block write
(iii) copy valid blocks to next sector

1) If power is lost at step (iii) above, after reboot, TI_Fee_Init() returns “JOB_PENDING”.
In such scenario, is there any way to recover? Erasing the sector is only option?

2) Are there any other scenario TI_Fee_Init() returns “JOB_PENDING”?
Could you tell me the conditions and how to recover?

3) Are there any conditions TI_Fee_Init() returns other than “JOB_OK” or “JOB_PENDING”?
Could you tell me the conditions and how to recover?

Thanks and regards,
Koichiro Tashiro

  • Hi Koichiro,

    I will forward your question to our FEE developer. 

  • Hi Koichiro,

    Below are answers:

    1)In the case of power loss during sector copy, TI_Fee_Init will return JOB_PENDING. In this case, erasing of sectors does not happen. When TI_Main_Function is called, remaining valid blocks will be copied to new sector and the job result will get updated to JOB_OK. 

    2)TI_Fee_Init will return JOB_PENDING only if there is a power loss during copy operation. This is not an error case. Calling TI_Fee_MainFunction will copy the remaining valid blocks and hob result will change to JOB_OK.

    3)In case of s sector header corruption(Two Active Sector/Two Copy Sectors) or in case of wait states not configured correctly or in case FEE is not able to erase a sector(on a fresh silicon), TI_Fee_Init will return JOB_FAILED.

    In TI FEE user guide, refer 4.1.