Suddenly, can't upload via serial to an "Adafruit Feather RP2040 with USB Type A Host" board #2233
Replies: 1 comment 5 replies
-
Err, that's not actually a listed board type in the menus. I assume you're using the plain Adafruit Feather RP2040 board type instead, yes? Anyway, looking at the board who drives the USB host? You can't do USB slave (i.e. serial port) and USB master (i.e. that type-A port) at the same time, it's not possible with the HW onboard. There have been no changes to the core related to this, so you'll need to dig into what's changed on your end. Try something simple like the blink example with nothing connected to the USBA port. If you see it blinking but can't see the serial port, then your OS has a problem but the Pico is fine. If blink.ino doesn't blink and you don't have a serial port, then you may have some HW issue on the board. The USB port is SW driven from the Pico, so if the app is crashed or hung then you won't see a port, either. If you're running under Windows, double check you have followed the Zadig installation or else Windows will insist the device doesn't exist since it doesn't have an Sometimes Windows or Linux itself gets persnickety about USB ports and you can try a different port and cable to see if that helps change things. |
Beta Was this translation helpful? Give feedback.
-
Hi Earle - thank you for the amazing work you do!
I've hit a roadblock with an "Adafruit Feather RP2040 with USB Type A Host" board, using Arduino IDE 2.3.2 & version 3.9.2 of your Arduino core. After using the board successfully for a few days, it suddenly disabled uploading via serial. It errors with "No drive to deploy. Failed uploading: uploading error: exit status 1." The TOOLS/PORT option is disabled.
If I put the board into boot mode, I can apparently upload programs - the drive appears after entering boot mode & the IDE apparently uploads to it, after which the drive disappears as usual. But then the Uploading progress bar lingers for about 30 seconds, after which the IDE errors with "Port monitor error: command 'open' failed: Serial port not found" & now the TOOLS/PORT option is disabled again. So I can't debug via serial, which I rely on at this stage of the project. Unfortunately the board is out of stock, so I'd like to get this one working. I tried erasing the board's flash memory (no effect) & getting input from the Adafruit forums, but received nothing helpful - quite the opposite. So I can't tell if this is a board fault, or a weird edge case that can somehow be resolved, or must remain a mystery.
BTW, the IDE & RP2040 core work perfectly with other RP2040 boards.
If you have any helpful suggestions, I'm all ears!
Beta Was this translation helpful? Give feedback.
All reactions