I have no idea what that communication should look like. 

J-link: 
1) TMS = 1, 8x CLK = 1.2 MHz, TMS = 0
2) 28 ms gap
3) TMS = 1, 8 x CLK = 421 kHz, TMS = 0
4)  6 ms gap
5) CLK = 1.2 MHz - first reply on TDO (LA_jlink_has_reply.png)

PRESTO (CLK is a little crazy, but when is stabilised so is 545 kHz):
1) LA_presto_1.png
2) 1500 us gap
3) LA_presto_2.png
4) 4x (7 ms gap and cca 2 us area with some CLK pules)
5) 7 ms gap, LA_presto_3.png
6) 6 ms gap, LA_presto_4.png
7) 6 ms gap, LA_presto_5.png
8) 2 ms gap, LA_presto_6.png
9) ...and silence...



Attachments:

- 
[LA_presto_6.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_presto_6.png)
 (12.5 kB; image/png)
- 
[LA_presto_5.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_presto_5.png)
 (3.8 kB; image/png)
- 
[LA_presto_4.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_presto_4.png)
 (5.5 kB; image/png)
- 
[LA_presto_3.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_presto_3.png)
 (7.9 kB; image/png)
- 
[LA_presto_2.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_presto_2.png)
 (22.1 kB; image/png)
- 
[LA_jlink_has_reply.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_jlink_has_reply.png)
 (6.1 kB; image/png)
- 
[LA_presto_1.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_presto_1.png)
 (4.0 kB; image/png)
- 
[LA_jlink_preview.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_jlink_preview.png)
 (21.9 kB; image/png)
- 
[LA_presto_preview.png](https://sourceforge.net/p/openocd/tickets/_discuss/thread/81de21a580/36ef/a4cb/5644/e17a/6290/5156/attachment/LA_presto_preview.png)
 (13.6 kB; image/png)


---

** [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:** Tue Sep 14, 2021 12:32 PM 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 [email protected] 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