FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2008 Threads] BUG in vTaskListPosted 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).
Cheers.
RE: BUG in vTaskListPosted 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"
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|