earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 boards
GNU Lesser General Public License v2.1
1.88k stars 394 forks source link

Suddenly, can't upload via serial to an "Adafruit Feather RP2040 with USB Type A Host" board #2232

Closed heliophagus closed 4 weeks ago

heliophagus commented 4 weeks ago

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!