Quality RTOS & Embedded Software

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


Task control block of the task duplicated multiple times

Posted by jaswanthkamadan on June 15, 2017

Hi All,

I am using MC9S12XET256MAG contoller with free rtos version of 8.0.1. with code warrior 5.1. while debugging i found that two TCB(task control block) is available in the multiple location of the heap.

Is this expected? one more thing is i am using heap_4.c file.

Thanks & Regards Jaswanth

Task control block of the task duplicated multiple times

Posted by rtel on June 15, 2017

Each task has its own task control block, and if you create the task using the xTaskCreate() API function (as opposed to xTaskCreateStatic()) the memory will come from the heap. So I would expect the TCBs to be in the heap.

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

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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner