This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RTT Logging is causing lags and WDT Resets

I have a freeRTOS based system and my Logging Thread, which is based on the examples has odd behviour when used in conjunction with the WDT.   When I first program the board, the RTT Logging seems to lag, causing the WDT to not re-feed.  Causing a System Reset.   Why would the Segger RTT cause the system to halt for a few seconds upon the first programming?  After the reset, the System runs fine.  Obviously this is just for debugging, but need to verify it not a symptom of another underlying issue.

Parents Reply
  • I've made sure that I'm not using Blocking mode in my sdk_config.h.  But still the WDT module won't feed.  I've tried placing the WDT feed in a task with a higher priorty than the Logging thread, but its still getting blocked.  Which means its happening in the backend module somehow.

    Oddly its only an issue after each programming, but if I restart the debug from the IDE is runs fine.  Could it be a JLink driver issue?

Children
Related