Windows usb device not recognized solution #10458
Unanswered
cjs30
asked this question in
RP2040 / Pico
Replies: 1 comment 1 reply
-
I have noticed that as well. See PR #10423. Happens with Linux as well, and also with other boards & ports. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have had a persistent but intermittent USB device not recognized when plugging in a Pico to a Windows laptop which was causing an issue with Thonny etc. I tried all of the solutions I could find online.
The pico has a main.py on it. The solution - which so far seems to be robust - was to simply add a time.sleep(1) at the start of the main.py. I haven't worked out what elements in the main.py stop Windows recognizing the device but it does seem that the 'processor' is involved in negotiating the device driver used.
I wonder if it might be possible to add a delay - within the micropython firmware - that enforces the delay before main.py starts? I suspect that 1s is overkill. It might prevent such problems. Perhaps this is already well known and my laptop is just a bit slow at negotiating the device driver selection...
Beta Was this translation helpful? Give feedback.
All reactions