Sometimes hitting assert in FreeRTOS vTaskStepTick(). Potential timing susceptibility in SuppressTicksAndSleep_RTC() ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-20 2:21 PM
We are very rarely hitting an assert in vTaskStepTick() due to the sleep period being longer than expected. This looks like it could be due to a timing susceptibility in the kernel but that may be due to my own misunderstanding or something that we have done wrong. The target is an STM32L1 and we're using TrueStudio 9.2.0.
We have the watchdog disabled and I have a unit that has locked up due to hitting the assert in vTaskStepTick() and I have hot connected to it with the debugger to analyze the call stack, which I have described here in order to easily show all of the screencaps from TrueStudio: https://docs.google.com/document/d/1BlFnEj5G2aWgIHgNeg_0CsHc6fpi8DXHWNL95ia_NNc/edit?usp=sharing
Solved! Go to Solution.
- Labels:
-
FreeRTOS
-
Power
-
STM32L1 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 6:59 AM
Sorry for the trouble, disregard this post. We now believe this code may have been modified and that might be the root cause. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 6:59 AM
Sorry for the trouble, disregard this post. We now believe this code may have been modified and that might be the root cause. Thanks!
