Skip to content

Instantly share code, notes, and snippets.

@ladislas
Created January 7, 2020 10:40
Show Gist options
  • Save ladislas/e46b44f9bd82915216b94a9331fb41fa to your computer and use it in GitHub Desktop.
Save ladislas/e46b44f9bd82915216b94a9331fb41fa to your computer and use it in GitHub Desktop.
/usr/local/bin/openocd \
-f /usr/local/Cellar/open-ocd/HEAD-db23c13/share/openocd/scripts/board/st_nucleo_wb55.cfg \
-f /usr/local/Cellar/open-ocd/HEAD-db23c13/share/openocd/scripts/interface/stlink-v2-1.cfg \
-c init \
-c "reset init"
/usr/local/bin/openocd \
-f /usr/local/Cellar/open-ocd/HEAD-db23c13/share/openocd/scripts/board/st_nucleo_wb55.cfg \
-c "init; reset halt"
arm-none-eabi-gdb --args \
-target-select remote localhost:3333 \
-file-exec-and-symbols "./BUILD/NUCLEO_WB55RG/GCC_ARM-DEBUG/HelloWorld.elf" \
-interpreter-exec console "monitor reset" \
-interpreter-exec console "monitor halt" \
-interpreter-exec console "monitor arm semihosting enable" \
-target-download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment