Hello Michal,

On Wed, Sep 08, 2021 at 07:25:38AM -0000, Michal Hucik wrote:
> I'm trying a first time to use Asix PRESTO with OpenOCD.

That's apparently a rather unusual adapter.

> ==== OpenOCD --debug ====
> Debug: 56 5 presto.c:139 presto_open_libftdi(): searching for PRESTO using
> libftdi
> Error: 57 7 presto.c:149 presto_open_libftdi(): unable to open PRESTO:
> usb_open() failed
> Error: 58 8 presto.c:540 presto_jtag_init(): Cannot open PRESTO

Can you possibly join #openwrt on Libera IRC network for an
interactive debugging session today?

Have you made sure it's not a permissions problem?

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


---

** [tickets:#318] adapter driver presto - not work**

**Status:** new
**Milestone:** 0.11.0
**Created:** Wed Sep 08, 2021 07:25 AM UTC by Michal Hucik
**Last Updated:** Wed Sep 08, 2021 07:25 AM UTC
**Owner:** nobody


I'm trying a first time to use Asix PRESTO with OpenOCD. (this Presto is 
normally working with the Asix UP software for Windows)
I tried to use in Windows precompiled OpenOCD 0.11 and in Linux fresh compiled 
by me.
In the configuration I use "adapter driver presto", or in addition 
"presto_serial 013979". However, on both systems, OpenOCD cannot correctly 
initialize PRESTO.

==== Linux dmesg ====
[395089.615983] usb 2-2.2: new full-speed USB device number 29 using uhci_hcd
[395089.820689] usb 2-2.2: New USB device found, idVendor=0403, idProduct=f1a0, 
bcdDevice= 4.00
[395089.820693] usb 2-2.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[395089.820694] usb 2-2.2: Product: ASIX PRESTO
[395089.820696] usb 2-2.2: Manufacturer: ASIX
[395089.820697] usb 2-2.2: SerialNumber: A6013979

==== OpenOCD --debug ====
Debug: 56 5 presto.c:139 presto_open_libftdi(): searching for PRESTO using 
libftdi
Error: 57 7 presto.c:149 presto_open_libftdi(): unable to open PRESTO: 
usb_open() failed
Error: 58 8 presto.c:540 presto_jtag_init(): Cannot open PRESTO
Debug: 59 8 command.c:629 run_command(): Command 'init' failed with error code 
-100



---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to