Quality RTOS & Embedded Software

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


dump call stack when system crash

Posted by tonyuan on September 1, 2016

Hi there

We are using IAR developing our product. And now we have faced a problem that, our system sometimes hung. We do not know what happened and do not have better way to debug it except using Jlink. But image if this hung problem happens in the field, and we can not use Jlink to debug, we can do nothing about that. So now we are trying to develop a new feature. If the system hung, we dump the stack to flash, then we can try to analyse the static stack and find the function call path. So here is the question, can FreeRtos help us to decode the static stack to function call path? Or is there some way that we can analyse the stack dynamicly when system hung and dump the function call path to flash?

dump call stack when system crash

Posted by rtel on September 1, 2016

You will need to refer to both the hardware and compiler (IAR) manuals to work out how to interpret the stack.

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

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.


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


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