Arduino not being recognized by Windows?
Moderators: adafruit_support_bill, adafruit

Arduino not being recognized by Windows?

by serchaos on Sun Feb 27, 2011 4:42 pm

Hi all,

I've spent a few weekends so far scratching my head over this problem - I got my Arduino Uno starter kit some two months back and just recently cracked it open to have some fun with the tutorials. Unfortunately, I cannot get any of my sketches to upload.

I have two computers, desktop and laptop, both running Win7 x64. I have tried plugging the Arduino into multiple USB ports on both computers (with two separate USB cables), and neither seems to automatically detect the Arduino under the Device Manager. The Arduino has power when plugged in - solid green light and blinking amber light are both present.

If I manually install the drivers from the FTDI website or from the arduino-0022 distribution, as I've seen posted in other forum topics, I get a new COM3 port available on my laptop (where there was previously nothing), but it is unable to be used (Windows says it is experiencing problems).
No additional ports appear under the Device Manager for my desktop. If I install the drivers manually, there is a COM1 port present, but when using it to upload sketches with the Arduino plugged in, I just get:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I searched around a bit more for a way to do it in my Ubuntu partition (10.04), but the PPA link I found with the arduino drivers was just a 404, and synaptic can't find an official one.

I'm really stumped here, and any help someone could provide would be great.
serchaos
 
Posts: 5
Joined: Sat Dec 18, 2010 10:55 pm

Re: Arduino not being recognized by Windows?

by adafruit_support_bill on Sun Feb 27, 2011 4:48 pm

Do you see any blinking of the Rx & Tx leds when attempting an upload?
Hold the shift key when pressing the upload button and post the output.
User avatar
adafruit_support_bill
 
Posts: 29057
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduino not being recognized by Windows?

by serchaos on Sun Feb 27, 2011 10:14 pm

Neither Rx nor Tx LEDs blink while uploading.

Verbose output from uploading Blink:

Binary sketch size: 1018 bytes (of a 32256 byte maximum)
C:\Users\Arc\Desktop\dev\ARDUNIO\arduino-0022\hardware/tools/avr/bin/avrdude -CC:\Users\Arc\Desktop\dev\ARDUNIO\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM1 -b115200 -D -Uflash:w:C:\Users\Arc\AppData\Local\Temp\build785206406463404719.tmp\Blink.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "C:\Users\Arc\Desktop\dev\ARDUNIO\arduino-0022\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM1
Using Programmer : stk500v1
Overriding Baud Rate : 115200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.

Thanks for the quick reply :)
serchaos
 
Posts: 5
Joined: Sat Dec 18, 2010 10:55 pm

Re: Arduino not being recognized by Windows?

by adafruit on Mon Feb 28, 2011 2:11 pm

UNO do NOT use FTDI drivers! Please uninstall FTDI drivers and install the Uno drivers!
User avatar
adafruit
 
Posts: 11668
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Arduino not being recognized by Windows?

by serchaos on Mon Feb 28, 2011 8:47 pm

Okay, this afternoon I uninstalled the FTDI drivers (COM1). After rebooting and plugging the Uno back in, Windows detected it and installed the drivers it thought were best, giving me COM1 back. However, I get the same debug spew as before when trying to upload a sketch.
Then I tried manually updating the drivers through Windows, pointing it at \arduino-0022\drivers (where the INF is located, not the FTDI subfolder) with no luck, according to Windows the drivers are already up to date.
Same thing happens on my other machine, but with COM3, and it won't autodetect the Arduino when it is plugged in, I have to manually install the drivers as legacy hardware.
serchaos
 
Posts: 5
Joined: Sat Dec 18, 2010 10:55 pm

Re: Arduino not being recognized by Windows?

by adafruit_support_bill on Tue Mar 01, 2011 5:43 am

Uninstall whatever driver Windows installed, and then install the Arduino UNO.inf.
User avatar
adafruit_support_bill
 
Posts: 29057
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduino not being recognized by Windows?

by borders on Tue Mar 01, 2011 9:34 pm

Hi All,

Following serchaos's example, (my UNO SMD edition is not discovered by the Device Manager), I added the Uno ini file as legacy hardware. I get "This device cannot start. (Code 10)". I did not install the FTDI drivers. I did install the distribution 0022 Uno driver. What is next? Thanks!

My machine is Windows 7 - 32 bit.
My Device Manager Ports (COM & LPT):
Arduino UNO(COM5), but with the yellow warning triangle. (after the manual legacy hardware addition).
Communications port (COM1)
When the UNO is connected I get a green "on" light and a blinking amber "L" light.
borders
 
Posts: 5
Joined: Tue Feb 15, 2011 5:36 pm

Re: Arduino not being recognized by Windows?

by serchaos on Tue Mar 01, 2011 11:40 pm

Yup, this exact thing is happening to me now. Can't believe I failed at 'uninstall and reinstall the drivers'.
serchaos
 
Posts: 5
Joined: Sat Dec 18, 2010 10:55 pm

Re: Arduino not being recognized by Windows?

by borders on Wed Mar 02, 2011 6:19 am

Hi Serchaos,

Since I had the benefit of reading post first and skipping the FTDI driver installation, and we arrived at the same point, I'm thinking that you succeeded at installing the UNO driver. :-)
borders
 
Posts: 5
Joined: Tue Feb 15, 2011 5:36 pm

Re: Arduino not being recognized by Windows?

by adafruit_support_bill on Wed Mar 02, 2011 6:56 am

I get "This device cannot start. (Code 10)".

This usually indicates a driver problem. Things to try:
    Open the device properties dialog to see if there is any further detail on the error.
    Make sure that there are no conflicts in virtual COM port assignments (2 devices assigned to the same COM port)
    Make sure you have the correct version of the driver
    Restart the computer
    Microsoft used to recommend uninstalling and re-installing the entire set of USB drivers in 2000 & XP. I'm not sure if that applies to Widows 7.
Other possible causes:
    Bad cable
    Too many devices on a USB hub
User avatar
adafruit_support_bill
 
Posts: 29057
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduino not being recognized by Windows?

by borders on Thu Mar 03, 2011 5:39 am

In your list of things to do, I didn't see anything new.

Looking at other forum threads I checked this installation log file: C:\Windows\inf\setupapi.dev.log. In that thread a file was missing from the driver package. It looks to me that there is a file missing from the driver package? The "layout.inf" file. In the other thread where I got the idea to look, it was a different file that was missing.

3 chunks of the seutupapi log. Chunk#1: file missing.

>>> [Device Install (DiInstallDevice) - ROOT\PORTS\0000]
>>> Section start 2011/03/01 21:03:10.766
cmd: "C:\Windows\system32\mmc.exe" C:\Windows\system32\devmgmt.msc
dvi: Selected driver installs from section [DriverInstall] in 'c:\program files\arduino-0022\drivers\arduino uno.inf'.
dvi: Set selected driver complete.
inf: {SetupCopyOEMInf: c:\program files\arduino-0022\drivers\arduino uno.inf} 21:03:10.774
sto: {Import Driver Package: c:\program files\arduino-0022\drivers\arduino uno.inf} 21:03:10.805
sto: Importing driver package into Driver Store:
sto: Driver Store = C:\Windows\System32\DriverStore (Online | 6.1.7601)
sto: Driver Package = c:\program files\arduino-0022\drivers\arduino uno.inf
sto: Architecture = x86
sto: Locale Name = neutral
sto: Flags = 0x00000000
sto: Copying driver package files to 'C:\Users\Bleu\AppData\Local\Temp\{0058fa76-135a-186c-7751-

00171b5a9010}'.
inf: Opened INF: 'c:\program files\arduino-0022\drivers\arduino uno.inf' ([strings])
! inf: Could not find include INF file "layout.inf". Error = 0x00000002
inf: Opened INF: 'C:\Windows\System32\DriverStore\FileRepository\mdmcpq.inf_x86_neutral_9f203c20b6f0dabd

\mdmcpq.inf' ([strings])
inf: Opened INF: 'c:\program files\arduino-0022\drivers\arduino uno.inf' ([strings])
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - 'c:\program files\arduino-0022\drivers'
flq: SourceFilename - 'arduino uno.inf'
flq: TargetDirectory- 'C:\Users\Bleu\AppData\Local\Temp\{0058fa76-135a-186c-7751-00171b5a9010}'
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}


Chunk#2: User has forced the installation.

flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 21:03:11.461
! sto: Driver package does not contain a catalog file, but user wants to install anyway.
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 21:03:14.794
sto: Verified driver package signature:
sto: Digital Signer Score = 0xFF000000
sto: Digital Signer Name = <unknown>
sto: {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 21:03:14.804


Chunk#3 verification failed.

sig: {_VERIFY_FILE_SIGNATURE} 21:03:46.623
sig: Key = arduino uno.inf
sig: FilePath = C:\Windows\System32\DriverStore\FileRepository\arduino

uno.inf_x86_neutral_21f372cd0616c571\arduino uno.inf
sig: Catalog = C:\Windows\System32\DriverStore\FileRepository\arduino

uno.inf_x86_neutral_21f372cd0616c571\CDC_vista.cat
! sig: Verifying file against specific (valid) catalog failed! (0x00000057)
! sig: Error 87: The parameter is incorrect.
sig: {_VERIFY_FILE_SIGNATURE exit(0x00000057)} 21:03:46.638
sig: {_VERIFY_FILE_SIGNATURE} 21:03:46.640
sig: Key = arduino uno.inf
sig: FilePath = C:\Windows\System32\DriverStore\FileRepository\arduino

uno.inf_x86_neutral_21f372cd0616c571\arduino uno.inf
sig: Catalog = C:\Windows\System32\DriverStore\FileRepository\arduino

uno.inf_x86_neutral_21f372cd0616c571\CDC_vista.cat
! sig: Verifying file against specific Authenticode(tm) catalog failed! (0x80092003)
! sig: Error 0x80092003: An error occurred while reading or writing to a file.
sig: {_VERIFY_FILE_SIGNATURE exit(0x80092003)} 21:03:46.655
dvi: Selected driver installs from section [DriverInstall] in 'c:\windows\system32\driverstore\filerepository\arduino

uno.inf_x86_neutral_21f372cd0616c571\arduino uno.inf'.
dvi: Set selected driver complete.
borders
 
Posts: 5
Joined: Tue Feb 15, 2011 5:36 pm

Re: Arduino not being recognized by Windows?

by adafruit_support_bill on Thu Mar 03, 2011 6:07 am

Here is a log from a successful install:
It does complain about a missing layout.inf and some signature verification errors, but the ultimate "Exit Status" is "SUCCESS". What is the Exit Status for the install in your log?

Code: Select all | TOGGLE FULL SIZE
>>>  [Device Install (DiShowUpdateDevice) - USB\VID_2341&PID_0001\64938323331351B07052]
>>>  Section start 2010/11/28 07:26:20.869
      cmd: "C:\windows\system32\mmc.exe" C:\windows\system32\devmgmt.msc
     dvi: {DIF_UPDATEDRIVER_UI} 07:26:20.870
     dvi:      No class installer for 'Arduino Uno'
     dvi:      Default installer: Enter 07:26:20.872
     dvi:      Default installer: Exit
     dvi: {DIF_UPDATEDRIVER_UI - exit(0xe000020e)} 07:26:20.873
     ndv: {Update Driver Software Wizard for USB\VID_2341&PID_0001\64938323331351B07052}
     inf:      Opened INF: 'd:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf' ([strings])
     inf:      {SetupCopyOEMInf: d:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf} 07:27:21.073
     sto:           {Import Driver Package: d:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf} 07:27:21.089
     sto:                Importing driver package into Driver Store:
     sto:                     Driver Store   = C:\windows\System32\DriverStore (Online | 6.1.7600)
     sto:                     Driver Package = d:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf
     sto:                     Architecture   = amd64
     sto:                     Locale Name    = neutral
     sto:                     Flags          = 0x00000000
     sto:                Copying driver package files to 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}'.
     inf:                Opened INF: 'd:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf' ([strings])
!    inf:                Could not find include INF file "layout.inf". Error = 0x00000002
     inf:                Opened INF: 'C:\windows\System32\DriverStore\FileRepository\mdmcpq.inf_amd64_neutral_774523d133de6343\mdmcpq.inf' ([strings])
     inf:                Opened INF: 'd:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf' ([strings])
     flq:                {FILE_QUEUE_COPY}
     flq:                     CopyStyle      - 0x00000000
     flq:                     SourceRootPath - 'd:\projects\robotics\arduino\arduino-0021\drivers'
     flq:                     SourceFilename - 'arduino uno.inf'
     flq:                     TargetDirectory- 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}'
     flq:                {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                {_commit_file_queue}
     flq:                     CommitQ DelNodes=0 RenNodes=0 CopyNodes=1
     flq:                     {_commit_copy_subqueue}
     flq:                          subqueue count=1
     flq:                          source media:
     flq:                               SourcePath   - [d:\projects\robotics\arduino\arduino-0021\drivers]
     flq:                               SourceFile   - [arduino uno.inf]
     flq:                               Flags        - 0x00000000
     flq:                          {_commit_copyfile}
     flq:                               CopyFile: 'd:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf'
     flq:                                     to: 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}\SETC960.tmp'
     flq:                               MoveFile: 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}\SETC960.tmp'
     flq:                                     to: 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}\arduino uno.inf'
     flq:                          {_commit_copyfile exit OK}
     flq:                     {_commit_copy_subqueue exit OK}
     flq:                {_commit_file_queue exit OK}
     pol:                {Driver package policy check} 07:27:21.685
     pol:                {Driver package policy check - exit(0x00000000)} 07:27:21.686
     sto:                {Stage Driver Package: C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}\arduino uno.inf} 07:27:21.688
     inf:                     Opened INF: 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}\arduino uno.inf' ([strings])
!    inf:                     Could not find include INF file "layout.inf". Error = 0x00000002
     inf:                     Opened INF: 'C:\windows\System32\DriverStore\FileRepository\mdmcpq.inf_amd64_neutral_774523d133de6343\mdmcpq.inf' ([strings])
     inf:                     Opened INF: 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}\arduino uno.inf' ([strings])
     sto:                     Copying driver package files:
     sto:                          Source Path      = C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}
     sto:                          Destination Path = C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}
     flq:                     {FILE_QUEUE_COPY}
     flq:                          CopyStyle      - 0x00000010
     flq:                          SourceRootPath - 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}'
     flq:                          SourceFilename - 'arduino uno.inf'
     flq:                          TargetDirectory- 'C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}'
     flq:                     {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                     {_commit_file_queue}
     flq:                          CommitQ DelNodes=0 RenNodes=0 CopyNodes=1
     flq:                          {_commit_copy_subqueue}
     flq:                               subqueue count=1
     flq:                               source media:
     flq:                                    SourcePath   - [C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}]
     flq:                                    SourceFile   - [arduino uno.inf]
     flq:                                    Flags        - 0x00000000
     flq:                               {_commit_copyfile}
     flq:                                    CopyFile: 'C:\Users\BILLEA~1\AppData\Local\Temp\{73b2ec8e-4ca8-5e94-02a3-57544634f840}\arduino uno.inf'
     flq:                                          to: 'C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}\SETCA4A.tmp'
     flq:                                    MoveFile: 'C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}\SETCA4A.tmp'
     flq:                                          to: 'C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}\arduino uno.inf'
     flq:                               {_commit_copyfile exit OK}
     flq:                          {_commit_copy_subqueue exit OK}
     flq:                     {_commit_file_queue exit OK}
     sto:                     {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 07:27:21.909
!    sto:                          Driver package does not contain a catalog file, but user wants to install anyway.
     sto:                     {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 07:27:25.074
     sto:                     Verified driver package signature:
     sto:                          Digital Signer Score = 0xFF000000
     sto:                          Digital Signer Name  = <unknown>
     sto:                     {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 07:27:25.077
     inf:                          Opened INF: 'C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}\arduino uno.inf' ([strings])
     sto:                          Create system restore point:
     sto:                               Description = Device Driver Package Install: Arduino LLC (www.arduino.cc) Ports (COM & LPT)
     sto:                               Time        = 15335ms
     sto:                               Status      = 0x00000000 (SUCCESS)
     sto:                     {DRIVERSTORE_IMPORT_NOTIFY_BEGIN: exit(0x00000000)} 07:27:40.419
     sto:                     Importing driver package files:
     sto:                          Source Path      = C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}
     sto:                          Destination Path = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571
     sto:                     {Copy Directory: C:\windows\System32\DriverStore\Temp\{35da0a3b-7f41-290a-64df-0045af26a07f}} 07:27:40.425
     sto:                          Target Path = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571
     sto:                     {Copy Directory: exit(0x00000000)} 07:27:40.428
     sto:                     {Index Driver Package: C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf} 07:27:40.429
     idb:                          Registered driver store entry 'arduino uno.inf_amd64_neutral_21f372cd0616c571'.
     idb:                          Published 'arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' to 'C:\windows\INF\oem44.inf'
     idb:                          Published driver store entry 'arduino uno.inf_amd64_neutral_21f372cd0616c571'.
     sto:                          Published driver package INF 'oem44.inf' was changed.
     sto:                          Active published driver package is 'arduino uno.inf_amd64_neutral_21f372cd0616c571'.
     sto:                     {Index Driver Package: exit(0x00000000)} 07:27:40.577
     sto:                     {DRIVERSTORE_IMPORT_NOTIFY_END} 07:27:40.577
     sto:                          Commit system restore point:
     sto:                               Description = Device Driver Package Install: Arduino LLC (www.arduino.cc) Ports (COM & LPT)
     sto:                               Time        = 0ms
     sto:                               Status      = 0x00000000 (SUCCESS)
     sto:                     {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 07:27:40.587
     sto:                {Stage Driver Package: exit(0x00000000)} 07:27:40.589
     ndv:                Doing device matching lookup!
     inf:                Opened INF: 'C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' ([strings])
     inf:                Saved PNF: 'C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.PNF' (Language = 0409)
     ndv:                Found device that matches new INF!
     sto:                Driver package was staged to Driver Store. Time = 19094 ms
     sto:                Imported driver package into Driver Store:
     sto:                     Filename = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf
     sto:                     Time     = 19672 ms
     sto:           {Import Driver Package: exit(0x00000000)} 07:27:40.765
     inf:           Opened INF: 'd:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf' ([strings])
     inf:           Driver Store location: C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf
     inf:           Published Inf Path: C:\windows\INF\oem44.inf
     inf:           Opened INF: 'd:\projects\robotics\arduino\arduino-0021\drivers\arduino uno.inf' ([strings])
     inf:           Installing catalog CDC_vista.cat as: oem44.CAT
!    inf:           Failed to install catalog - error ignored
!    inf:           Error 2: The system cannot find the file specified.
     inf:           OEM source media location: d:\projects\robotics\arduino\arduino-0021\drivers\
     inf:      {SetupCopyOEMInf exit (0x00000000)} 07:27:40.836
     dvi:      Searching for hardware ID(s):
     dvi:           usb\vid_2341&pid_0001&rev_0000
     dvi:           usb\vid_2341&pid_0001
     dvi:      Searching for compatible ID(s):
     dvi:           usb\class_02&subclass_02&prot_01
     dvi:           usb\class_02&subclass_02
     dvi:           usb\class_02
     inf:      Opened PNF: 'C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' ([strings])
     sig:      {_VERIFY_FILE_SIGNATURE} 07:27:40.848
     sig:           Key      = arduino uno.inf
     sig:           FilePath = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf
     sig:           Catalog  = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\CDC_vista.cat
!    sig:           Verifying file against specific (valid) catalog failed! (0x00000057)
!    sig:           Error 87: The parameter is incorrect.
     sig:      {_VERIFY_FILE_SIGNATURE exit(0x00000057)} 07:27:40.856
     sig:      {_VERIFY_FILE_SIGNATURE} 07:27:40.857
     sig:           Key      = arduino uno.inf
     sig:           FilePath = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf
     sig:           Catalog  = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\CDC_vista.cat
!    sig:           Verifying file against specific Authenticode(tm) catalog failed! (0x80092003)
!    sig:           Error 0x80092003: An error occurred while reading or writing to a file.
     sig:      {_VERIFY_FILE_SIGNATURE exit(0x80092003)} 07:27:40.862
     dvi:      Selected driver installs from section [DriverInstall] in 'c:\windows\system32\driverstore\filerepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf'.
     dvi:      Class GUID of device changed to: {4d36e978-e325-11ce-bfc1-08002be10318}.
     dvi:      Set selected driver complete.
     dvi:      {Plug and Play Service: Device Install for USB\VID_2341&PID_0001\64938323331351B07052}
     ump:           Creating Install Process: DrvInst.exe 07:27:40.881
     ndv:           Infpath=C:\windows\INF\oem44.inf
     ndv:           DriverNodeName=arduino uno.inf:DeviceList.NTamd64:DriverInstall:5.1.2600.0:usb\vid_2341&pid_0001
     ndv:           DriverStorepath=C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf
     ndv:           Building driver list from driver node strong name...
     dvi:           Searching for hardware ID(s):
     dvi:                usb\vid_2341&pid_0001&rev_0000
     dvi:                usb\vid_2341&pid_0001
     dvi:           Searching for compatible ID(s):
     dvi:                usb\class_02&subclass_02&prot_01
     dvi:                usb\class_02&subclass_02
     dvi:                usb\class_02
     inf:           Opened PNF: 'C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' ([strings])
     sig:           {_VERIFY_FILE_SIGNATURE} 07:27:40.936
     sig:                Key      = arduino uno.inf
     sig:                FilePath = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf
     sig:                Catalog  = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\CDC_vista.cat
!    sig:                Verifying file against specific (valid) catalog failed! (0x00000057)
!    sig:                Error 87: The parameter is incorrect.
     sig:           {_VERIFY_FILE_SIGNATURE exit(0x00000057)} 07:27:40.969
     sig:           {_VERIFY_FILE_SIGNATURE} 07:27:40.970
     sig:                Key      = arduino uno.inf
     sig:                FilePath = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf
     sig:                Catalog  = C:\windows\System32\DriverStore\FileRepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\CDC_vista.cat
!    sig:                Verifying file against specific Authenticode(tm) catalog failed! (0x80092003)
!    sig:                Error 0x80092003: An error occurred while reading or writing to a file.
     sig:           {_VERIFY_FILE_SIGNATURE exit(0x80092003)} 07:27:40.975
     dvi:           Selected driver installs from section [DriverInstall] in 'c:\windows\system32\driverstore\filerepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf'.
     dvi:           Class GUID of device changed to: {4d36e978-e325-11ce-bfc1-08002be10318}.
     dvi:           Set selected driver complete.
     ndv:           {Core Device Install} 07:27:40.980
     inf:                Opened INF: 'C:\windows\INF\oem44.inf' ([strings])
     inf:                Saved PNF: 'C:\windows\INF\oem44.PNF' (Language = 0409)
     dvi:                {DIF_ALLOW_INSTALL} 07:27:41.001
     dvi:                     Using exported function 'PortsClassInstaller' in module 'C:\windows\system32\MsPorts.Dll'.
     dvi:                     Class installer == MsPorts.Dll,PortsClassInstaller
     dvi:                     No CoInstallers found
     dvi:                     Class installer: Enter 07:27:41.020
     dvi:                     Class installer: Exit
     dvi:                     Default installer: Enter 07:27:41.021
     dvi:                     Default installer: Exit
     dvi:                {DIF_ALLOW_INSTALL - exit(0xe000020e)} 07:27:41.023
     ndv:                Installing files...
     dvi:                {DIF_INSTALLDEVICEFILES} 07:27:41.028
     dvi:                     Class installer: Enter 07:27:41.029
     dvi:                     Class installer: Exit
     dvi:                     Default installer: Enter 07:27:41.030
     dvi:                          {Install FILES}
     inf:                               Opened PNF: 'c:\windows\system32\driverstore\filerepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' ([strings])
     inf:                               Opened INF: 'C:\windows\INF\mdmcpq.inf' ([strings])
     inf:                               Saved PNF: 'C:\windows\INF\mdmcpq.PNF' (Language = 0409)
     inf:                               {Install Inf Section [DriverInstall.NTAMD64]}
     inf:                                    CopyFiles=DriverCopyFiles.NTamd64  (arduino uno.inf line 55)
     cpy:                                    Open PnpLockdownPolicy: Err=2. This is OK. Use LockDownPolicyDefault
     flq:                                    QueueSingleCopy...
     flq:                                    Inf     : 'c:\windows\system32\driverstore\filerepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf'
     flq:                                    SourceInf: 'C:\windows\INF\mdmcpq.inf'
     flq:                                    SourceSection: [sourcedisksfiles]
     flq:                                    Source root path based on SourceInf
     flq:                                    SourceRootPath: 'C:\windows\System32\DriverStore\FileRepository\mdmcpq.inf_amd64_neutral_774523d133de6343'
     flq:                                    {FILE_QUEUE_COPY}
     flq:                                         CopyStyle      - 0x00002000
     flq:                                         {FILE_QUEUE_COPY}
     flq:                                              CopyStyle      - 0x00002000
     flq:                                              SourceRootPath - 'C:\windows\System32\DriverStore\FileRepository\mdmcpq.inf_amd64_neutral_774523d133de6343'
     flq:                                              SourceFilename - 'usbser.sys'
     flq:                                              TargetDirectory- 'C:\windows\system32\DRIVERS'
     flq:                                              TargetFilename - 'usbser.sys'
     flq:                                              SourceDesc     - 'windows cd'
     flq:                                         {FILE_QUEUE_COPY exit(0x00000000)}
     flq:                                    {FILE_QUEUE_COPY exit(0x00000000)}
     inf:                               {Install Inf Section [DriverInstall.NTAMD64] exit (0x00000000)}
     dvi:                               Processing co-installer registration section [DriverInstall.NTAMD64.CoInstallers].
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.CoInstallers]}
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.CoInstallers] exit (0x00000000)}
     dvi:                               Co-installers registered.
     dvi:                               {Install INTERFACES}
     dvi:                                    Installing section [DriverInstall.NTAMD64.Interfaces]
     dvi:                               {Install INTERFACES exit 00000000}
     dvi:                          {Install FILES exit (0x00000000)}
     dvi:                     Default installer: Exit
     dvi:                {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 07:27:41.133
     ndv:                Pruning file queue...
     dvi:                {_SCAN_FILE_QUEUE}
     flq:                     ScanQ flags=620
     flq:                          SPQ_SCAN_PRUNE_COPY_QUEUE
     flq:                          SPQ_SCAN_FILE_COMPARISON
     flq:                          SPQ_SCAN_ACTIVATE_DRP
     flq:                     ScanQ number of copy nodes=1
     flq:                     ScanQ action=200 DoPruning=32
     flq:                     ScanQ end Validity flags=620 CopyNodes=1
     dvi:                {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
     ndv:                Committing file queue...
     flq:                {_commit_file_queue}
     flq:                     CommitQ DelNodes=0 RenNodes=0 CopyNodes=1
     flq:                     {SPFILENOTIFY_STARTQUEUE}
     flq:                     {SPFILENOTIFY_STARTQUEUE - exit(0x00000001)}
     flq:                     {_commit_copy_subqueue}
     flq:                          subqueue count=1
     flq:                          {SPFILENOTIFY_STARTSUBQUEUE}
     flq:                          {SPFILENOTIFY_STARTSUBQUEUE - exit(0x00000001)}
     flq:                          source media:
     flq:                               Description  - [windows cd]
     flq:                               SourcePath   - [C:\windows\System32\DriverStore\FileRepository\mdmcpq.inf_amd64_neutral_774523d133de6343]
     flq:                               SourceFile   - [usbser.sys]
     flq:                               Flags        - 0x00000000
     flq:                          {SPFQNOTIFY_NEEDMEDIA}
     flq:                               {SPFILENOTIFY_NEEDMEDIA}
     flq:                               {SPFILENOTIFY_NEEDMEDIA - exit(0x00000001)}
     flq:                          {SPFQNOTIFY_NEEDMEDIA - returned 0x00000001}
     flq:                          source media: SPFQOPERATION_DOIT
     flq:                          {_commit_copyfile}
     flq:                               {SPFILENOTIFY_STARTCOPY}
     ndv:                                    Saving LastKnownGood file C:\windows\system32\DRIVERS\usbser.sys (copy)
     flq:                               {SPFILENOTIFY_STARTCOPY - exit(0x00000001)}
     flq:                               CopyFile: 'C:\windows\System32\DriverStore\FileRepository\mdmcpq.inf_amd64_neutral_774523d133de6343\usbser.sys'
     flq:                                     to: 'C:\windows\system32\DRIVERS\SET15CB.tmp'
     cpy:                               CopyFile Drp is active
     sig:                               Using catalog 'C:\windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Common-Modem-Drivers-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.cat'.
     cpy:                               Source File 'C:\windows\system32\DRIVERS\SET15CB.tmp' is signed NT5 Crypto.
     cpy:                               DrpGetFileProt Status=2 dwClass=0
     flq:                               MoveFile: 'C:\windows\system32\DRIVERS\SET15CB.tmp'
     flq:                                     to: 'C:\windows\system32\DRIVERS\usbser.sys'
     cpy:                               DrpSetRegFileProt 'C:\windows\system32\DRIVERS\usbser.sys' Status=0 Class=Inbox Legacy
     flq:                               Caller applied security to file 'C:\windows\system32\DRIVERS\usbser.sys'.
     flq:                               {SPFILENOTIFY_ENDCOPY}
     flq:                               {SPFILENOTIFY_ENDCOPY - exit(0x00000001)}
     flq:                          {_commit_copyfile exit OK}
     flq:                          {SPFILENOTIFY_ENDSUBQUEUE}
     flq:                          {SPFILENOTIFY_ENDSUBQUEUE - exit(0x00000001)}
     flq:                     {_commit_copy_subqueue exit OK}
     flq:                     {SPFILENOTIFY_ENDQUEUE}
     flq:                     {SPFILENOTIFY_ENDQUEUE - exit(0x00000001)}
     flq:                {_commit_file_queue exit OK}
     ndv:                Registering CoInstallers...
     dvi:                {DIF_REGISTER_COINSTALLERS} 07:27:41.291
     dvi:                     Class installer: Enter 07:27:41.294
     dvi:                     Class installer: Exit
     dvi:                     Default installer: Enter 07:27:41.296
     inf:                          Opened PNF: 'c:\windows\system32\driverstore\filerepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' ([strings])
     inf:                          {Install Inf Section [DriverInstall.NTAMD64.CoInstallers]}
     inf:                          {Install Inf Section [DriverInstall.NTAMD64.CoInstallers] exit (0x00000000)}
     dvi:                          Co-installers registered.
     dvi:                     Default installer: Exit
     dvi:                {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 07:27:41.306
     ndv:                Installing interfaces...
     dvi:                {DIF_INSTALLINTERFACES} 07:27:41.307
     dvi:                     No CoInstallers found
     dvi:                     Class installer: Enter 07:27:41.309
     dvi:                     Class installer: Exit
     dvi:                     Default installer: Enter 07:27:41.311
     dvi:                          {Install INTERFACES}
     inf:                               Opened PNF: 'c:\windows\system32\driverstore\filerepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' ([strings])
     dvi:                               Installing section [DriverInstall.NTAMD64.Interfaces]
     dvi:                          {Install INTERFACES exit 00000000}
     dvi:                     Default installer: Exit
     dvi:                {DIF_INSTALLINTERFACES - exit(0x00000000)} 07:27:41.317
     ndv:                Installing device...
     dvi:                {DIF_INSTALLDEVICE} 07:27:41.318
     dvi:                     Class installer: Enter 07:27:41.319
     inf:                          Opened PNF: 'C:\windows\INF\oem44.inf' ([strings])
     inf:                          AddReg=DriverInstall.NTamd64.AddReg  (oem44.inf line 56)
     dvi:                          {Install DEVICE}
     inf:                               Opened PNF: 'c:\windows\system32\driverstore\filerepository\arduino uno.inf_amd64_neutral_21f372cd0616c571\arduino uno.inf' ([strings])
     inf:                               Opened PNF: 'C:\windows\INF\mdmcpq.inf' ([strings])
     dvi:                               Processing Registry/Property directives...
     inf:                               {Install Inf Section [DriverInstall.NTAMD64]}
     inf:                                    AddReg=DriverInstall.NTamd64.AddReg  (arduino uno.inf line 56)
     inf:                               {Install Inf Section [DriverInstall.NTAMD64] exit (0x00000000)}
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.Hw]}
     inf:                                    Empty section
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.Hw] exit (0x00000000)}
     dvi:                               {Writing Device Properties}
     dvi:                                    Provider name=Arduino LLC (www.arduino.cc)
     dvi:                                    DriverDate 11/15/2007
     dvi:                                    DriverVersion=5.1.2600.0
     dvi:                                    Class name=Ports
     dvi:                                    Manufacturer=Arduino LLC (www.arduino.cc)
     dvi:                                    Matching DeviceID=usb\vid_2341&pid_0001
     dvi:                                    Strong Name=oem44.inf:DeviceList.NTamd64:DriverInstall:5.1.2600.0:usb\vid_2341&pid_0001
     dvi:                               {Writing Device Properties - Complete}
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.Services]}
     inf:                                    AddService=usbser,0x00000002,DriverService.NTamd64  (arduino uno.inf line 67)
     inf:                                    ServiceType=1  (arduino uno.inf line 71)
     inf:                                    StartType=3  (arduino uno.inf line 72)
     inf:                                    ErrorControl=1  (arduino uno.inf line 73)
     inf:                                    ServiceBinary=C:\windows\system32\DRIVERS\usbser.sys  (arduino uno.inf line 74)
     inf:                                    DisplayName="USB RS-232 Emulation Driver"  (arduino uno.inf line 70)
     dvi:                                    Add Service: Created service 'usbser'.
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.Services] exit(0x00000000)}
     dvi:                               Updated reflected section names for: oem44.inf
     dvi:                          {Install DEVICE exit (0x00000000)}
     dvi:                          Writing common driver property settings.
     dvi:                               DriverDescription=Arduino UNO
     dvi:                               DeviceDisplayName=Arduino UNO
     dvi:                          {Restarting Devices} 07:27:41.639
     dvi:                               Restart: USB\VID_2341&PID_0001\64938323331351B07052
     dvi:                               Restart complete.
     dvi:                          {Restarting Devices exit} 07:27:41.669
     dvi:                     Class installer: Exit
     dvi:                {DIF_INSTALLDEVICE - exit(0x00000000)} 07:27:41.680
     dvi:                {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 07:27:41.681
     dvi:                     Class installer: Enter 07:27:41.682
     dvi:                     Class installer: Exit
     dvi:                     Default installer: Enter 07:27:41.684
     dvi:                     Default installer: Exit
     dvi:                {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 07:27:41.685
     ndv:                Device install status=0x00000000
     ndv:                Performing device install final cleanup...
     ndv:           {Core Device Install - exit(0x00000000)} 07:27:41.691
     dvi:           {DIF_DESTROYPRIVATEDATA} 07:27:41.691
     dvi:                Class installer: Enter 07:27:41.692
     dvi:                Class installer: Exit
     dvi:                Default installer: Enter 07:27:41.694
     dvi:                Default installer: Exit
     dvi:           {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 07:27:41.695
     ump:           Server install process exited with code 0x00000000 07:27:41.701
     ump:      {Plug and Play Service: Device Install exit(00000000)}
     dvi:      {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 07:27:41.743
     dvi:           Using exported function 'PortsClassInstaller' in module 'C:\windows\system32\MsPorts.Dll'.
     dvi:           Class installer == MsPorts.Dll,PortsClassInstaller
     dvi:           No CoInstallers found
     dvi:           Class installer: Enter 07:27:41.749
     dvi:           Class installer: Exit
     dvi:           Default installer: Enter 07:27:41.750
     dvi:           Default installer: Exit
     dvi:      {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 07:27:41.752
     ndv: {Update Driver Software Wizard exit(00000000)}
<<<  Section end 2010/11/28 07:27:48.878
<<<  [Exit status: SUCCESS]
User avatar
adafruit_support_bill
 
Posts: 29057
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduino not being recognized by Windows?

by borders on Thu Mar 03, 2011 7:52 pm

My driver installation log file finishes with "Exit Status: SUCCESS"

In your example script, the "Restarting Devices" succeeds:

{Restarting Devices} 07:27:41.639
Restart: USB\VID_2341&PID_0001\64938323331351B07052
Restart complete.
{Restarting Devices exit} 07:27:41.669

In my script it fails.

{Restarting Devices} 21:04:13.083
Restart: ROOT\PORTS\0000
!!! Device not started: Device has problem: 0x0a: CM_PROB_FAILED_START.
{Restarting Devices exit} 21:04:46.349

I tried googling CM_PROB_FAILED_START, and found many pages, but the information is far outside what I know.


Here's the tail of my log.

inf: {Install Inf Section [DriverInstall.NT.Services]}
inf: AddService=usbser,0x00000002,DriverService.nt (arduino uno.inf line 40)
inf: ServiceType=1 (arduino uno.inf line 44)
inf: StartType=3 (arduino uno.inf line 45)
inf: ErrorControl=1 (arduino uno.inf line 46)
inf: ServiceBinary=C:\Windows\system32\DRIVERS\usbser.sys (arduino uno.inf line 47)
inf: DisplayName="USB RS-232 Emulation Driver" (arduino uno.inf line 43)
dvi: Add Service: Created service 'usbser'.
inf: {Install Inf Section [DriverInstall.NT.Services] exit(0x00000000)}
dvi: Updated reflected section names for: oem18.inf
dvi: {Install DEVICE exit (0x00000000)}
dvi: Writing common driver property settings.
dvi: DriverDescription=Arduino UNO
dvi: DeviceDisplayName=Arduino UNO
dvi: {Restarting Devices} 21:04:13.083
dvi: Restart: ROOT\PORTS\0000
!!! dvi: Device not started: Device has problem: 0x0a: CM_PROB_FAILED_START.
dvi: {Restarting Devices exit} 21:04:46.349
dvi: Class installer: Exit
dvi: {DIF_INSTALLDEVICE - exit(0x00000000)} 21:04:46.364
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 21:04:46.366
dvi: Class installer: Enter 21:04:46.369
dvi: Class installer: Exit
dvi: Default installer: Enter 21:04:46.374
dvi: Default installer: Exit
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 21:04:46.378
ndv: Device install status=0x00000000
ndv: Performing device install final cleanup...
! ndv: Queueing up error report since device has a PnP problem...
ndv: {Core Device Install - exit(0x00000000)} 21:04:46.390
dvi: {DIF_DESTROYPRIVATEDATA} 21:04:46.393
dvi: Class installer: Enter 21:04:46.396
dvi: Class installer: Exit
dvi: Default installer: Enter 21:04:46.401
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 21:04:46.407
ump: Server install process exited with code 0x00000000 21:04:46.486
ump: {Plug and Play Service: Device Install exit(00000000)}
dvi: {DIF_DESTROYPRIVATEDATA} 21:04:46.493
dvi: Class installer: Enter 21:04:46.496
dvi: Class installer: Exit
dvi: Default installer: Enter 21:04:46.500
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 21:04:46.506
<<< Section end 2011/03/01 21:04:46.508
<<< [Exit status: SUCCESS]
borders
 
Posts: 5
Joined: Tue Feb 15, 2011 5:36 pm

Re: Arduino not being recognized by Windows?

by adafruit_support_bill on Fri Mar 04, 2011 6:23 am

OK, it looks like you have the right driver and it was successfully installed.
Your Uno seems to be working well enough to identify itself, but it doesn't start for some reason.

Contact support@adafruit.com about a replacement. Be sure to reference this thread and your order number.
User avatar
adafruit_support_bill
 
Posts: 29057
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduino not being recognized by Windows?

by borders on Fri Mar 04, 2011 3:34 pm

Thanks for your help, Arduwino!
borders
 
Posts: 5
Joined: Tue Feb 15, 2011 5:36 pm