Skip to content

Bluescreen of Death when board prints continuously to Serial Monitor #2592

Closed
@Joko-1

Description

@Joko-1

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:

Image

To reproduce

  1. Upload a sketch that causes the board to print continuously to Serial:
    void setup() {
      Serial.begin(9600);
    }
    
    void loop() {
      Serial.println("hello");
      delay(5);
    }
  2. 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

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

Metadata

Metadata

Assignees

Labels

os: windowsSpecific to Windows operating systemtopic: serial monitorRelated to the Serial Monitortype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions