arduino / arduino/Arduino

Arduino Port Changes after Uploading

Open
#11,804 2 comments 0 reactions 0 assignees View on GitHub
Component: Uploading Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

How to recreate problem:

1. Connect Nano 33 BLE Sensor board with microUSB cable
2. Open Arduino IDE 1.8.19 (on Windows 10)
3. Open the Blink.ino sketch
4. Select the correct board and port in the *Tools* menu
5. Upload sketch

**Observed Outcome:** Selected port then changes after the sketch is uploaded. In my case it changed from COM port 13 to 14. I would then have to change it back to 13 in order to select the correct port.

IDE during sketch upload
![image](https://user-images.githubusercontent.com/75624145/179212308-a9d387c1-66d5-4acc-944e-45d8b8d9a8c7.png)

IDE after sketch upload
![image](https://user-images.githubusercontent.com/75624145/179212440-d65dce0a-ad60-4dfa-848e-8130f5752bb1.png)

**Expected outcome:** Port does not change after uploading sketch to board

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Arduino IDE 1.8.19 on Windows 10 with a Nano 33 BLE Sensor board using the Blink.ino sketch and the documented upload steps. Trace the IDE's port selection and upload handling to determine why COM13 becomes COM14; done means the selected port remains unchanged after upload.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, java
Domain
desktop, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.