Skip to content

Instantly share code, notes, and snippets.

@troth
Last active May 24, 2024 10:06
Show Gist options
  • Save troth/76dbf0dccccd94e59a55b19f7c02f96a to your computer and use it in GitHub Desktop.
Save troth/76dbf0dccccd94e59a55b19f7c02f96a to your computer and use it in GitHub Desktop.
GDB commands to reset a remote target using stlink
target extended-remote :4242
monitor reset halt
file app.elf
load app.elf
monitor reset run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment