Skip to main content
litus0801
Associate III
February 22, 2010
Question

HardFaultException

  • February 22, 2010
  • 2 replies
  • 713 views
Posted on February 22, 2010 at 20:36

HardFaultException

    This topic has been closed for replies.

    2 replies

    daviddavid943
    Visitor II
    May 17, 2011
    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.

    chanwaijye
    Visitor II
    May 17, 2011
    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