cancel
Showing results for 
Search instead for 
Did you mean: 

Hardfulat dignostics

ezrab
Associate II
Posted on June 03, 2011 at 08:20

hi.

i am having hardfault problem and i would like to find the location.

how can i read the CPU registers and send the throw the uart port?

CPU->PC and etc. does not work.

and is there any way to know the hardfualt reason?

thanks for your help.
1 REPLY 1
Posted on June 03, 2011 at 14:58

Top Google Hit for ''hardfault handler stm32'', Joseph Yiu's solution has also been discussed here on the forum before.

https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/Hard Fault and stack pushing&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E&currentviews=7158

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..