Hi All!
I installed openocd 0.6.0 following the instructions I found
inhttp://wiki.eluaproject.net/OpenOCDinLinuxThen I tried to runsudo openocd -f
/usr/local/share/openocd/scripts/interface/olim-arm-usb-tiny-h.cfg -f
/usr/local/share/openocd/scripts/board/crossbow_tech_imote2.cfg
and I got the messages: Info : JTAG tap: imote2.cpu tap/device found:
0x06e5d093 (mfg: 0x049, part: 0x6e5d, ver: 0x0) Warn : JTAG tap: imote2.cpu
UNEXPECTED: 0x06e5d093 (mfg: 0x049, part: 0x6e5d, ver: 0x0) Error: JTAG
tap: imote2.cpu expected 1 of 3: 0x49265013 (mfg: 0x009, part: 0x9265, ver:
0x4) Error: JTAG tap: imote2.cpu expected 2 of 3: 0x79265013 (mfg: 0x009,
part: 0x9265, ver: 0x7) Error: JTAG tap: imote2.cpu expected 3 of 3:
0x89265013 (mfg: 0x009, part: 0x9265, ver: 0x8) Error: Trying to use
configured scan chain anyway... Error: imote2.cpu: IR capture error; saw
0x05 not 0x01 Warn : Bypassing JTAG setup events due to errors
then I added the lineset CPUTAPID 0x06e5d093 to the file
/openocd/scripts/board/crossbow_tech_imote2.cfgaccording to what I found here:
http://www.tincantools.com/wiki/OpenOCD_Troubleshooting:_JTAG_Tap_Unexpected#Incorrect_Value_in_Config_Filealso
I added the line adapter_khz 6000to the file:
olimex-arm-usb-tiny-h.cfgaccording to what I read here:
http://www.tincantools.com/wiki/OpenOCD_Troubleshooting:_Adapter_Speed_Not_SelectedNow
I have this: Info : only one transport option; autoselect 'jtag'6000
kHzadapter_nsrst_delay: 260jtag_ntrst_delay: 250Info : imote2.cpu: hardware has
2 breakpoints and 2 watchpointsadapter_nsrst_delay: 800trst_and_srst separate
srst_gates_jtag trst_push_pull srst_open_drainInfo : max TCK change to: 30000
kHzInfo : clock speed 6000 kHzInfo : JTAG tap: imote2.cpu tap/device found:
0x06e5d093 (mfg: 0x049, part: 0x6e5d, ver: 0x0)Error: imote2.cpu: IR capture
error; saw 0x05 not 0x01Warn : Bypassing JTAG setup events due to errors
It says in
http://www.mail-archive.com/[email protected]/msg12885.html
that this error, is due to too high JTAG frequency,I tried with different
frequencies, but I'm getting always the same result:Error: imote2.cpu: IR
capture error; saw 0x05 not 0x01
lsbusb:Bus 001 Device 025: ID 15ba:002a Olimex Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg:[90070.448018] usb 1-4: new high speed USB device using ehci_hcd and
address 25
[90070.589789] usb 1-4: New USB device found, idVendor=15ba, idProduct=002a
[90070.589795] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[90070.589799] usb 1-4: Product: Olimex OpenOCD JTAG ARM-USB-TINY-H
[90070.589803] usb 1-4: Manufacturer: Olimex
[90070.589807] usb 1-4: SerialNumber: OLVG13P뜫
[90070.589936] usb 1-4: configuration #1 chosen from 1 choice
If someone could suggest any advice I would be very grateful.
Thanks in advance.
JOC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel