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] [August 2013 Threads] event object parameterPosted by abi01 on August 11, 2013 Hi, all IDEs (for example IAR Embedded Workbench) support so called parameter 'Event Object' inside tasks window. They describe it as a name of the resource that has caused the task to be blocked. For example, task can be moved into the block state due to vTaskDelay() call. So my question is, which kernel object indicates the resource that puts the task into the block state? In previous described example, I would like to show vTaskDelay() as a resource that puts task into the block state.
RE: event object parameterPosted by Dave on August 12, 2013 I've used a lot of IDEs and have not come across what you are describing. In IAR there is no tasks window. The compiler does not know about the RTOS, but it does provide an API that allows vendors to write extensions that do, but each vendor has their own and so decides how the information shown will be provided. FreeRTOS has the IAR StateViewer for this.
Normally to know the path a function took to get to a location you would inspect the stack frame.
RE: event object parameterPosted by Richard on August 12, 2013 In the StateViewer you can see the address of the object on which a task is blocked. If you use the queue registry then you can assign a name to the object too to make it easier. The objects themselves can be seen in the queue window. If there NULL is shown in place of an event object then the task is blocked on vTaskDelay() or vTaskDelayUnitl().
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|