Hello,
I am currently working on a bootloader (not running TI RTOS) to update my main application and then jump to this application with TI RTOS.
My bootloader remaps the interrupt vector to the proxy vector of my application :
- it "copies" the value between 0xFF80 to 0xFFFE of the application inside a proxy vector located between 0xB000 and 0xB07E.
- it sets the values between 0xFF80 and 0xFFFC to the addresses of my proxy vector (i.e. 0xB000 to 0xB07C)
- it jumps to the main application by calling :
(*((void (*)(void))(*(uint16_t *)0xB07E)))();
Which is the reset vector in the proxy interrupt vector for my application.
It seems to jump correctly to the start of my application (0xB200 which is the value in the reset vector of my application) but it is not running correctly...
When I run the application without the bootloader, the main is at 0x19FD0 and not 0xB200, how can I get my jump to start my application ?