RJCP.IO.Ports SerialPortsStream System.IO.IOException - Invalid configuration (BreakState, Length, Position)
See original GitHub issueHi guys, (again)
Due to the lack of answers in SOVF, I am echoing my question posted in there regarding this issue that has been bugging me for a while where a System.IO.IOException
refers to an Invalid configuration (BreakState, Length, Position) (according to the Watch utility)
When working on my home PC, I simply cannot use the RJCP SerialPortStream package since I ALWAYS run into the same issue.
After attempting to configure the SerialPortStream
object (through a push button) in the form:
USBPort = new SerialPortStream(Controller.PortCOM, _DefaultBaudrate); // where Controller.PortCOM is a string "COM6" and _DefaultBaudrate is 115200;
Visual Studio throws the following error:
Inspecting my SerialPortStream
USBPort
object with the Watch utility, this is what I get:
It should be noted that this issue ONLY occurs on my PC at home (Ryzen 9 3900X, Windows 10 21H1, Build 19043.1288, Visual Studio 2019 16.11.5) while the SAME code works fine (not showing the same issue, at least) in other two computers with similar platforms (two Intel laptops)
What could be happening here?
What do these errors mean?
In case I am missing some details on my development platforms, please let me know.
Thank you (once again)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
Closing this issue, as there has been no activity or updates to identify the root cause. Please see the new release 2.4.0 which may contain potential fixes.
Dear Jason
My apologies for the later reply. I basically came back from a long 2 month holiday period.
That’s alright. I can confirm that the issue did not occur again on my work’s computer. However, I have not been able to test it again. Within the following days, I will ‘dust’ my project and continue where I left it back in late November.
Happy New Year and thanks once again for your continuous support!
Cheers