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.

TMS320F2800157-Q1: Bootloader jump to application

Part Number: TMS320F2800157-Q1


Hello,

I am working on designing a bootloader for C2000 F2800157. The bootloader SW is working fine and the FLASH is being programmed properly at the desired address. 

My issue is with jumping to the application after reset. I am getting an ITRAP right after the flashing is done. 

I tried using this assembly code for exiting the bootloader and do the application but it did not work

_jumpToApplication:
SETC INTM;
ZAPA;
MOV @SP,#0;
PUSH ACC;
PUSH AL;
MOV AL, #0x0a08;
PUSH AL;
MOVL XAR7, #0x00084000 ; Application start address
PUSH XAR7;
POP RPC;
POP ST1;
POP ST0;
POP IER;
POP DBGIER;
LRETR;

The application shall be stored in this address #0x00084000.

Would you please help with this issue?

Thanks