rust-embedded / cortex-m-semihosting

Semihosting for ARM Cortex-M processors
Apache License 2.0
40 stars 19 forks source link

JLink debuggers #38

Closed nickray closed 5 years ago

nickray commented 5 years ago

I have run into the issue that https://github.com/rust-embedded/cortex-m-semihosting/pull/35 was meant to fix.

Environment:

Example: https://github.com/nickray/lpc55s6x-hal/blob/master/examples/semihosting.rs

(gdb) c
Continuing.
uuid = [panicked at '
Program received signal SIGTRAP, Trace/breakpoint trap.
0x000024ae in __bkpt ()

For now, the fix in that pull request fixed it:

(gdb) c
Continuing.
uuid = [c8ded018, 55025d23, 906643bc, 3e3c4a61]

Using openocd is not an option, as it currently has no support for the chip AFAIK.

nickray commented 5 years ago

Closing as my PR was merged.