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.

TMS570LS3137: UART Bootloader - fails during Flash erase

Part Number: TMS570LS3137

Hi everybody,

I am trying for UART boot loader with the example files given for HDK board with F021 Flash API.  When I ported it to my custom board with LQFP 144, the code crashes during FLASH erase -  the control resides in the sys_intvecs.asm in the following location.

prefetchEntry
b prefetchEntry

Please guide us on the reason.  We are using XDS100 to debug.

Regards,

Unmai.

  • Hello Unmai,

    Before porting to your custom board, did the UART based boot loader work OK?

    If so, have you made all adjustments to eliminate accesses to IP or memory that is not included in the 144 pin TQFP device that is included in the 337 PBGA. You also may want to visit the clock configuration as this may also be different between the two packages.
  • Hi Unmai,

    We need more information to help you debug the code. Please add breakpoints in your code to find which statement or function causes the prefetch exception.

    Also please provide the values of CP15 registers. for example