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.