[<<][arm][>>][..]
Sun May 29 13:57:05 CEST 2011

OpenOCD, scripting in tcl

The thing is: OpenOCD is not only useful for gdb, but another
debugger/monitor could be bolted on.  It might be a good idea to get
to know it a bit better.

Cheat sheet

# Load 10 bytes (8) from memory at 0xF000 ainto var (arr) and print it
# to the console.
mem2array arr 8 0xF000 10
puts $arr

# The bytes arrive on the OpenOCD console.  How to make them go to the
# GDB console?



# startup.tcl

tom@zni:~/git/openocd$ find -name startup.tcl
./src/jtag/startup.tcl
./src/startup.tcl
./src/target/startup.tcl
./src/helper/startup.tcl
./src/server/startup.tcl
./src/flash/startup.tcl


[1] http://openocd.berlios.de/doc/html/About-Jim_002dTcl.html
[2] http://openocd.berlios.de/doc/html/Tcl-Crash-Course.html#Tcl-Crash-Course


[Reply][About]
[<<][arm][>>][..]