cancel
Showing results for 
Search instead for 
Did you mean: 

HardFaultException

litus0801
Associate II
Posted on February 22, 2010 at 20:36

HardFaultException

2 REPLIES 2
chanwaijye
Associate
Posted on May 17, 2011 at 13:41

1. check the ISRs.

2. check the source of HardFault interrupt. see this thread:

https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/DispForm.aspx?ID=2266

daviddavid943
Associate
Posted on May 17, 2011 at 13:41

if the hard fault occurs within HD44780_PowerUpInit(); then it's pretty difficult to guess.

If the hard fault occurs when you call HD44780_PowerUpInit(); then check the address of HD44780_PowerUpInit either by looking at the assembler listing or by casting it to a u32 and outputting. You could also check the map file. Check if this address is within a valid region of memory.