Skip to content

Serial Monitor not automatically pausing #1298

Not planned
@LuisThe0ne

Description

@LuisThe0ne

Describe the problem

When I compile and upload any code, while the Serial Monitor is open, it doesn't pause the Serial Monitor when it is uploading.(unlike the old IDE)
So i get an exception that "COM3" can't be opened.

To reproduce

Upload any kind of Code to a Nodemcu Module while the Serial Monitor is opened.

Expected behavior

The esptool.py throws an exception.

Arduino IDE version

2.0.0 rc 9.1

Operating system

Windows

Operating system version

10

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
    I verified the problem still occurs when using the latest nightly build
    My report contains all necessary details

Activity

per1234

per1234 commented on Aug 6, 2022

@per1234
Contributor

Hi @LuisThe0ne. Thanks for taking the time to submit an issue.

I see we have another report about this at #1278, which was already fixed by #1279.

The fix is in the latest nightly build of the Arduino IDE 2.x. You can download the nightly build from the links listed here:

https://www.arduino.cc/en/software#nightly-builds

In the future, please make sure to check whether the issue still occurs when using the nightly build before submitting issues in order to avoid reporting bugs that were already resolved.

self-assigned this
on Aug 6, 2022
penfold42

penfold42 commented on Sep 30, 2022

@penfold42

It appears there's a regression in the last couple of months.
downloaded the latest nightly today:

Version: 2.0.1-nightly-20220929
Date: 2022-09-29T03:53:58.185Z
CLI Version: 0.27.1 [a900cfb2]

With serial monitor closed upload works fine.
With it open:

avrdude: ser_open(): can't open device "\\.\COM23": Access is denied.
Failed uploading: uploading error: exit status 1
per1234

per1234 commented on Sep 30, 2022

@per1234
Contributor

Hi @penfold42. Which board do you have selected in the Arduino IDE?

penfold42

penfold42 commented on Sep 30, 2022

@penfold42

Arduino Nano - its on COM23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @per1234@penfold42@LuisThe0ne

      Issue actions

        Serial Monitor not automatically pausing · Issue #1298 · arduino/arduino-ide