Tool/software: TI C/C++ Compiler
Hello,
I am working on a boot-loader for my F28.
Basically, and based to other ticket on this forum, I have two applications, A and B. A needs to jump to B.
A and B are complete separated CCS project. Linker cmd files separate clearly memory area, and B FLASH sections is (RX) from the A.cmd file. I checked also with a readelf that every symbol from B where properly placed in the correct flash range.
The code to jump from A to B is :
#define C_INT00 0x23A9ED // based on "readelf -s -W B.out | grep _c_int00"
void JumpFromAToB(void)
{
uint32_t jump_addr = C_INT00;
jump_addr |= 0x1;
LOG_STATUS("entry_addr : 0x%08x\n", jump_addr);
((void (*)(void))jump_addr)();
}
When I reboot the board, NOTHING happened. Meaning that I do not have any output on console after the log (which seems correct).
So, I tried to debug this jump to see what happened internally, or at least trying to get some info, and then IT IS WORKING ! Or at least I have some code which is executed from the B part (It seems that I have issues with some drivers).
What can I do to analyze a bit further the situation ?
It seems that bootload is not so used with a F28, does anyone have an example or something functional to analyze ?
Anyone could help on this ?
BR,
T.