Other Parts Discussed in Thread: SYSCONFIG
Hi,
I am trying to develop a custom bootloader. I am using SDK 3.40. The bootloader is based on the nvsinternal example project. I am using the default memory
map for the bootloader and am using TI-RTOS.
My application is also using TI-RTOS. The FLASH_BASE address has been changed from 0x0 to 0x12000 in my .cmd file. In the .cfg file for the TI-RTOS project
I have added:
m3Hwi.resetVectorAddress = 0x12000;
and commented out:
//var ROM = xdc.useModule('ti.sysbios.rom.ROM'); //ROM.romName = ROM.CC13X2V2;
The link map for my application looks fine. In my bootloader I added:
void (*func_ptr)(void) = 0x1cbd9; (*func_ptr)();
When using the above jump address (address of _c_int00) it does jump there but ends up with an invalid PC exception at a different address. I also tried jumping directly to
the ResetISR address (0x12000) and it encountered an invalid state error at that address.
Is there something else I need to do in order to jump from one TI-RTOS application (bootloader) and jump to another application and re-initialize from scratch?
Victor