Quality RTOS & Embedded Software

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




Loading

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 ]    [ 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