2011-06-02 11:20 PM
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.2011-06-03 05:58 AM
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¤tviews=7158