diff --git a/content/Software Support/Upload/Error-2-UNKNOWN-uploading-error-no-upload-port-provided.md b/content/Software Support/Upload/Error-2-UNKNOWN-uploading-error-no-upload-port-provided.md deleted file mode 100644 index 3e73e57d..00000000 --- a/content/Software Support/Upload/Error-2-UNKNOWN-uploading-error-no-upload-port-provided.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: "Error: 2 UNKNOWN: uploading error: no upload port provided" -id: 360020831120 ---- - -When uploading, the following error appears in the output panel. - -``` -Upload error: Error: 2 UNKNOWN: uploading error: no upload port provided -``` - -This error appears when trying to upload with no port selected. Please check the following: - -## Do you have a board plugged in? - -The board that you want to upload your code to needs to be plugged into a USB port using a data USB cable. If you just want to try compiling your code without uploading it, click the 'Verify' button (check mark symbol). - -## Do you have a port selected? - -The board dropdown in the top bar should display your selected port as `[board] at [port]`. - -![IDE with board and port selected.](img/Arduino-Uno_port-selected.png) - -If it only has the board name, with a red check mark, you need to select a port. - -## How to select a port - -![IDE with board selected, but no port.](img/Arduino-Uno_no-port.png) - -In the example above, the board 'Arduino Uno' has been selected. The same board is also plugged into a USB port. However, no port has been selected, which is indicated by the red cross. Let's open the board dropdown by clicking. - -![IDE with board selected, but no port.](img/Arduino-Uno_port-selection.png) - -If you have a board plugged in, it should appear in the list. In our example, it's `Arduino Uno at /dev/cu.usbmodem14201`. Click to select the port. - -![IDE with board and port selected.](img/Arduino-Uno_port-selected.png) - -With the port selected, you can try uploading the code. diff --git a/content/Software Support/Upload/Failed-uploading-no-upload-port-provided.md b/content/Software Support/Upload/Failed-uploading-no-upload-port-provided.md new file mode 100644 index 00000000..9f57009d --- /dev/null +++ b/content/Software Support/Upload/Failed-uploading-no-upload-port-provided.md @@ -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) diff --git a/content/Software Support/Upload/img/Arduino-Uno_no-port.png b/content/Software Support/Upload/img/Arduino-Uno_no-port.png deleted file mode 100644 index 645ca0ac..00000000 Binary files a/content/Software Support/Upload/img/Arduino-Uno_no-port.png and /dev/null differ diff --git a/content/Software Support/Upload/img/Arduino-Uno_port-selected.png b/content/Software Support/Upload/img/Arduino-Uno_port-selected.png deleted file mode 100644 index 4fd4fa63..00000000 Binary files a/content/Software Support/Upload/img/Arduino-Uno_port-selected.png and /dev/null differ diff --git a/content/Software Support/Upload/img/Arduino-Uno_port-selection.png b/content/Software Support/Upload/img/Arduino-Uno_port-selection.png deleted file mode 100644 index 2d124f4d..00000000 Binary files a/content/Software Support/Upload/img/Arduino-Uno_port-selection.png and /dev/null differ diff --git a/content/Software Support/Upload/img/board-selector-uno-connected.png b/content/Software Support/Upload/img/board-selector-uno-connected.png new file mode 100644 index 00000000..16427670 Binary files /dev/null and b/content/Software Support/Upload/img/board-selector-uno-connected.png differ diff --git a/content/Software Support/Upload/img/select-port.png b/content/Software Support/Upload/img/select-port.png new file mode 100644 index 00000000..59eb871a Binary files /dev/null and b/content/Software Support/Upload/img/select-port.png differ diff --git a/content/Software Support/Upload/img/tools-port-uno.png b/content/Software Support/Upload/img/tools-port-uno.png new file mode 100644 index 00000000..23435dc0 Binary files /dev/null and b/content/Software Support/Upload/img/tools-port-uno.png differ