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: Prefetch abort at FEE write operation when the code is changed.

Part Number: TMS570LC4357

Tool/software:

Hello,

Normally I can use TI FEE write operation without a problem. But whenever I change something in the code that is unrelated to the FEE code the write function causes a prefetch abort at (0xF0200578). I realized that it works fine if the loaded code size (.text) is some particular value lets say 0x455b0. And in the not-working code the loaded code size is less than it for example 0x37e84. Even though a small change in the code is applied, the loaded code in the debugger changes like 49kB.

When I look at the linker map file. I realized that there is an extra line in the segment allocation  map between .text and .const lines in the not working code. So the FEE_TEXT_SECTION and FEE_CONST_SECTION look like not loaded. I could not share screenshots because of the network.

I am not using any OS. I am trying to write to Bank-7.

I would be very grateful if you can help me with this issue.

Thanks,
Best regards

  • Hi Bilal,

    I am suspecting that this issue might be due to incorrect placement of FEE sections in the flash memory. However, debugging this issue requires code. Is it at least possible to share one demo project with this issue for quick debugging from my end.

    --
    Thanks & regards,
    Jagadish.