-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Upload fails after native USB board is disconnected w/ Serial Monitor open #8851
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
Comments
Hi @per1234 , thanks for reporting here. |
I just gave it a try on Linux and indeed I could not reproduce the issue. So I think you're right about it being a Windows-only thing. |
BY the way - I have not yet used Serial Monitor with these M0 processors as I have only had them a day. This just happens whenever I connect one. |
Another example...Arduino IDE says M0 connected to COM5....but in dropdown clearly shows on COM7 (albeit multiple times) If I try to upload now... "processing.app.debug.RunnerException If I select COM7 and upload; Sometimes that process will find the chip itself, others it will fail, or I press reset. If I try to upload again; Then, one more try, it uploads...but when I go back to IDE Ports list... expecting to hit COM255 by the weekend at this rate! |
Sorry for many pictures...but I have Parkinsons and typing is difficult... |
@per1234 @GreyArea1966 the multiple entries bug gets solved by #8046 (also merged in Beta 107). Arduino/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java Lines 203 to 216 in 00a7546
It used to fail too before ffba05f but didn't report any error. I'm wondering if partially reverting that patch could be the right approach. @cmaglie ? |
I just pushed d2f8e15 in PR #8046 to also fix the upload problem. |
Arduino IDE Hourly Build 2019/04/18 12:33 / Arduino IDE 1.9.0-beta build 105, Windows 10 64 bit
The upload process completes successfully, but the Arduino IDE doesn't recognize this and after a delay the upload is shown to have failed with the error:
You must now exit the Arduino IDE and start it again before you can upload without the spurious failure.
When using Arduino IDE 1.8.9 or the Hourly Build, disconnecting the board while Serial Monitor is open and then reconnecting causes multiple duplicate ports to be shown in the Tools > Port menu. This does not occur with Arduino IDE 1.9.0-beta, but the spurious upload failure still does occur.
The duplicate ports and spurious upload failure issue does not occur with Arduino IDE 1.8.8.
Originally reported at:
The text was updated successfully, but these errors were encountered: