Closed
Description
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
- Upload a sketch that causes the board to print continuously to Serial:
void setup() { Serial.begin(9600); } void loop() { Serial.println("hello"); delay(5); }
- Open Serial Monitor
🐛 A BSOD occurs a few minutes
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
The message on the BSoD says:
Stillstandcode: DRIVER_IRQL_NOT_LESS_OR_EQUAL
Fehlerursache: CH341S64.SYS
or when Windows is configured for an English language locale:
Stop code: DRIVER_IRQL_NOT_LESS_OR_EQUAL
What failed: CH341S64.SYS
The BSoD occurs sooner if the baud rate is changed from 9600 (as used in the demo sketch) to 115200 baud.
I have attempted the following to solve the problem, without any success:
- Reinstalling the CH340 driver
- Updating from Arduino IDE 2.3.3 to 2.3.4
- Using another cable
- Using another Arduino sketch
Additional reports
- Bluescreen of Death when board prints continuously to Serial Monitor #2592 (comment)
- Bluescreen of Death when board prints continuously to Serial Monitor #2592 (comment)
- Bluescreen of Death when board prints continuously to Serial Monitor #2592 (comment)
- Frequent reading and writing of the serial port causes a blue screen in the window bugst/go-serial#197
- https://forum.arduino.cc/t/sudden-issue-bsods-on-4-different-laptops-using-arduino-mega-ch341-in-classroom-today-first-time-in-3-months/1326498/1
- https://forum.arduino.cc/t/sudden-issue-bsods-on-4-different-laptops-using-arduino-mega-ch341-in-classroom-today-first-time-in-3-months/1326498/12
- https://forum.arduino.cc/t/sudden-issue-bsods-on-4-different-laptops-using-arduino-mega-ch341-in-classroom-today-first-time-in-3-months/1326498/17
- https://forum.arduino.cc/t/windows-10-bluescreen-on-excessive-serial-prints/1339114
- https://forum.arduino.cc/t/blue-screen-of-death-bsod-win11-23h2-arduino-ide-v-2-3-4/1340997/1
- https://forum.arduino.cc/t/blue-screen-of-death-bsod-win11-23h2-arduino-ide-v-2-3-4/1340997/3
- https://forum.arduino.cc/t/bsod-ch340-and-328p/1347940/1
- https://forum.arduino.cc/t/bsod-ch340-and-328p/1347940/3
- https://forum.arduino.cc/t/ide-crashes-my-computer/1356709
- https://forum.arduino.cc/t/bluescreen-of-death-while-using-ide-stop-code-driver-irql-not-less-or-equal/1361689
Related
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details