Go Down

Topic: Blue screen when PC resumes from sleep when Arduino plugged into USB (Read 1 time) previous topic - next topic


If I leave my Arduino UNO connected to my PC, and the PC goes to sleep, then my PC cannot resume and has the blue screen of death.  My Arduino is sending lots of stuff via Serial.Print... but I do not have to start the Serial Monitor to get the bad behaviour.

The problem is deterministic and easy to repro.
I dont need to wait - if I put the machine to sleep manually then waken it from its slumber, it will happen immediately.

Im using Windows 8

In case its relevant, here is the info from Device Manager:
Arduino UNO ( COM3)
Manufacturer : http://www.arduino.cc
Location:   Port_#0001.Hub_#0004
Driver Date 1/01/2012
Driver Version
Digital Signer: Joe's-Software-Emporium
Driver Files  c:\windows\system32\DRIVERS\usbser.sys
   File Version 6.2.9200.16384 ( win8_rtm.120725-1247)
Power Data
   Current power state:
   Power capabilities:
   Power state mappings:
   S0 -> D0
   S1 -> D2
   S2 -> D2
   S3 -> D2
   S4 -> D2
   S5 -> D3

Coding Badly

Have you determined that the fault occurs in usbser.sys?


No, I haven't chased where exactly the problem happens.  I did try - I opened the minidump that Windows produces with Visual Studio, but didn't get far.  Turns out on this machine I only have VS2012, and it complained that the minidump could not be opened by such a new version!  So much for backwards compatibility.  I doubt I would have learnt much anyway.

Louis Davis


Well Im not sure what to make of it, but I submitted the minidump, and this is part of the analysis:

USB Driver bugcheck, first parameter is USB bugcheck code.
Arg1: 0000000000000004, IRP_URB_DOUBLE_SUBMIT The caller has submitted an irp
   that is already pending in the USB bus driver.
Arg2: fffffa800e6dd010, Address of IRP
Arg3: fffffa800b035f80, Address of URB
Arg4: fffffa8012549010

Go Up