Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pendsv_nlr_jump hard faults  #315

Closed
Closed
@iabdalkader

Description

@iabdalkader

pressing Ctrl-C hard faults... example code:

While (True):
  pass

gdb backtrace

HardFault_Handler () at stm32fxxx_it.c:84
84    }
(gdb) backtrace 
#0  HardFault_Handler () at stm32fxxx_it.c:84
#1  <signal handler called>
#2  0x2001fcd0 in ?? ()
#3  0x080410f8 in PendSV_Handler () at stm32fxxx_it.c:155
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Sometimes it takes more than one try, but calling pendsv_nlr_jump from USB IRQ handler always faults.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugportsRelates to multiple ports, or a new/proposed port

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions