Our embedded application keep crashing VListinsertend after some time of operations. FreeRTOS code is generated using CubeMx. What could be the possible issue ?
FreeRTOS 8.2 with heap 4 , Systick timer
osThreadDef(Task1, StartTask1, osPriorityRealtime, 0, 256);
osThreadDef(Task2, StartTask2, osPriorityHigh, 0, 196);
osThreadDef(Task3,StartTask3, osPriorityRealtime, 0, 256);
osThreadDef(Task4, StartTask4, osPriorityAboveNormal, 0, 196);
MicroController is STM32F303CC
256 Kbytes of Flash memory
40 Kbytes of SRAM
What should be the ideal CSTACK and HEAP size for the this kind of applications ?
Custom size cstack and Heap
Can anyone guide us in the right direction on how to find the right size of CSTACK and HEAP for the application ?