cancel
Showing results for 
Search instead for 
Did you mean: 

Hardfault

devendra
Associate

Hello all I am facing a issue my program works however when is executes this part it runs only once after that it ran into hard fault. I have attached the snap of structure part of code which cause it and also exception observation please let me know if you do have any suggestion.

 

devendra_0-1730998040941.pngdevendra_1-1730998061085.jpegdevendra_2-1730998106266.pngdevendra_3-1730998124147.jpeg

 

1 REPLY 1
Andrew Neil
Evangelist III

On debugging Hard Faults - both Cortex-M in general, and STM32 in particular:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/708193/highlight/true#M51

 

and please scroll to the top of that thread for how to properly post source code - not as images ...