[Bug 284042] FTDI: UART breaks JTAG
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 284042] FTDI: UART breaks JTAG"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jan 2025 07:33:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284042 --- Comment #4 from bsd@orsolic.org --- Thanks for the links! Kludging uftdi driver resulted in skipping creating the interface for JTAG part but the problem persists: Jan 14 00:07:55 kernel: uftdi: skipping JTAG interface #0 for 'Dual RS232-HS' at 0.2 Jan 14 00:07:55 kernel: uftdi0 on uhub0 Jan 14 00:07:55 kernel: uftdi0: <FTDI Dual RS232-HS, class 0/0, rev 2.00/7.00, addr 23> on usbus0 My JTAG adapter has an EEPROM which is by default empty. I played with FT tool on Windows trying to make it to be JTAG/MPSSE by default but only managed to put custom USB string descriptors and serial number in it. I'll try again. I did try it on Windows and I remember that special drivers (libusb D2xx IIRC) were needed for OpenOCD to recognize the JTAG channel - it was 2xUART by default. I'll try it on Linux also. Still, it seems weird that DTR and RTS are toggled in driver even when HW flow is disabled on that tty. This revision of ESP32-P4 doesn't have USB JTAG and UART integrated - so I need to have external JTAG programmer. ESP32-C3 has it and it is great thing - single cable (without adapter) and you have JTAG and UART. For the other ARM MCUs I usually prefer blackmagic probe firmware on STM32F4 blackpill but it doesn't support RISC-V and (possibly) JTAG, yet. -- You are receiving this mail because: You are the assignee for the bug.