-
Notifications
You must be signed in to change notification settings - Fork 132
Serial Port Not Found error after upload when serial monitor is open #1394
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
That is a really wierd behaviour. So my current thinking is that you have a serial monitor running watching com port 6 and the reconnection to com port 6 fails. |
Yes it's odd. Don't think I every had this issue with Sloeber 4.3.1. But, may be I didn't use std::deque<uint8_t> before. Wonder if it's related to the toolchain issue. Here's my post on at that on Teensy forum: https://forum.pjrc.com/threads/68342-std-deque-Won-t-Compile-for-Teensy-3-x Right, Serial Monitor was open. I closed it and had no issue with the upload. Then opened Serial Monitor and it was OK. Thanks. |
I think it is a timing issue. Sloeber tries to open the com port before the com port is available after upload. |
It was indeed a racing condition and as I optimized the upload code this racing condition happened more often. |
How does one install and use the "nightly"? What does "latest version in actions" mean? |
As explained here http://eclipse.baeyens.it/nightly.php |
Perfect. Thank you. And, thanks for a great product. |
Hi.
Running Sloeber 4.4 Product on Win 10 Desktop. Problem Code:
Note that the code won't compile if the 'Serial.println()' statement is omitted. That's a known toolchain (linker) issue. Not the problem I'm asking about here.
The above code compiles, but after the Teensy Loader uploads to the T3.6, Sloeber gives this error:

If I comment out the 'myQueue.push_back(100)' statement, the error does NOT occur.
This problem does not happen uploading the same code to the same Teensy 3.6 using Arduino 1.8.15.
Project Properties:

Let me know if you require further information.
Thanks.
The text was updated successfully, but these errors were encountered: