[Pkg-electronics-devel] Bug#793214: OpenOCD / OpenRD fix pending
Jonathan McDowell
noodles at earth.li
Thu Oct 12 21:58:44 UTC 2017
Phil kindly gave me access to his OpenRD rig earlier today and I've been
able to get this working.
Firstly, the change needs to be made for ftdi_channel to be 0 instead of
1.
Secondly the changes at the start of the bug report regarding
ftdi_device_desc and adapter_khz need to be made (though I only tried
200KHz to match the Sheeva).
With both of those:
$ sudo openocd -f /usr/share/openocd/scripts/board/openrd.cfg
Open On-Chip Debugger 0.9.0 (2017-03-07-13:53)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
adapter speed: 2000 kHz
dcc downloads are enabled
Warn : use 'feroceon.cpu' as target identifier, not '0'
openrd_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
I'll get a patch submitted to upstream and the Debian package updated in
the next few days.
J.
--
... "It's always nice to be able to see who you're doing." --
leeann at rand.org, b.l-w
More information about the Pkg-electronics-devel
mailing list