Hi Minh, First of all, what version of openocd are you using? You can figure it out just by launching the command "openocd" with no arguments. I would strongly recommend to use the last version 4.0, which can be downloaded from http://openocd.berlios.de/web/
Secondly, you may be using the H version of the Olimex hardware, so what do you get when running this line: $> openocd -f interface/olimex-arm-usb-tiny-h.cfg -f board/crossbow_tech_imote2.cfg And what with this one: $> openocd -f interface/olimex-arm-usb-ocd.cfg -f board/crossbow_tech_imote2.cfg Finally, you may try with the two attached files or using the new one from http://www.cs.columbia.edu/~msz/wsn/#installing-openocd Good luck! Sergio On Tue, Feb 22, 2011 at 11:23 AM, minh ha <madonna_lily1...@yahoo.com>wrote: > Hello, > > I want to use ARM-USB-OCD for imote 2. > I don't know how to do with this so that imote2 can work. > I installed openocd for ARM-USB-TINY and change a little but it didnot > work. > > When i do the command: make intelmote2 install openocd > the execution stops at : Starting OpenOCD ... > > and I have theses lines: > > Doing cleanup... > Traceback (most recent call last): > File > "/opt/tinyos-2.1.0/tools/platforms/intelmote2/openocd/imote2-ocd-program.py", > line 163, in <module> > main(sys.argv) > File > "/opt/tinyos-2.1.0/tools/platforms/intelmote2/openocd/imote2-ocd-program.py", > line 105, in main > expect(openocd_proc.stderr, "JTAG device found:") > File > "/opt/tinyos-2.1.0/tools/platforms/intelmote2/openocd/imote2-ocd-program.py", > line 65, in expect > raise RuntimeError, "Did not receive expected pattern '%s'" % pat > RuntimeError: Did not receive expected pattern 'JTAG device found:' > make: *** [program] Error 1 > > Do you have a solution for this problem ? > > Thank you. > Regards. > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
imote2-ocd-program.py
Description: Binary data
arm-usb-tiny.cfg
Description: Binary data
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help