Quality RTOS & Embedded Software

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




Loading

idle task not number 0 in vTaskStartTrace

Posted by Chris on May 26, 2011
Does it make since for the idle task to not show up as number zero as stated on the FreeRTOS site? I create two tasks and then start the scheduler. When I do a task trace the results were very puzzling at first. I've confirmed the ordering by using vTaskList.

RE: idle task not number 0 in vTaskStartTrace

Posted by Richard on May 26, 2011
The idle task is the last task to be created (unless timers are also being used). I would therefore not expect it to every have a task number of 0.

Originally, in very old versions of FreeRTOS, the idle task was the first to be created. Then, it would be number 0. I suspect the web page you are referring to was correct at that time, but is no longer correct. I would be grateful if you could post the URL of the offending page so I can ensure it gets updated. Thanks.

Regards.

RE: idle task not number 0 in vTaskStartTrace

Posted by Chris on May 26, 2011
http://www.freertos.org/a00086.html

Just below the task chart.


[ 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