-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
Bluescreen of Death when board prints continuously to Serial Monitor #2592
Comments
Hi @Joko-1. Thanks for your report. I'm going to ask you to provide some additional information: Please provide a simple sketch that you have verified to produce the BSOD. For example, does the BSOD occur if you upload this sketch to your board?: void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("hello");
delay(5);
} Please also tell me which version of the CH340 driver you have installed. You can find this information by the following procedure:
You will see the version in the "Driver Version" field of the dialog. Please also tell me whether there is labeling on the CH340 chip on your board. If present, the labeling would look something like this: But the chip might also be blank. |
Thanks for respond, It also happens, when I use your script. I tested it a few times with baud rate 115200, 9600. Driver: Chip: |
The BSOD issue appears to stem from the CH341S64.SYS driver for the CH340 Serial chip. Here's a streamlined approach to resolve it:
|
This comment has been minimized.
This comment has been minimized.
After this issue occurred, I tried to fix it by installing the old 2011 driver |
Thanks for sharing this valuable information @bankdaysun! This indicates that the problem is in the latest version of the CH340 driver, and not in Arduino IDE. Did you find that the problem came back later? I ask because in my experience Windows will automatically update the driver to the problematic version once again after some time. |
Hi @Joko-1. I will provide instructions you can follow to install an older version of the driver. Hopefully the problem will not occur when that older version is used, as was reported by @bankdaysun. Unfortunately I am not able to reproduce the fault on a Windows 10 virtual machine, or on a Windows 11 physical machine (I don't have a Windows 10 physical machine) by running the "hello" sketch on my ESP32-CAM board (which has a CH340 chip) with the problematic
Now start Arduino IDE again, upload the "hello" test sketch to your board. Hopefully it will no longer cause a BSoD. When you perform the special "roll back" procedure per the instructions I provided above, Windows is smart enough to understand that it should not later update the driver to the problematic version |
Describe the problem
A Bluescreen of Death occurs after about 30 seconds when the board is running a sketch program that causes continuous printing to Serial Monitor:
To reproduce
🐛 A BSOD occurs after about 30 s.
Expected behavior
No BSOD
Arduino IDE version
2.3.4
Operating system
Windows
Operating system version
10 22H2
Additional context
The fault does not occur when I open the serial port of the board in PuTTY.
Board: ESP32-WROOM-32 with CH340 Serial chip
Stillstandcode: DRIVER IRQL NOT. LESS OR EQUAL
Fehlerursache: CH341S64.SYS
I have attempted the following to solve the problem, without any success:
Additional reports
Related
Issue checklist
The text was updated successfully, but these errors were encountered: