Skip to main content
kchin.2
Associate II
December 23, 2022
Question

Hard fault in HAL_Dealy API

  • December 23, 2022
  • 1 reply
  • 965 views

0693W00000Y6m8FQAR.pngI am getting hard fault in access the HAL_Delay API.

PFA for call stack

can anyone help me on this problem

thanks.

hard fault-->forced hard fault -- undefined instruction error.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    December 23, 2022

    So look at the instruction or PC that's actually faulting.

    Not the C, but the assembler and the registers.

    I'd suppose this is something that's interrupting, and trashing the memory or stack.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..