Can Only Upload Sketch to Nano Connect After Resetting

I was using my nano rp2040 connect normally when it randomly starting give me exit status 1 errors. My mac no longer recognizes the board as connected, but I can upload sketches by double tapping on the button on the board first. After I upload a sketch I have to press the button again. This would be fine but I can't use serial monitor which is a real bummer! Any help is appreciated.

Hi @brycespice725. Please try this experiment and then report back with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Select File > New Sketch from the Arduino IDE menus.
    A new sketch will open that contains only the bare minimum sketch code.
  2. Do a double tap on the reset button to put the board into the mode where you can upload.
  3. Upload the new sketch to your Nano RP2040 Connect board as before.
  4. Upload the new sketch to your Nano RP2040 Connect board as before.
    :exclamation: This time, DO NOT do a double tap reset before attempting the upload.

Now please reply here on the forum thread with the answer to the following question:

  • Was the upload at step (4) of the instructions successful, or did it fail?

It doesn't work the second time, without double tapping. My computer also says disk not ejected properly every time I successfully upload a sketch to the board, not sure if that is relevant.

OK, this eliminates your sketch code as being the cause of the problem.

The most common cause of this type of behavior is that something in the user sketch code is disabling or breaking the USB CDC background code that causes the Arduino board to produce a serial port. But the bare minimum sketch code you get from a selecting File > New Sketch from the Arduino IDE menus doesn't contain any code that would affect the background USB code.

This is normal:

https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-01-technical-reference#bootloader

Since our upload procedure relies on the Raspberry’s bootloader using a mass storage device, if your computer is fast enough during an upload, it can notify you about an USB removable being plugged.

By "USB removable", they mean a removable USB flash drive.

Do you have suggestions for next steps to troubleshoot?

Unfortunately I don't have a good idea. You could try the "factory reset" procedure that is described in the documentation:

https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-01-technical-reference#board-not-detected

I don't know whether it will help. Maybe one of the other forum members has a better suggestion.

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