Tmr Svc appears to stop working and threads waiting for event bits become non-responsive - How should I debug this?

Hi @arnold_w, there are a few things to check.

  • What is the definition of configASSERT()?
  • What is the definition of configCHECK_FOR_STACK_OVERFLOW?
  • How does configTIMER_TASK_PRIORITY compare to the priorities of your own tasks?
  • Have you provided a malloc-failed hook?

This post has some helpful links for the above questions.

In your case I would add an auto-reload timer to determine if the Timer task is still working. (The debugger doesn’t seem to be helping you determine that.) So when your app hangs, put a breakpoint in the callback function for your auto-reload timer. If your callback executes, the timer task is still working.