During Upload: Com disappears - RPi-RP2 Boot appears - Upload error exit status 1

Hi Experts,
Ive searched through the help files and posts with no luck. Have had this error both on cloud and using IDE, which seems to have more success. I have an Arduino Nano RP 2040, and am trying to upload the code.

The IDE ( and cloud) find and identify the Nano RP2040 Connect Ok. In Device Manager Com 4 port shows when the Arduino is connected, and this is the port in the IDE. So far so good. The program gets through the compile stage, and then when it starts to upload, or tries to, Com 4 Disappears from Device manager, and then in "other devices" RPI-RP2 Boot appears. Windows then tells me it has found a new external disk E:, and this shows up in file manager the same as a flash drive. By this point the IDE is giving me the error message : Uploading error: Exit status 1 - i suppose because it can't find the arduino any more.

I have tried a few things. Pressing the reset button has the same effect as unplugging and plugging the arduino back in, it finds the USB Com 4 again, and same behavior when you try to upload.. i tried disabling the RP2 in device manager. At one stage it was also finding the accelerometer on the RP as a discrete item, but i seem to have lost that, or made it go away.

I'm running out of things to try.

Ive rebooted the computer, three different micro USB cables all do the same thing. Three different USB ports, one on the computer and two on a hub, all showing COM4, which i thought was odd

One of the dead ends i have followed is reminding me that i a running on Windows 10, and not 11, but i can't see why that would make a difference. A few moths ago i successfully uploaded an earlier version of the program on a different device ( Both devices purchased direct from Arduino). I remember that it wasn't straight forward, there was some quirk, but i did upload the program and modified program successfully.

I feel i am missing something basic, as it worked before on same computer, but does not work now.

Is there a BOOTSEL button in your board?

There is a little white button i thought that was a reset button?

I'm absolutely not familiar with the Nano RP2040 Connect and how to program them.

It is normal that COM ports on boards with native USB disappear and get replaced by something else. I'm only familiar with 32U4 (e.g. Leonardo) based boards where the COM port is simply replaced by the COM port of the bootloader; your board however seems to be different (which is not necessarily wrong).

Ok, thanks. I persisted after ignoring the vanishing board and the rpi rp2 appearing, and pressing the white button a few times, and it appearing to do the same thing, and uploading again. And then another board, that was then identified as com 5. And then no error message, and it uploaded. And then back to first board, which also uploaded, no error message. Huh? I can't tell you what I did other than persist. I have the impression from the behaviour of the flashing lights that there may have been a bad connection in the USB connection of the first board, I had to hold the wire a certain way. But it worked, this time. Thank you all.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.