anyone able to get it to work?
i was able to compile & run https://github.com/stacksmashing/pdnd-uart-bridge just fine ; but with this project, USB2serial is not working..
i get the expected OLED output of "Serprog", so the program flashed and booted fine; but the host (in my case, a raspi 4) gives me timeouts and errors while USB enumerating. they are not always/all the same depending on timing, here are a few:
[ +0.427601] usb 1-1.3: new full-speed USB device number 22 using xhci_hcd
[ +0.130986] usb 1-1.3: device descriptor read/all, error -32
[ +0.099059] usb 1-1.3: new full-speed USB device number 23 using xhci_hcd
[ +0.100178] usb 1-1.3: device descriptor read/64, error -32
[ +5.270851] usb 1-1.3: device descriptor read/all, error -32
[ +0.000636] usb 1-1-port3: attempt power cycle
[ +0.658302] usb 1-1.3: new full-speed USB device number 24 using xhci_hcd
[ +0.618572] xhci_hcd 0000:01:00.0: ERROR: unexpected setup address command completion code 0x24.
[ +0.829907] xhci_hcd 0000:01:00.0: ERROR: unexpected setup address command completion code 0x24.
[ +0.211493] usb 1-1.3: device not accepting address 24, error -22
[ +0.100041] usb 1-1.3: new full-speed USB device number 25 using xhci_hcd
[ +0.031051] usb 1-1.3: device descriptor read/8, error -32
[ +0.149918] usb 1-1.3: device descriptor read/8, error -32
[ +0.119629] usb 1-1-port3: unable to enumerate USB device
when i flash back to the UART uf2, i immediately get the (working) USB ACM device (ttyACM0).
the only "hints" i found so far was one post about power, or rather, inability of the USB port to provide enough, which i dont think is the case here, as the UART prog works fine;
and another post about potential problems with the pico-sdk 1.3.0. i tried using 1.2.0 instead, but apart from a slightly smaller .uf2 file, the behaviour is exactly the same.
.. as if there was something missing while initializing the USB port on the rpi2040 at program bootup?
unfortunately, i only have moderate experience with mcu programming, and zero with the pico so far, so i'm kinda lost.
anyone able to get it to work?
i was able to compile & run https://github.com/stacksmashing/pdnd-uart-bridge just fine ; but with this project, USB2serial is not working..
i get the expected OLED output of "Serprog", so the program flashed and booted fine; but the host (in my case, a raspi 4) gives me timeouts and errors while USB enumerating. they are not always/all the same depending on timing, here are a few:
when i flash back to the UART uf2, i immediately get the (working) USB ACM device (ttyACM0).
the only "hints" i found so far was one post about power, or rather, inability of the USB port to provide enough, which i dont think is the case here, as the UART prog works fine;
and another post about potential problems with the pico-sdk 1.3.0. i tried using 1.2.0 instead, but apart from a slightly smaller .uf2 file, the behaviour is exactly the same.
.. as if there was something missing while initializing the USB port on the rpi2040 at program bootup?
unfortunately, i only have moderate experience with mcu programming, and zero with the pico so far, so i'm kinda lost.