+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Junior Member level 3
    Points: 1,101, Level: 7

    Join Date
    Jun 2013
    Posts
    29
    Helped
    0 / 0
    Points
    1,101
    Level
    7

    hard fault error stm32 while transfer with UART (Stm32F0 )

    My program will stop sending the serial while transmit UART .
    It go to hard fault error interrupt .

    What is the cause and how can I fix it?

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 250,728, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,653
    Helped
    13276 / 13276
    Points
    250,728
    Level
    100

    Re: hard fault error stm32 while transfer with UART (Stm32F0 )

    Hard fault is related to external bus interface (FSMC) access, e.g. accessing not enabled memory range etc. Debugger can show you which instruction is causing the fault.



    •   AltAdvertisment

        
       

  3. #3
    Advanced Member level 5
    Points: 8,793, Level: 22
    Achievements:
    7 years registered
    Easyrider83's Avatar
    Join Date
    Oct 2011
    Location
    Tallinn, Estonia
    Posts
    1,558
    Helped
    355 / 355
    Points
    8,793
    Level
    22

    Re: hard fault error stm32 while transfer with UART (Stm32F0 )

    No point to give any advices without reviewing the code.
    Love me or hate me. All infractions will be ignored.



--[[ ]]--