I’ve set an alarm message that the device sends if one of the RTOS tasks has a low stack value (<50). That way I receive JSON with pairs “pcTaskGetName”: “uxTaskGetStackHighWaterMark”. And I periodically receive these messages:
But the original name of the task that “C” in the message is “Leds”. After sending this JSON the system goes into a hard fault exception.
I’m a rookie with FreeRTOS, so I got no idea what leads to this behavior. I can just assume that smth goes wrong with TCB, somehow it got overwritten.
Can anyone lead me to find out what’s going on?