-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
'No device found on COMXX' message when IDE identifies board and port itself #1306
Comments
Hi @aliphys. Thanks for your report. Please try it with the latest nightly build and then tell us whether the issue still occurs. There was a bug with uploading in Arduino IDE 2.0.0-rc9.1, which has already been fixed (#1279), but since you are using the release version instead of the nightly, you don't have that fix in your IDE. |
On the first restart, it did not work. But the second time I restarted, I was able to upload the sketch. As an additional note, I didn't hear the windows hardware disconnect/reconnect sound (https://www.youtube.com/watch?v=I0btZwXX6Qs) when I had upload problems. |
Thanks for checking. I'm glad it is working now. Please comment here if you experience the problem while using the nightly.
A successful upload procedure for the MKR WiFi 1010 is like this:
The bug in Arduino IDE 2.0.0-rc9.1 prevented the serial connection that was required during step (3). For this reason, the board does not go through the normal disconnection, reconnection cycle. |
I have hit the same problem again: the IDE identifies the board as well as the port, yet refuses to upload. Similar to before, I do not hear the windows disconnect/reconnect sound.
I am on the nightly release (20220808). I restarted my laptop. Now it is stuck on To make this more clear, I have made a recording of what I have done. I then re-opened the IDE (again, on the nightly version) and again showed what steps I have taken This is the screenshot of the final result, upon uploading again as seen in the second video. Hope this helps. Let me know if I can provide further information. :) |
I'm going to ask you to provide the output from the upload when in verbose mode. Hopefully that will offer some clues about the problem. Please do this:
|
This is what I get after a few seconds in the terminal.
After 3 minutes, these lines appear.
10 minutes have passed since I have hit upload. The upload has not been successfully uploaded to the MKR WIFI 1010, nor has it failed. The IDE seems to have got stuck in uploading purgatory. :) |
OK. Just as I hit
|
Does the problem also occur when you upload using Arduino IDE 1.8.19? Do you have the serial port of the board open in any other program on your computer? That includes even having it open in the Serial Monitor of Arduino IDE 1.x while uploading using Arduino IDE 2.x. Is COM18 identified in the Arduino IDE Tools > Port menu as "COM18 (Arduino MKR WiFi 1010)"? Make sure to use the Tools > Port menu for this check rather than the board selector on the Arduino IDE 2.x toolbar because the board selector shows whichever board selection you used with the port, not the identification of the port as the Port menu does. |
Yes.
I am not aware of the Serial port being used for any other program. To make sure that there is no conflict, I closed the IDE version I am not using.
Port information according to: |
Since you mentioned the port might be open by another program on the computer, I followed the steps in this Help Centre article to see if this is the case. I could not find a process that may have taken over the Serial port. |
In order to provide more information on the possibility of the port being open by other programs, I tried to do three more tests.
|
Hello @kittaakos |
Update: After not touching my boards for nearly two weeks, the error is not displayed anymore. |
I have the exact same problem with a MKR Wan 1310 and Arduino IDE 2.1.0. |
Oops, finally by double clicking on the reset button as mentioned on the previous post, the problem disappeared. |
Hi, I'm having the same problem: Sketch uses 31328 bytes (11%) of program storage space. Maximum is 262144 bytes. It started happening intermittently and now it's every time. I've swapped in a different Nano, 3 different cables, the current build, nightly build. I've rebooted 100 times. Above is "verbose" and running bossac directly fails immediately in spite of the IDE seeing it just fine. Any ideas? I'm out. |
@brendanrempel please post over on Arduino Forum: https://forum.arduino.cc/c/using-arduino/avrdude-stk500-bootloader-issues/81 The scope of this issue is tracking the unexpected occurrence of this upload failure within a perfectly working system. It is common for the same failure to be caused by various user-produced problems with the system. The forum is the place where we can help you to troubleshoot those potential problems and find a solution. |
I met the same issue, when I looked into R4 UNO WIFI schematic, I noticed that the USB ( used to link PC and Arduino) is from ESP32-S3. That is to say, S3 USB worked as a bridge between PC (Arduion IDE ) and the MCU (Renesas R7FA). The issue must come from ESP32S3. Following one of the solutions from above message, I upgrade the usb-bridge firmware. It can be found at |
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
Failed uploading: uploading error: exit status 1 No device found on COMXX
is shown.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
The text was updated successfully, but these errors were encountered: