Problem with Arduino due uploading

I have bought two Arduino Due boards recently and I am checking the blink test. One works fine and I can upload the code but the second one gives me the following error:

No device found on cu.usbmodem14101
Failed uploading: uploading error: exit status 1
Upload error: Failed uploading; uploading error: exit status 1

I have gone through some solution suggestions such as checking the USB cable and disconnecting all wires but did not help

Try out these basic steps:

  1. Do complete Uninstall Arduino IDE and then re-install the Arduino IDE (use Arduino IDE 2.1.0). Make sure that you install all the dependencies that shows up after the installation. If your machine is running Windows 11, check How to Fix Arduino Problem on Windows 11 and grant the IDE admin right.

  2. Install your board's Package Core, it contains the board's driver.

  3. Use a good quality data USB cable to connect the board to the computer without anything connected or wired to the board. Avoid using USB hub. Note that a charging/bad USB cable will make it impossible for your computer to detect your board.

  4. Make sure you select the board and the port it is connected to before uploading a sketch.

Note that the new IDE will auto-detect your board when you connect it to the computer.

Hello Dozie
Thanks for your suggestions.
I have tried them all but still, I have the same problem. Is there anything else that you could suggest?

Right corner it shows it has recognized the connected programming port but after uploading shows no device found on the port

Hello samcam

Welcome to the worldbest Arduino forum ever.

Disconnect the native USB connection and try again.

Have a nice day and enjoy coding in C++.

Hello paulpaulson
Thanks, I have tried it but it did not solve the problem

Is this a hardware or software problem? any other suggestions?

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