Hi Minh,

What messages did you get when running these commands:
cmd1:
   openocd -f interface/olimex-arm-usb-tiny-h.cfg -f
board/crossbow_tech_imote2.cfg
cmd2:
   openocd -f interface/olimex-arm-usb-ocd.cfg -f
board/crossbow_tech_imote2.cfg

Cheers!
Sergio

On Wed, Feb 23, 2011 at 9:10 AM, minh ha <madonna_lily1...@yahoo.com> wrote:

> I use the last version of openocd. The problem is that i use ARM-USB-OCD
> not ARM-USB-TINY. The .cfg file is different. I tried to modified the .cfg
> file but it does not work.
>
> ------------------------------
> *De :* Sergio Valcarcel <serteck...@gmail.com>
> *À :* minh ha <madonna_lily1...@yahoo.com>
> *Cc :* tinyos-help@millennium.berkeley.edu
> *Envoyé le :* Mar 22 février 2011, 20h 17min 28s
> *Objet :* Re: [Tinyos-help] Imote2 ARM-USB-OCD
>
> 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
>>
>
>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to