I'm trying to program in intelmote2 arm pxa270 based plattform using the
arm-usb-tiny-h olimex product. I am not able to make openocd connect to the
mote. I try to run the command:

openocd -f interface/olimex-arm-usb-tiny-h.cfg -f
board/crossbow_tech_imote2.cfg

and the error information is:

Open On-Chip Debugger 0.4.0-rc1 (2010-03-20-01:33)
For bug reports, read
    http://openocd.berlios.de/doc/doxygen/bugs.html
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
Info : imote2.cpu: hardware has 2 breakpoints and 2 watchpoints
jtag_nsrst_delay: 800
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : max TCK change to: 30000 kHz
Info : clock speed 30000 kHz
Info : JTAG tap: imote2.cpu tap/device found: 0xf34ca027 (mfg: 0x013, part:
0x34ca, ver: 0xf)
Error: imote2.cpu: IR capture error; saw 0x03 not 0x01
Info : JTAG tap: imote2.cpu tap/device found: 0xf34ca027 (mfg: 0x013, part:
0x34ca, ver: 0xf)
Error: imote2.cpu: IR capture error; saw 0x03 not 0x01
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.

In order to check the usb ports, I runned lsusb obtaining:

Bus 002 Device 004: ID 15ba:002a Olimex Ltd.

and if I run dmesg I get:

[ 2867.532089] usb 2-1: new high speed USB device using ehci_hcd and address
7
[ 2867.670661] usb 2-1: configuration #1 chosen from 1 choice

Does anyone knows why I'm seeing 0x03 instead of 0x01, as the jtag newtap
command requires? I also tried changing the in the script the -ircapture and
-irmask options when the command is run but it doesn't work either.

Thank you very much.
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to