Description
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)
Screenshots of IDE 1.8.19 with second board (COM17)
To reproduce
- Use the IDE 2.x for some period of time
- Connect the MKR WIFI 1010 (without a battery)
- Make sure that the board and port are correctly selected
- Click on upload
- The message
Failed uploading: uploading error: exit status 1 No device found on COMXX
is shown. - Close window and open blink sketch in IDE 1.x
- After selecting board/port, upload again
- 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