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.

CCS/TMS570LC4357: TMS570LC4357: bootloader application jump leads to prefetchEntry

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hi community,

Recently I am working on the UART boot loader on TMS570LC4357. I found a example here https://e2e.ti.com/support/microcontrollers/hercules/f/312/p/699892/2605850?tisearch=e2e-sitesearch&keymatch=TMS570LC4357%20UART%20bootloader#2605850 

here is the bootloader preject.7180.TMS570LC4357_UART_Boot.rar

The example boot loader works fine. But, when execution jumps to the applications, the  prefetchEntry loops forever.

JumpAddress = (uint32_t)APP_START_ADDRESS; // #define APP_START_ADDRESS   0x00200100
((void (*)(void))JumpAddress)();

I try to modify the link file of the application projects, but prefetchEntry loops all the same. Are there some manuals guiding to modify the link file both bootlaoder and application project?

Here are my application projects, one with FreeRTOS and the other without.

7206.TMS570LC_TestWithFreeRTOS.rar

5635.TMS570LC_TestRare.rar

HalCoGen version is 4.07.01, those projects are tested with hercules HDK