You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frequent reading and writing of the serial port causes a blue screen in the window
To reproduce
Port interface:
// Stores data received from the serial port into the provided byte array
// buffer. The function returns the number of bytes read.
//
// The Read function blocks until (at least) one byte is received from
// the serial port or an error occurs.
Read(p []byte) (n int, err error)
// Send the content of the data byte array to the serial port.
// Returns the number of bytes written.
Write(p []byte) (n int, err error)
Please double-check that you have reported each of the following
before submitting the issue.
I've provided the FULL source code that causes the problem
I've provided all the actions required to reproduce the problem
Select View > Devices by type from the Device Manager menus.
Open the "View" menu.
If there is a ✓ to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
Open the "Ports (COM & LPT)" section of the Device Manager tree.
You should see a port identified as "USB-SERIAL CH340 (COMn)" under the "Ports (COM & LPT)" section (where "COMn" is some serial port e.g., COM4). Double click on that item.
The "USB-SERIAL CH340 (COMn) Properties" dialog will open.
Select the "Driver" tab of the "USB-SERIAL CH340 (COMn) Properties" dialog.
You will see the version in the "Driver Version" field of the dialog.
Describe the problem
Frequent reading and writing of the serial port causes a blue screen in the window
![微信图片_20250114181437](https://private-user-images.githubusercontent.com/52482860/402899891-e423b8b5-4312-4577-b61a-65cddaa75386.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjM1NTEsIm5iZiI6MTczOTE2MzI1MSwicGF0aCI6Ii81MjQ4Mjg2MC80MDI4OTk4OTEtZTQyM2I4YjUtNDMxMi00NTc3LWI2MWEtNjVjZGRhYTc1Mzg2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NTQxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIzMzMxYzgyNDAyM2JmMzY4ZTUyZjE3MTA1NzU0ZGM4NTBkNmViODhhM2I0NTcxYWNmNTNlZGJiNGIxYTZkZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3fTyt-Yj7jAxntEfiVNX1lZ67wWIYMj2tPu3n7lEilA)
To reproduce
Port interface:
// Stores data received from the serial port into the provided byte array
// buffer. The function returns the number of bytes read.
//
// The Read function blocks until (at least) one byte is received from
// the serial port or an error occurs.
Read(p []byte) (n int, err error)
Please double-check that you have reported each of the following
before submitting the issue.
Expected behavior
Operating system and version
window11
Please describe your hardware setup
Additional context
Issue checklist
The text was updated successfully, but these errors were encountered: