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.

TMS570LS1114 TI FEE eeprom initalization

Other Parts Discussed in Thread: TMS570LS1114, HALCOGEN, TMS570LC4357

Hello,

I try to use the Flash EEPROM Emulation of the TMS570LS1114 device.

The HalCoGen (Version 04.03.00) generates the code for the access and the code of example_TI_Fee_Write_Read.c is copied into the ccs-project and the F021_API_CortexR4_BE_L2FMC_V3D16.lib is linked at the project settings.
 The programm execution is stopped at the loop after the call of TI_Fee_Init(). The Status variable contains the value UNINIT.

I have searched for problems in the function TI_Fee_Init. At line 578 (ti_fee_ini.c) the function Fapi_initializeFlashBanks((uint32)TI_FEE_OPERATING_FREQUENCY)) returns the Fapi_StatusType Fapi_Error_OtpChecksumMismatch.

The HalCoGen Settings of the FEE are the default values.

Has anybody an idea to solve the problem?

sys_main.c

void main(void)

{

[...]

    /* Initialize FEE. This will create Virtual sectors, initialize global variables etc.*/
    TI_Fee_Init();

    do
    {
        TI_Fee_MainFunction();
        delay();
        Status=TI_Fee_GetStatus(0 );
    }
    while(Status!= IDLE);
[...]

}