2010-02-22 11:36 AM
HardFaultException
2011-05-17 04:41 AM
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
2011-05-17 04:41 AM
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.