Skip to content

Serial port remains open after Serial Monitor is closed #1420

Closed as not planned
@sayzergithub

Description

@sayzergithub

Describe the problem

Once the serial monitor is opened, and then closed later on, port stays open while IDE is running.

To reproduce

  1. Connect a board to your computer.
  2. Select the board and port from the Arduino IDE menus.
  3. Open Serial Monitor.
  4. Close Serial Monitor.
  5. Attempt to open the port in an external serial port monitor.

🐛 The external serial port monitor can not access the port.

Expected behavior

The port is closed when Serial Monitor is closed.

Arduino IDE version

2.0.0-rc9.4

Operating system

Windows

Operating system version

10

Additional context

I am using an ESP32 board with Silicon Labs CP2102 USB-Serial port chip.


I also experience the problem of the port being reset when the IDE is closed as reported at #1546, but it occurs even when I already closed Serial Monitor before closing the IDE.

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

Metadata

Metadata

Assignees

Labels

status: waiting for informationMore information must be provided before work can proceedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions