-
Notifications
You must be signed in to change notification settings - Fork 288
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
Cannot open port after upgrading from 2.10.2 to 2.11.0 #562
Comments
It also fails with 2.10.4: lastErrorCode=25, lastErrorLocation=758 Is it the native source code line I should at?
Serial port options:
|
2.10.3 also fails... so the last release version which works is 2.10.2. |
I am experiencing this issue as well, but I have isolated it to only being a problem on some machines. My raspberry pi machines experience the issue, but the Windows devices do not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS: Ubuntu 22.04.4 LTS
Arch: x86_64
Java: 11.0.23-tem
I try to connect to Arduino Mega boards using
openPort()
.With 2.11.0 I get the error: lastErrorCode=25, lastErrorLocation=768
I also retry opening the port 3-times but all of these attempts result in the above error.
It works with 2.10.2 (although only if I call
flushIOBuffers()
beforeopenPort()
- I don't know why it is necessary :( )The reason for upgrading (besides keeping the dependencies up-to-date) is that recently we experienced instability with the USB-serial devices. E.g. after successfully running our software, then restarting it, the serial ports fail to connect. In this case only unplugging and replugging the USB cables, OR sometimes only restarting the whole computer helps :(
The text was updated successfully, but these errors were encountered: