Quality RTOS & Embedded Software

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


No debugging symbols and execution stops at "HardFaultException(void)" function-IAR workbench

Posted by aruns06 on January 1, 2015

Hi, I am trying to run a demo freeRTOS project CORTEXSTM32F103IAR. I was able to compile and upload it in to STM32F1 discovery board. (http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF250863?sc=stm32-discovery). In normal case I have to press the ">>>" go button to start the execution. But in this example the soon after the uploading is completed, it is going to the execution mode, not giving the room to press the go button. When I "Break" the execution, it stops at a function called void HardFaultException(void). The execution never comes out of this function. Any suggestions??? Regards, Arun.S

No debugging symbols and execution stops at "HardFaultException(void)" function-IAR workbench

Posted by davedoors on January 1, 2015

I expect it is trying to run to main() then crashing before it ever gets there. Look in the debug options for the project and uncheck 'run to main' then try again. You should then be able to step through the code to see where it crashes.

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

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

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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