Quality RTOS & Embedded Software

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




Loading

Trace and List Facility

Posted by Nobody/Anonymous on October 27, 2005
Can the trace and list facility list to the same buffer or do
they need to have separate buffers?

Thanks.

RE: Trace and List Facility

Posted by Nobody/Anonymous on October 27, 2005
They can be the same buffer (but obviously not used at the same time :-).

RE: Trace and List Facility

Posted by Nobody/Anonymous on October 28, 2005
Can you use vTaskList() without running vTaskStartTrace()?
(as long as everything else is enabled?)

RE: Trace and List Facility

Posted by Nobody/Anonymous on October 28, 2005
The WEB server demos do exactly this to generate a page that shows the current tasks and their states - so the answer is yes.

There is a caveat in that listing the tasks leaves interrupts disabled for longer than would normally be advisable so this is good for getting debug information and demonstration but is not good for production systems. I think this is to capture a snapshot of the state the state cannot change while the sprintf's are being called so interrupts have to be disabled while the whole table is generated.


[ 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