-
-
Notifications
You must be signed in to change notification settings - Fork 419
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 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, Driver: Chip: |
This comment has been minimized.
This comment has been minimized.
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 |
I have experienced the same problem as described here. Going one version back on the serial driver did not help. Slowing the baud rate to 9600 did not help. I am presently using Putty for serial monitoring. |
Thanks for your report @william-orange. Which operating system are you using (e.g., "Windows 10")? Which USB to serial chip does the board you are using have (e.g., "CH340")?
Does the BSoD also occur when using PuTTY, or does it only occur when using the Arduino IDE Serial Monitor? |
I am using a variant of the Cheap Yellow Display. I examined the serial chip with my jewler's lup. Nothing is legible. I believe it is a CH340 but I can not confirm it. I am running windows 11 24h2 and the latest Arduini IDE release. The BSoD does not occure when using Putty. I have let it run hours to be sure. Here's a sample from BlueScreenView.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
My laptop's device manager says like this, what should I do now? |
Hi @alexew0923. I have found that when the driver installation gets into this state, it can be solved by uninstalling and then reinstalling the drivers. After that, the "roll back" option should be enabled. I'll provide instructions you can follow to do that:
Now start Arduino IDE again and upload the "hello" test sketch to your board. Hopefully it will no longer cause a BSoD. |
@per1234 I could fix the problem by following your steps, thank you so much! |
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 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:
or when Windows is configured for an English language locale:
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:
Additional reports
Related
Issue checklist
The text was updated successfully, but these errors were encountered: