You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples/usb_device example does not present as a USB device to my MacOS host.
What did you expect to happen instead?
I expected it to be enumerated, show up as cafe:0000 in lsusb, and cause a mouse wiggle every 0.5s.
What actually happened in your case?
No device is enumerated. With my logic analyser I can see a regular SOF frames every 1 millisecond, and a reset every second - suggesting the circuit is physically valid, and the firmware is running on device.
The reset suggests to me the Pico does not have an accurate reading of the GPIO pins as it is reading the pair as low, but oddly is able to drive them to reset the connection.
Additional information
I have the Pico wired up as:
GPIO 0 -> 1.5 k惟 pull up to 3.3v -> D+
GPIO 1 -> D-
Pico GND -> USB GND
I have tried this with another Pico just to sanity check, as well as confirmed the version of Pico-SDK is contemporary with the examples commit date.
Any guidance you can provide to debug further would be appreciated.
The text was updated successfully, but these errors were encountered:
Describe the bug you encountered:
The
examples/usb_device
example does not present as a USB device to my MacOS host.What did you expect to happen instead?
I expected it to be enumerated, show up as
cafe:0000
inlsusb
, and cause a mouse wiggle every 0.5s.What actually happened in your case?
No device is enumerated. With my logic analyser I can see a regular SOF frames every 1 millisecond, and a reset every second - suggesting the circuit is physically valid, and the firmware is running on device.
https://github.com/sekigon-gonnoc/Pico-PIO-USB/blob/main/src/pio_usb_device.c#L368
The reset suggests to me the Pico does not have an accurate reading of the GPIO pins as it is reading the pair as low, but oddly is able to drive them to reset the connection.
Additional information
I have the Pico wired up as:
GPIO 0 -> 1.5 k惟 pull up to 3.3v -> D+
GPIO 1 -> D-
Pico GND -> USB GND
I have tried this with another Pico just to sanity check, as well as confirmed the version of Pico-SDK is contemporary with the examples commit date.
Any guidance you can provide to debug further would be appreciated.
The text was updated successfully, but these errors were encountered: