apache / nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)
https://nuttx.apache.org/
Apache License 2.0
2.61k stars 1.11k forks source link

raspberrypi-pico/usbnsh: it's not work, if we add a usb-hub between the pico&pc #11503

Open damon-yun opened 8 months ago

damon-yun commented 8 months ago

./tools/configure.sh -l raspberrypi-pico:usbnsh make -j8 then test it , it's not work, if we add a usb-hub between the pico&pc. remove the usb-hub connect direct will be good. but we need it.

acassis commented 8 months ago

@damon-yun I think the issue could be related to how to host OS is detecting NuttX CDC/ACM device. Probably you will need to use a USB Sniffer (like this one: https://github.com/ataradov/usb-sniffer ) to investigate what is happening in the bus.

damon-yun commented 8 months ago

@acassis Unfortunately I didn't make this tool, but I compared it with i.mx rt & stm32h7. All work good with Win11 & Ubuntu 22.04, except raspberrypi-pico. Maybe we can wait for feedback from other user.