Date: Wed, 22 Apr 2026 16:22:49 -0700 From: Mark Millard <marklmi@yahoo.com> To: void <void@f-m.fm>, freebsd-stable@freebsd.org Subject: Re: how to attach umodem0 to something cu can use Message-ID: <03b7054f-afc9-4f6b-acd0-e30e81c5fdb0@yahoo.com> In-Reply-To: <aekXdLyl_mgCVSQi@int21h>
index | next in thread | previous in thread | raw e-mail
On 4/22/26 11:46, void wrote: > Hi, > > I'm trying to use the raspberry pi probe to access (from desktop amd64 > 15-stable) a rpi5. > > The device is recognised on the desktop: > > Apr 22 18:11:54 [7254924] ugen0.11: <Raspberry Pi Debug Probe (CMSIS- > DAP)> at usbus0 > Apr 22 18:11:54 [7254924] umodem0 on uhub6 > Apr 22 18:11:54 [7254924] umodem0: <Raspberry Pi Debug Probe (CMSIS- > DAP), class 0/0, rev 2.10/1.01, addr 27> on usbus0 > Apr 22 18:11:54 [7254924] umodem0: data interface 2, has no CM over > data, has no break I'm taking some guesses about context, so the below might well be off point. Is this the standard Raspberry Pi Debug Probe? I use one on each RPi5 in order to have a serial console for each. On the RPi5 I get just: # dmesg -a | grep -i uart uart0: <PrimeCell UART (PL011)> iomem 0x107d001000-0x107d0011ff irq 0 on acpi0 uart0: console (115200,n,8,1) The Probe has 2 non-USB ports (and a USB port, not listed below): D (SWD) for CMSIS-DAP U (UART) for UART serial Both apparently can be in use but I only connect and use the U port (as the serial console). To see which of the 2 non-USB ports is which on the probe, view: <https://www.raspberrypi.com/documentation/microcontrollers/images/labelled-wiring.jpg> In my context, the USB connection is to a old macOS laptop running a Serial console (terminal) application. Notes: The FreeBSD running on the RPi5 is via a partial/draft EDK2 and its ACPI selection. (There are more specifics involved.) If I understand right, there is a devel/openocd FreeBSD port for use of CMSIS-DAP, not that I've ever done so. > > How can I tell cu to use it? > > A usb<>ttl cable is seen like this: > > Apr 22 19:32:38 [7259768] ugen0.11: <Prolific Technology Inc. USB-Serial > Controller D> at usbus0 > Apr 22 19:32:38 [7259768] uplcom0 on uhub6 > Apr 22 19:32:38 [7259768] uplcom0: <Prolific Technology Inc. USB-Serial > Controller D, class 0/0, rev 1.10/4.00, addr 28> on usbus0 > > I can access it via cu like this: > > % cu -l cuaU0 -s 115200 > Connected > > How to do the same with the probe? Is it seen on cuaU0? I'm not seeing any > output. -- === Mark Millard marklmi at yahoo.comhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03b7054f-afc9-4f6b-acd0-e30e81c5fdb0>
