Titel | Autor | Date |
---|---|---|
###Title### | Jakob Klepp | 14.02.2014 |
GNU Debugger
https://www.gnu.org/software/gdb/
target remote localhost:3333
monitor reset halt
thbreak main
monitor reset init
Open On-Chip Debugger
http://openocd.sourceforge.net
#daemon configuration
telnet_port 4444
gdb_port 3333
#board specific
source [find interface/ti-icdi.cfg]
set WORKAREASIZE 0x8000
set CHIPNAME tm4c123gh6pm
source [find target/stellaris_icdi.cfg]
Grafischer Debugger
https://wiki.gnome.org/Apps/Nemiver
#!/bin/bash
# start xterm with openocd in the background
xterm -e openocd -f ./debug/debug.cfg &
# save the PID of the background process
XTERM_PID=$!
# wait a bit to be sure the hardware is ready
sleep 2
# execute some initialisation commands via gdb
arm-none-eabi-gdb --batch --command=debug/run.gdb build/main
# start the gdb gui
nemiver --remote=localhost:3333 --gdb-binary="$(which arm-none-eabi-gdb)" build/main
# close xterm when the user has exited nemiver
kill $XTERM_PID
- [1] Getting started with stellaris launchpad
- http://www.jann.cc/2012/12/11/getting_started_with_the_ti_stellaris_launchpad_on_linux.html (zuletzt besucht am: 14.02.2014)
###Page### / ###Total###