Skip to content

Instantly share code, notes, and snippets.

@kirberich
Created February 4, 2019 20:39
Show Gist options
  • Save kirberich/7cdea948de607b020f14f8d6fb1d0348 to your computer and use it in GitHub Desktop.
Save kirberich/7cdea948de607b020f14f8d6fb1d0348 to your computer and use it in GitHub Desktop.
(gdb) target extended-remote /dev/cu.usbmodemC1E2B7EE1
Remote debugging using /dev/cu.usbmodemC1E2B7EE1
(gdb) monitor swdp_scan
Target voltage: 3.3V
Available Targets:
No. Att Driver
1 ARM Cortex-M
(gdb) attach 1
Attaching to program: /Users/private/Dropbox/Code/blackmagic_test/.pioenvs/due/firmware.elf, Remote target
(gdb) Attaching to Remote target failed
(gdb) monitor connect_srst enable
(gdb) monitor swdp_scan
Target voltage: 3.3V
SW-DP scan failed!
(gdb) monitor connect_srst disable
(gdb) monitor swdp_scan
Target voltage: 3.3V
Available Targets:
No. Att Driver
1 (gdb) ARM Cortex-M
(gdb) attach 1
Attaching to program: /Users/private/Dropbox/Code/blackmagic_test/.pioenvs/due/firmware.elf, Remote target
(gdb) Attaching to Remote target failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment