To verify any flash programming the gdb command @option{compare-sections}
can be used.
- at node TCL and OpenOCD
- at chapter TCL and OpenOCD
- at cindex TCL and OpenOCD
+@node TCL and OpenOCD
+@chapter TCL and OpenOCD
+@cindex TCL and OpenOCD
OpenOCD embeds a TCL interpreter (see JIM) for command parsing and scripting
support.
port is geared toward intergration with external clients. A small example
of an external TCL script that can connect to openocd is shown below.
- at verbatim
+@verbatim
# Simple tcl client to connect to openocd
puts "Use empty line to exit"
set fo [socket 127.0.0.1 5555]
flush stdout
}
close $fo
- at end verbatim
+@end verbatim
This script can easily be modified to front various GUIs or be a sub
component of a larger framework for control and interaction.