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.

TMS570LS0914: Bootloader can't start application

Part Number: TMS570LS0914

Tool/software:

Hi,

I developed a booloader, based on openbtl. The flash process works. The content of the sreg file is placed to following locations:
0x10000 - 0x1001F: vector table
0x10020 - 0x1004F:  checksum
0x10050 -  xxxxxxx : application
After successful verification of the checksum, the bootloader initiates a sw reset (systemREG1->SYSECR = 0x00008000UL;) and catches it in sys_startup.c where it attempts to start the application:
uint32_t startAddr = 0x10000;
((void (*)(void)) startAddr)();
The bootloader throws an undefined instruction exception.
I wonder what I am missing …

Best Regards,
Juergen