Quality RTOS & Embedded Software

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


Loading

STR9 IAR Port - CSTACK Pointer out of Range

Posted by Nickk on October 28, 2009
Hi,

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.

Thanks,
Nick.

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

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

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

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.


Careers

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

Renesas

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