Quality RTOS & Embedded Software

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


STR9 IAR Port - CSTACK Pointer out of Range

Posted by Nickk on October 28, 2009

I have just tried the STR9 IAR port for FreeRTOS and it works fine. I am trying it in 'ARM - uIP - D' mode at the moment.

When I pause execution, though, I get the following warning in the Debug Log pane:
The stack pointer for stack 'CSTACK' (currently 0x04005FF8) is outside the stack range (0x04013228 to 0x04013428)

The LCD shows:
Check status flag equals 0x10
(which I assume is because I am not testing the COM port).

Really it's the fact the CSTACK pointer is saying that it is out of range that is my concern. I am using IAR EWARM 5.30 Evaluation.

Has anybody else noticed this or is it something peculiar to my set-up? I am also using the Olimex parallel port JTAG debugger with HJTAG.


RE: STR9 IAR Port - CSTACK Pointer out of Range

Posted by woops_ on October 28, 2009
The IDE is telling you the stack pointer is outside the CSTACK segment, but that is expected as it will be pointing to the task stack. The task stack is allocated from the heap.

RE: STR9 IAR Port - CSTACK Pointer out of Range

Posted by Nickk on October 28, 2009
Excellent, of course it is. Thank you so much. Thank you.

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

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