**MicroController is STM32F303CC
**
256 Kbytes of Flash memory
40 Kbytes of SRAM,
Routine booster: 8 Kbytes of SRAM on instruction and data bus, with HW parity check (CCM)
Could be, or it could be one of a number of different things, the level
of detail in your post only allows us to guess.
FreeRTOS 8.2 with heap 4 , Systick timer
I would recommend upgrading to a much newer version of FreeRTOS because
the later the version there more configASSERT()
calls there are to check you are configuring the system correctly. You
may find with a later version of FreeRTOS and configASSERT() defined to
something that halts execution you find the cause of your problem
immediately.
As this is an STM32 did you note the ‘special note for STM32 users’ on
this page: RTOS for ARM Cortex-M that says you
must call NVIC_PriorityGroupConfig( NVIC_PriorityGroup_4 ); before
starting the scheduler?
256 Kbytes of Flash memory
40 Kbytes of SRAM,
Routine booster: 8 Kbytes of SRAM on instruction and data bus, with HW
parity check (CCM)
The cause won’t be one of these as the CStack is only used by interrupts
after the scheduler has started and if you are using heap_4 then the
heap set up by the compiler/linker will only be used if you call
malloc() directly yourself - FreeRTOS won’t call it.