I have a situation where occasionally one of my tasks locks up (in the sense that it no longer hits my watchdog). I am using an older version of FreeRTOS - 6.1.0 - Cortex M3/4 Port.
I want to try to use the TCB to find where the task is stuck. My higher priority tasks come in, and one of those detects that the lower priority task is stuck (wdog monitor). In the particular task in question there is minimial use of mutexes (just one used carefully as far as I can see). So I don’t believe at this stage that it is a deadlock situation. It would be great therefore if my high priority task - which survives - could use the TCB of the stuck task to show me the PC address of the task which is stuck.
(I have no sophisticated trace tools and am not using an ETM or anything).
Thanks for your help or suggestions.