Debugging hard fault

Sysprogs forums Forums VisualGDB Debugging hard fault

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13606
    Jumshed
    Participant

    I am running Visualgdb for STM32F777. I am getting a hard fault. Could you please help me, how can I find the instruction which generated this fault using Visualgdb.

    Thanks,

    #13609
    support
    Keymaster

    Hi,

    You can use the Call Stack window to see the code that triggered the hard fault (unless the stack got corrupt or the stack pointer is set incorrectly). In the latter case please try simply putting a breakpoint in Reset_Handler and stepping through the initialization code to discover the line triggering the hard fault.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.