Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: "Failed uploading: no upload port provided"
id: 360020831120
---

When uploading, you may see this error:

```
Failed uploading: no upload port provided
```

The error will occur if no **port** has been selected.

Use one of these methods to select a port:

* In the top menu bar: Open _Tools > Port_ and click to select a port.

![The Tools > Port menu.](img/tools-port-uno.png)

* With the board selector menu (IDE 2): Click to open, then select one of the options to configure board and port selection.

![The board selector in IDE 2.](img/select-port.png)

When a board and port has been selected, this icon will be displayed:

![The board selector menu with a connected Arduino UNO.](img/board-selector-uno-connected.png)

It's useful to understand the difference between board and port selections:

* The **board** selection tells Arduino IDE how to compile the sketch and what protocols to use when uploading the sketch. In some cases, it will be automatically set, but it can be overridden with the _Tools > Board_ menu or in the "Select other board and port..." dialog.
* The **port** selection refers to an actual board (or other device) that's connected to your computer. Many boards are automatically recognized by Arduino IDE—these boards will have their name displayed next to their port in the _Tools > Port_ menu and will have their port associated with the identified board in the board selector menu.

## Further reading

* [Select board and port in Arduino IDE](https://support.arduino.cc/hc/en-us/articles/4406856349970-Select-board-and-port-in-Arduino-IDE)
* [If your board does not appear in the port menu](https://support.arduino.cc/hc/en-us/articles/4412955149586-If-your-board-does-not-appear-in-the-port-menu)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.