AnsweredAssumed Answered

Debuggign FreeRTOS in KDS

Question asked by Ben Griffiths on May 18, 2018
Latest reply on May 29, 2018 by Ben Griffiths

I've got a problem with Free RTOS and the timer service queue gettign full.

 

I'm usign FreeRTOS with Kinetis Design Studio - I have task aware debugging (see below for screenshots).


I've tried increasing the queue length but that doesn't stop the problem.

As I undertsand it the Timer Service queue is for timers waiting to be set, i.e. once a timer has been set it's removed from the queue (regardless of wether the timer has requried). So my thoughts are either:


a - The Timer Service Task is being blocked meanign it can't service the queue
Or
b - We're over-loading the timer task by sendign too many timers at once.

So I have two questions:


1 - Are either of the above theories plausible?
2 - How can I debug the timer task/queue and work out what's causing my issue?


<img src="https://image.ibb.co/fVu1fd/temp1.jpg" alt="temp1" border="0"></a>
<img src="https://image.ibb.co/dAAk6J/temp2.jpg" alt="temp2" border="0"></a>
<img src="https://image.ibb.co/eMEdRJ/temp3.jpg" alt="temp3" border="0"></a>

Attachments

Outcomes