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

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

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.