Hi all,
there is a major upcoming release of Jim Tcl. The impact on
OpenOCD is that we can switch to using Jim Tcl as a normal
module rather than embedding and maintaining Jim Tcl inside
OpenOCD.
I've made the modifications necessary to start testing w/OpenOCD
and added Jim Tcl as a submodule in the oharboe/jimtcl branch.
1. To build & install Jim Tcl for use with OpenOCD:
cd openocd
git remote add oharboe http://repo.or.cz/r/openocd/oharboe.git
git fetch oharboe
git checkout oharboe/jimtcl
git submodule init
git submodule update
cd jimtcl
# The NVP stuff is actually Jim Tcl project maintaining an
# OpenOCD invention
./configure --with-jim-ext="nvp"
make
make install
2. Build OpenOCD as usual
3. To check that OpenOCD now uses Jim Tcl 0.63 (instead of 0.51):
openocd -c "info version"
=>
Open On-Chip Debugger 0.5.0-dev-00559-g471a462 (2010-10-15-09:55)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
0.63
Error: Debug Adapter has to be specified, see "interface" command
Runtime Error: Command handler execution failed
in procedure 'init'
The main advantage of the JIM TCL was to embed it in OpenOCD.
Now, with new JIM TCL as module, should we use pure TCL instead , see
TCL / TK !
Regards,
Laurent
http://www.amontec.com
Amontec JTAGkey USB JTAG CABLE ARM Debugger et Flasher
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development