Skip to content

rc6 Windows 10: COM port resets after each upload #1007

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
stegu opened this issue May 26, 2022 · 1 comment
Closed
3 tasks done

rc6 Windows 10: COM port resets after each upload #1007

stegu opened this issue May 26, 2022 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@stegu
Copy link

stegu commented May 26, 2022

Describe the problem

Each time I upload a sketch to an Arduino Micro, the virtual COM port disappears briefly (due to how the virtual COM ports work), and another one appears in its stead while the upload is in progress. The new 2.0 IDE (rc6) reacts to this and changes the COM port setting to my native COM1, which has no device connected, neither an Arduino or any other type. If I fail to manually change the COM port setting back to the correct value before the next upload, that upload stalls, locks me out from making any further uploads for a good while, and finally (after a minute or so) fails with an error message that the upload failed.

Please make the COM port setting resistant against these quick disappearing/reappearing acts by the selected virtual port, at least for the micro and some other devices which does this for every upload.

To reproduce

Use 2.0 rc6 on Windows 10, on a computer with one or more other COM ports (virtual or real) to upload a sketch to an Arduino Micro. The COM port setting changes.

Expected behavior

The COM port setting should not change.

Arduino IDE version

Version: 2.0.0-rc6 Date: 2022-04-20T10:23:13.437Z CLI Version: 0.21.0 [10107d24]

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
@stegu stegu added the type: imperfection Perceived defect in any part of project label May 26, 2022
@per1234 per1234 self-assigned this May 27, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label May 27, 2022
@per1234
Copy link
Contributor

per1234 commented May 27, 2022

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

I see we have another report about this at #710.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2022
@per1234 per1234 added the conclusion: duplicate Has already been submitted label May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants