I’ve followed the instructions at http://docs.tinyos.net/index.php/OpenOCD_for_IMote2 and wanna to install openocd on Ubuntu 9.10 for my imote2 boards. javascript:emoticon(‘:D’)However, when I run the command:
openocd -f arm-usb-tiny.cfg
it encounter problems like:
Runtime error, file “test1.cfg”, line 10:
invalid command name “jtag_speed”
javascript:emoticon(‘:roll:’)
and I found someone encounter the same problems as mine and successed with rev 516.
then I try to download this version of openocd like this:
I’ve never used linux so I can’t be of any use in installing it on that system
But… as it says ‘invalid command’ I would just use ‘jtag_khz’ instead, maybe starting off slow depending on your hardware, like 20 should do for now. You can always jack it up to full speed later, depending on what your interface supports. (3000 I think for the USB-tiny, possibly 6000 as it is ft2232 based).
As for using different revisions, I have used re141, 0.3.1, and about to try 0.4.0. I haven’t got any of these working correctly with my board…but that could be hardware issues, or just the fact I have a ‘dodgy chip’ on my board (it DOES happen).
I guess it can be frustrating if others have got your setup to work with the same software revisions, but I would say, just let it go. Try a newer version, whichever you can get hold of, rather than searching for one specific revision. You may have to change a few commands which have been replaced by newer commands, but the differences aren’t that great and newer versions are better documented.