Created
July 21, 2017 02:40
-
-
Save samrat/fe9ec27ec1f9e3640632b542d7c5ff7a to your computer and use it in GitHub Desktop.
Tiva C launchpad (GDB + OpenOCD)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start OpenOCD in a separate terminal: | |
openocd -f /usr/share/openocd/scripts/board/ek-lm4f120xl.cfg | |
$ cat gdb.cmd | |
target remote localhost:3333 | |
set arm abi APCS | |
monitor reset halt | |
file main.elf | |
load | |
monitor reset | |
$ cat prog | |
arm-none-eabi-gdb --command gdb.cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment