Package: openocd
Version: 0.8.0-1
Severity: normal

Dear Maintainer,

connecting to a SheevaPlug doesn't work anymore as of version 0.8. I.e. the
command
`openocd -f /usr/share/openocd/scripts/board/sheevaplug.cfg -s
/usr/share/openocd/scripts`
fails with the error message
"
Error: The specified debug interface was not found (ft2232)
The following debug interfaces are available:
1: parport
2: dummy
3: ftdi
4: usb_blaster
5: amt_jtagaccel
6: gw16012
7: usbprog
8: jlink
9: vsllink
10: rlink
11: ulink
12: arm-jtag-ew
13: buspirate
14: remote_bitbang
15: hla
16: osbdm
17: opendous
18: aice
19: cmsis-dap
Runtime Error: /usr/share/openocd/scripts/interface/sheevaplug.cfg:7:
in procedure 'script'
at file "embedded:startup.tcl", line 58
at file "/usr/share/openocd/scripts/board/sheevaplug.cfg", line 3
in procedure 'interface' called at file
"/usr/share/openocd/scripts/interface/sheevaplug.cfg", line 7
"

With 0.7 the connection works:
"
Info : only one transport option; autoselect 'jtag'
adapter speed: 2000 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
connect_deassert_srst
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Warn : use 'feroceon.cpu' as target identifier, not '0'
sheevaplug_load_uboot
Info : clock speed 2000 kHz
Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part:
0x0a02, ver: 0x2)
Info : Embedded ICE version 0
Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit
"

Apparently the interface ft2232 has been removed with version 0.8.
Naively replacing ft2232 with ftdi in
/usr/share/openocd/scripts/interface/sheevaplug.cfg doesn't quite do the trick:
"ft2232_layout sheevaplug" doesn't have an ftdi-equivalent and simply omitting
it results in errors:
"
Info : only one transport option; autoselect 'jtag'
adapter speed: 2000 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
connect_deassert_srst
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Warn : use 'feroceon.cpu' as target identifier, not '0'
sheevaplug_load_uboot
Info : clock speed 2000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: feroceon.cpu: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Embedded ICE version 0
Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit
Error: unexpected Feroceon EICE version signature
"

Any help greatly appreciated. Please let me know when I can be of assistance.

Best,

Andreas



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openocd depends on:
ii  libc6              2.19-1
ii  libhidapi-hidraw0  0.8.0~rc1+git20140201.3a66d4e+dfsg-3
ii  libusb-0.1-4       2:0.1.12-23.3
ii  libusb-1.0-0       2:1.0.18-2

openocd recommends no packages.

openocd suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to