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: Random prefetch abort when writing to flash

Part Number: TMS570LS1114

Tool/software:

Hello,

when I flash my firmware over CAN to sector 8 (0x40_000 - 0x60_000-1) I get random prefetch aborts. CAN responses stop and when I pause with debugger I see the current position is in prefetch abort. This does not happen every time, sometimes I can flash the whole sector 8 times without any problems. The problem might be connected to the flash driver (F021_API_CortexR4_BE_V3D16.lib) but I'm not 100% sure here.

I checked the fault registers but it didn't lead to anything so far. What I can check further to locate the problem. If it is the flash driver what I can do to prevent the aborts?

Best regards