cancel
Showing results for 
Search instead for 
Did you mean: 

Sometimes hitting assert in FreeRTOS vTaskStepTick(). Potential timing susceptibility in SuppressTicksAndSleep_RTC() ?

JEnya
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
JEnya
Associate

Sorry for the trouble, disregard this post. We now believe this code may have been modified and that might be the root cause. Thanks!

View solution in original post

1 REPLY 1
JEnya
Associate

Sorry for the trouble, disregard this post. We now believe this code may have been modified and that might be the root cause. Thanks!