Bug#801145: openocd: interface script uses ft2232 (obsolete) not ftdi

2015-10-06 Thread Frank Miles
Package: openocd
Version: 0.8.0-4
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Attempted connection between Olimex ARM-USB-OCD / LPC-microcontroller 
and 'jessie' host
for programming/debugging.
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
Attempted to edit interface script 
/usr/share/openocd/scripts/interface/olimex-arm-usb-ocd.cfg,
which was ineffective.
Tried using 'wheezy' system, which uses an older version of openocd.  
This worked, showing
that the failure is a consequence of a change in openocd that 
no longer supports
the ft2232 interface.  (That system cannot be substituted for 
whole job, but
demonstrates that the problem is with the newer software rather 
than the hardware).
Also tried updating to stretch versions of openocd (and supporting 
libraries).  This
did not change the script, so (unsurprisingly) failed to fix 
the problem.
   * What was the outcome of this action?
Various error messages, logs, etc., all indicating that the connection 
between the linux host
and the target embedded system was not established.
   * What outcome did you expect instead?
A proper connection as occurred with a wheezy system.

PLEASE update the scripts so that they will work with the ftdi 
protocol.  THANKS!

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.7-ckt11 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openocd depends on:
ii  libc6  2.19-18+deb8u1
ii  libftdi1   0.20-3
ii  libhidapi-hidraw0  0.8.0~rc1+git20140201.3a66d4e+dfsg-3
ii  libusb-0.1-4   2:0.1.12-25
ii  libusb-1.0-0   2:1.0.19-1

openocd recommends no packages.

openocd suggests no packages.

-- no debconf information



Bug#801145: openocd: interface script uses ft2232 (obsolete) not ftdi

2015-10-06 Thread Paul Fertser
Hello,

On Tue, Oct 06, 2015 at 10:51:09AM -0700, Frank Miles wrote:
>* What led up to the situation?
>   Attempted connection between Olimex ARM-USB-OCD / LPC-microcontroller 
> and 'jessie' host
>   for programming/debugging.

Please provide the exact command line you used.

>* What was the outcome of this action?
>   Various error messages, logs, etc., all indicating that the connection 
> between the linux host
>   and the target embedded system was not established.

Please provide full logs for the failure case.

Feel free to discuss the issue on the OpenWrt devel mailing list on
#openocd at freenode.net IRC channel, that way you'll likely to get
support faster.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com



Bug#801145: openocd: interface script uses ft2232 (obsolete) not ftdi

2015-10-06 Thread Frank Miles

I'd like to withdraw (or at least cut back) on my bug report.  Minutes
after posting, I noticed the 'ftdi' subdirectory:
/usr/share/openocd/scripts/target
It has the proper (working) scripts.  The only bug (of lesser importance)
would be getting rid of the old scripts which are, at best, an attractive
nuisance.

Thanks for your efforts!
-Frank


On Tue, 6 Oct 2015, Paul Fertser wrote:


Hello,

On Tue, Oct 06, 2015 at 10:51:09AM -0700, Frank Miles wrote:

   * What led up to the situation?
Attempted connection between Olimex ARM-USB-OCD / LPC-microcontroller 
and 'jessie' host
for programming/debugging.


Please provide the exact command line you used.


   * What was the outcome of this action?
Various error messages, logs, etc., all indicating that the connection 
between the linux host
and the target embedded system was not established.


Please provide full logs for the failure case.

Feel free to discuss the issue on the OpenWrt devel mailing list on
#openocd at freenode.net IRC channel, that way you'll likely to get
support faster.

--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com