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.

LAUNCHXL-F2800157: Flash Assertion after porting code

Part Number: LAUNCHXL-F2800157
Other Parts Discussed in Thread: TMS320F2800157

Hi,

I ported some code from an STM32 project (that not contain any STM32 specific-code in it) to C2000 for the TMS320F2800157 MCU. Once I fixed all the errors and the ran the code, however, it was failing the assert on the ASSERT(Flash_isECCBaseValid(eccBase)); check which runs before my ported code runs. Any reason for this? Is this assertion supposed to signal something else wrong with my ported code that wouldn't be caught by the compiler? If I comment out the initialization of the code I ported in main, then the assertion passes. 

Thanks.