FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2016 Threads]
My application uses 9 tasks - one of which is what I referr to as a general Mananagement task. It controls time related functions.
This task is linked to the RTOS via a call to xQueueReceive with a timeout of 1.
Within the the overall xQueueReceive loop -- it may also call a vTaskDelay.
This task has stopped running and my issue is I don't know where it is. --- most likely wating in a QueueReceive - which should return every tic as long as no higher priority task is running -- which I know time is available since I can break into the idle task..
I can break on another task and walk it into the FreeRtos tsak manager -- but I not sure the best way to see/identify where my task in question is and why it's not running.
Any debugging advice is welcome.
Thanks.
Joe
Have you tried running with FreeRTOS+Trace?
(http://www.freertos.org/trace) You will be able to look in the time
trace view to see what the task is blocked on. Alternatively, if you
are using an IDE that has a StateViewer plug-in you will be able to see
the handle of the object the task is blocked on. Which IDE are you
using? Some have more sophisticated thread aware capabilities.
I'm using Crossworks by Rowley
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.