I'am trying to run a RTOS on my STM32F407VGT6 board. I downloaded the demo CORTEX_M4F_STM32F407ZG-SK from freeRTOS website and flashed the code using IAR IDE, however the leds are not blinking as expected. while debugging the program i found that the program crashes here:
vPortStartFirstTask ldr r0, =0xE000ED08 ldr r0, [r0] ldr r0, [r0] msr msp, r0 cpsie i cpsie f dsb isb svc 0 // The program crashes here!!!!
I made some research in freeRTOS FAQ, the section "The application I created compiles, but does not run" seems to treat the same issue but
#define vPortSVCHandler SVC_Handler #define xPortPendSVHandler PendSV_Handler #define xPortSysTickHandler SysTick_Handler
exists in FreeRTOSConfig.h file. Does anyone faced the same issue? or the RTOS that I'am using is not the right one?