Other Parts Discussed in Thread: HALCOGEN
Using part TMS570LS3137, HalCodeGen version 04.07.01, F021 version 2.01.01 against library file F021_API_CortexR4_BE_L2FMC_V3D16_NDS.lib I am unable to initialize the flash. HalCodeGen settings are identical to the linked question with the exception of a HCLK speed of 180.00. I also have a pre-defined symbols set to define _L2FMC for the project. Using the code from the example example_TI_Fee_Write_Read.c I am never able to get an IDLE status from the FEE after calling TI_FEE_INIT(). When diving into the initialization function, I can see that the call to Fapi_initializeFlashBanks returns a value of fapi_Error_OtpChecksumMismatch.