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: Bootloader to application jump leads to Error.

Part Number: TMS570LC4357


I try to make TMS570LC4357 bootloader. I act as follows, but it occur prefetchEntry Error when I jump to APP_START_ADDRESS(0x00200100).

1. my bootloader Code  based on  TI example 

2. I use sciReg3 communication. I test write bin with ymodem.

3. After the download, I jump to APP_START_ADDRESS(0x00200100). Which project is made with same project and start address shift. 

4. when i jump to addr0x00200100 : prefetchEntry error is occurred.

  

The jump addr code as follows,

JumpAddress = (uint32_t)(APP_START_ADDRESS);
((void (*)(void))JumpAddress)();

I found that the error is happening only with RTOS Code. if its a BareMetal code working fine . when the OS Start Scheduler called that time only my code is not running. if required i can share my both application code and Bootloader code For reference. the same Application code which i commented the OS Start Scheduler Part and it is running Fine. I think this issues is due to the Vector table Mapping.

I checked the forum and found the following post; I tried the same with my bootloader but received the same error.

e2e.ti.com/.../tms570lc4357-bootloader---appication---application-with-freertos-fails-on-task-creation

feel free to connect with me .

Regards,

Mr.K