Skip to content

Commit cd9bce4

Browse files
committed
New article: "Failed uploading: uploading error: exit status 1"
1 parent 91754b5 commit cd9bce4

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: "Failed uploading: uploading error: exit status 1"
3+
---
4+
5+
`Failed uploading: uploading error: exit status 1` is a generic error message indicating that the upload has failed.
6+
7+
## Check the console output
8+
9+
Often preceding lines will contain more specific information. For example:
10+
11+
```
12+
No device found on cu.Bluetooth-Incoming-Port
13+
Failed uploading: uploading error: exit status 1
14+
```
15+
16+
In this case the `cu.Bluetooth-Incoming-Port` port was selected by mistake. Since no board is connected to the port, the upload failed. This is indicated by the `No device found on cu.Bluetooth-Incoming-Port` message. The issue can be solved by selecting the right port in the _Tools > Port_ menu.
17+
18+
## If you're not sure what's causing the error
19+
20+
Follow these steps:
21+
22+
1. **Check your connections**. Your board needs to be connected with a data USB cable (charge-only cables will not work). Make sure the cable is fully inserted in the port on each end. Try a different USB cable, and avoid hubs and other adapters if possible. Remove connections to the board pins, especially the **0 (RX)** and **1 (TX)** digital pins.
23+
24+
2. **Check your board and port selections**. In the top menu bar, make sure the correct board is selected in _Tools > Board_, and that you've selected the right port in _Tools > Port_. Try disconnecting and reconnecting your board if you're unsure which port is being used (close and reopen the Port menu to refresh the list). For more information, see [Select the right port and board](https://support.arduino.cc/hc/en-us/articles/4406856349970-Select-board-and-port).
25+
26+
3. **Make sure other applications aren't using the port**. Close other instances of the IDE, serial monitors, and any other applications that may be using the port. See [Find and stop process blocking a port](https://support.arduino.cc/hc/en-us/articles/4407830972050-Find-and-stop-process-blocking-a-port).
27+
28+
## Further reading
29+
30+
* [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch)

0 commit comments

Comments
 (0)