AnsweredAssumed Answered

Hardfault during SRAM Code execution

Question asked by n.serina on Oct 14, 2017
Latest reply on Oct 15, 2017 by Clive One


I am using stm32f407 discovery board and when i tried to execute the code stored in the SRAM i am getting hardfault exception . the instructions are indeed valid. 

i have attached the screenshot which shows the PC, SP, and disassembly code. please help me solve this issue. 

In this window the processor is ready to execute the PUSH instruction  , and when i hit "step in" button i goes to hardfault handler. 

This is the debugger window just before the hardfault exception trigger