Tool/software: Code Composer Studio
I try to make TMS570LC4357 bootloader. I act as follows, but it occur prefetchEntry Error when I jump to APP_START_ADDRESS(0x00200100).
1. I based on https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/3005.TMS570LC4357_5F00_UART_5F00_Boot.7z
2. I use sciReg4 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.
the linker script addr :
VECTORS (X) : origin=0x00200100 length=0x00000020
FLASH1 (RX) : origin=0x00200120 length=0x001FFEE0
STACKS (RW) : origin=0x08000000 length=0x00001500
RAM (RW) : origin=0x08001500 length=0x0007EB00
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 don't know what's problem to just jump to APP_START_ADDRESS.
Regards,
Minwoo