From nobody Tue Jan 14 07:33:11 2025 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YXLT35qvXz5kJnk for ; Tue, 14 Jan 2025 07:33:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YXLT354Rsz3rD1 for ; Tue, 14 Jan 2025 07:33:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736839991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cu9ZmornAPxjf1dk6vOEKrCCbb1NVU24oRE0nNHtqKk=; b=kY2JfL7hIJmo3ztO4Yp3P/2BdQYE/Vc4jef/SX/cvCSXRJGEOTX6+8CRR8qtBpxZkOMRuh Ms8w29imPCSEUYS9Moa+J1OFFauO0JDlFYEOp1bbbjRbo4aq9wpIBjeAErP5rtVOFYi5dF smnMR2Apo5im0Z0b7j1MLDhOuUuMaUbS1Le+KSOchyoaVMgomN6R5jR92ixlS6lxVs6fsm Jh65lBMH3lktgxOfGDfZHo+e6U6qPABT87/0N5L0MjvWUiDoeS5rsBQYEpgB9vHalyYYwc 9q8OF1Tas8vX60awy0JBy0AmB/pdlMORBS5LUyDFDj92S6D4j5L4z70ISKZeww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736839991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cu9ZmornAPxjf1dk6vOEKrCCbb1NVU24oRE0nNHtqKk=; b=Dsuk3GVxC2hWqU+pHpNMp6Ay6zWcolT5lkEBlTYTC+tomRQJ1Aictqc7G3jHAIRUpStP0k QiNx8HM3HNyaK12RhJ/PRr/pmDyorAvMJ1d3FPqTq8/1ytMGdsfKNGkOdT/N+y5u7CavhO Je4YYUJpUkQnHhWWOlYwg9hOjgK9Vhs6B4GCCgJzNfsEy+sberb+mhOeLcb34gWS0Sp0uV u0b+BDdz1sySiKXdGHv33tjb97fFY/d9Ge96aSOxSK52pZ2JuhmjDKKImOF3MYTCKHVWC1 N8UP5E4P0e/I/MDDWtlPrcOpESyou+QT8mwJ6zUleZCzuetE8OKh2SY9WNgD7g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736839991; a=rsa-sha256; cv=none; b=dZGeT2//MhTktKD14e/DfETiDyEDuLBOXLTfqWQJYrNc6AUL8sOLyE8Z35fEYUHEzhGHMe aXdDsTJXcsLSlFDFaW+vg7By2Q6t5taBIPsU/bFKtG7VfNP0sz+bWYq3+3urKzjIO0Ovjm ujteO+0o3j/3mNwY3vrTyUbpOyBRBszNot0a16o9XJPvFN0ssd7KSftQyapLha+qn0SUzN MFmqe1SvfDBKHuSShxS0eJoE6FfhCH9gwktzt627NFK4Muh2FHZfIcXz7OaBli59pAsKdr 5zzojTh3BBbvG56TESjd1aIFUxeuk2MxmJt0IY8cwkZMLWKL4Wm4dKgM2wnh/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YXLT34dy8z16lv for ; Tue, 14 Jan 2025 07:33:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50E7XBBS093090 for ; Tue, 14 Jan 2025 07:33:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50E7XBBc093089 for usb@FreeBSD.org; Tue, 14 Jan 2025 07:33:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 284042] FTDI: UART breaks JTAG Date: Tue, 14 Jan 2025 07:33:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsd@orsolic.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284042 --- 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-H= S' at 0.2 Jan 14 00:07:55 kernel: uftdi0 on uhub0 Jan 14 00:07:55 kernel: uftdi0: on usbus0 My JTAG adapter has an EEPROM which is by default empty. I played with FT t= ool 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 II= RC) 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 f= low 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. --=20 You are receiving this mail because: You are the assignee for the bug.=