Quality RTOS & Embedded Software

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


BUG in vTaskList

Posted by Philip Quaife on April 4, 2008
FreeRTOS 4.7.x port dsPIC

The highwater mark field does not work for processors that have
portSTACK_GROWTH == 1.

There is no work around as the tasks stack length is not stored in the TCB structure.

I have modified my copy to do so and also added a function to return current stack hw mark

As a side note:
Blowing the stack is a common problem during embedded development and is a common source of hard to find errors.
FreeRTOS would be a better product with better stack monitoring or checking facilites ( like RTEMS for example).


RE: BUG in vTaskList

Posted by Dave on April 4, 2008
From the WEB site-

"Note that these options are only available on architectures where the memory map is not segmented and the stack grows down from high memory. Also, some processors could generate a fault or exception in response to a stack corruption before the kernel overflow check can occur"

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

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

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

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

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

Cadence Tensilica Cortes

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