Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

event object parameter

Posted 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 parameter

Posted 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 parameter

Posted 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS