Chris Burton
Chris Burton
When I had a similar issue I needed to add g_ether.use_eem=0 so the other (Linux in my case) end used cdc_ether rather than cdc_eem where IIRC the protocol doesn't support...
Updating the current script and testing for Raspberry Pi OS Bookworm has taken days so far so I'm unlikely to add another distro needing lots of changes any time soon....
The port number is the port number on the USB hub it's connected to so additional levels of hub will most likely only have ports 0-6 for 7 port hubs,...
If this is to be merged it would need to be updated for the special case where targetPortNo is 99, maybe allow ports 0-254 and switch unconfigured to be 255?
I think the example in https://github.com/raspberrypi/pico-examples/pull/571 does what you need? It uses qspi_gpio_set_function() to switch the pins to UART and then uses them to communicate with the RP2350 that booted...