Upload fails when Serial Monitor is open #1278
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
topic: serial monitor
Related to the Serial Monitor
type: imperfection
Perceived defect in any part of project
Describe the problem
The Arduino IDE uses the serial ports of Arduino boards in two different ways:
The port can not be used for both of these things simultaneously. Rather than imposing the inconvenience of juggling the port usage on the user the Arduino IDE is intended to handle the condition of Serial Monitor being open when an upload is started automatically like so:
🐛 Uploading fails when the Serial Monitor is open, indicating the port handling is not working correctly.
To reproduce
🐛 The upload fails with an error like:
Expected behavior
Having Serial Monitor open does not interfere with uploading.
Arduino IDE version
2.0.0-rc9.1
Operating system
Windows
Operating system version
10
Additional context
I bisected the introduction of the issue to e156dcc / #1260
Originally reported tangentially at #581 (comment)
It may be the same issue as reported at #1277, but there is currently insufficient information there to be able to say.
UPDATE: per #1277 (comment), #1277 does not have Serial Monitor as a required condition, which indicates these are two separate issues.
Issue checklist
The text was updated successfully, but these errors were encountered: