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.

TMS570LS10106: F035 flash programing API - the API throw undefine exception and hangs.

Part Number: TMS570LS10106


I want to erease and program other sections of the flash from section 0 bank 0, What I noticed is the only API function working as it should is Fapi_getApiVersion32, other functions hanging and when I debug the code notices they end up in a exception handler named as undef instruction. To be clear, I disabled all interrupts and ECC; I have 140MHz clk,and parameter delay is 70 in erase and progam function call.

Somewhere I read that to erase a section in flashyou have to call the api code from different bank or RAM, is it correct? If not what can be the problem?