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.

TMS570LC4357: F021 Flash API problem

Other Parts Discussed in Thread: TMS570LC4357

Hello,


I use F021 flash API V02.01.00 on TMS570LC4357 but I have a problem to initialize Flash Banks.

When I call the Fapi_initializeFlashBanks() function with HCLK freq=150Mhz and 3 Wait States, I get the return code Fapi_Error_OtpChecksumMismatch.

I have ever used the same library and code on TMS570LS4357 without problem.

Is there a problem of compatibilty with F021 flash API on TMS570LC4357 ?

Thanks

  • NC,

    On TMS570LC4357, please make sure that "F021_API_CortexR4_BE_L2FMC.lib" library is used.

    Thanks and regards,

    Zhaohong

  • Zhaohong,

    I used F021_API_CortexR4_BE_L2FMC_V3D16.lib because I was compiling with floating point.

    However I tried with F021_API_CortexR4_BE_L2FMC.lib without floating point but I have the same error with Fapi_initializeFlashBanks() function:  Fapi_Error_OtpChecksumMismatch.

    Thanks for your help.

    NC

  • Sorry, I had a problem with ccs and I didn't include the library I believed.

    It works fine with F021_API_CortexR4_BE_L2FMC_V3D16.library.

    Thanks.