Part Number: TMS320F28335
Hello,
i am debugging my custom flash bootloader for a tms320f28835. I put the bootloader in sector a and the application code in section efg. I put in the bootloader an init code for the hw and a assembly jump to the start address of main application code as below:
.def _jumpToAppEntry
.global __jumpToAppEntry
.text
_jumpToAppEntry:
SETC INTM;
ZAPA;
MOV @SP,#0;
PUSH ACC;
PUSH AL;
MOV AL, #0x0a08;
PUSH AL;
MOVL XAR7, #0x309dbc;
PUSH XAR7;
POP RPC;
POP ST1;
POP ST0;
POP IER;
POP DBGIER;
LRETR;
For the debug I used 0x309dbc which is the address of the symbol entry point in the map file of application code.
From the disassembly the bootlaoder seems to jump to the start address of the main application code but I do not see the debug printf I put in it to verify the correct execution of the software. Where am I mistaken?
regards