IDE: keil MDK
I have user bootloader at 0x08000000, and app code at 0x08020000.
Duo to project requirement, I need to run RTX in my bootloader , and can jump to app from bootloader.
Problem is when without enabling RTOS it’s working fine,but once enable the RTOS then the App will not run.
I tried to disable SystemTick Timer so as to stop OS and it was useless .
I disabled all interrupts using __set_FAULTMASK, but it was useless too.
my jump code like bellowings;
if (((*(__IO uint32_t*)APPLICATION_ADDRESS) & 0x2FFE0000 ) == 0x20000000)
JumpAddress = *(__IO uint32_t*) (APPLICATION_ADDRESS+4);
/* Jump to user application */
Jump_To_Application = (pFunction) JumpAddress;
/* Initialize user application's Stack Pointer */
__set_MSP(*(__IO uint32_t*) APPLICATION_ADDRESS);
Are there any suggestions?