Skip to content

'No device found on COMXX' message when IDE identifies board and port itself #1306

Open
@aliphys

Description

@aliphys

Describe the problem

After using the IDE for some time, the IDE decides that even though itself identified the board/port, the board/port in question does not exist according to the uploader. In the present issue, I have used a MKR WIFI 1010 and replicated the problem with another (new) board as well. This issue has been present on multiple computers, and is usually fixed by restarting the PC.

A video demonstration of the issue with the first board (COM18)
Screen sharing - 2022-08-08 5 49 21 PM.webm

Screenshots of IDE 2.0.0-rc9.1 with second board (COM17)
image

Screenshots of IDE 1.8.19 with second board (COM17)
image

To reproduce

  1. Use the IDE 2.x for some period of time
  2. Connect the MKR WIFI 1010 (without a battery)
  3. Make sure that the board and port are correctly selected
  4. Click on upload
  5. The message Failed uploading: uploading error: exit status 1 No device found on COMXX is shown.
  6. Close window and open blink sketch in IDE 1.x
  7. After selecting board/port, upload again
  8. You will get the same error.
    Bonus: Use another board and do steps 1-9 again

Expected behavior

The code is uploaded and the message Failed uploading: uploading error: exit status 1 No device found on COMXX is not shown in the outlet.

Arduino IDE version

Tested with: Arduino IDE 2.0.0-rc9.1 & Arduino IDE 1.8.19

Operating system

Windows

Operating system version

Windows 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

Metadata

Metadata

Assignees

Labels

topic: 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