Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > This device cannot start. (Code 10) on Win 7

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



This device cannot start. (Code 10) on Win 7
Moderator:
RSKV

Post Reply
Follow this topic



This device cannot start. (Code 10) on Win 7

Steven Y posted on 05 Jan 2012 1:27 PM PST
Member
7 Forum Posts

My driver works fine in Windows XP, but fails in Win7. Window shows "This device cannot start.(code 10)".

I use CY7C68013-128AC. My computer has 2 system XP and Win7 ( 32-bit ).

Driver outputs the below result.  After the driver sends SET CONFIGURATION, return from IoCallDriver

USBD is  wrong (c0000001).

 ............   
 Entire Configuration Descriptor is at 86127e28, bytes txferred: 25   
 enter XUsb_SelectInterfaces   
 0000 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    
 0010 28 7E 12 86 00 00 00 00 60 00 00 00 00 00 00 00    
 0020 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00    
 0030 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 00    
 0040 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00    
 0050 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF    
 0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    
 0070 FF FF FF FF 00 00 00 00    
 enter CallUSBD   
 Calling USB Driver Stack   
 XUsb_IoIncrement::3   
 return from IoCallDriver USBD: 0xc0000001   
 URB status = c0004000, status = 0, irp status = c0000001   
 XUsb_IoDecrement::2   
 exit CallUSBD (c0000001)   
 0000 78 00 00 00 00 40 00 C0 A8 70 D3 84 00 00 00 00    
 0010 28 7E 12 86 00 00 00 00 10 00 00 00 00 00 00 00    
 0020 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00    
 0030 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 00    
 0040 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00    
 0050 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF    
 0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    
 0070 FF FF FF FF 00 00 00 00    
 exit XUsb_SelectInterfaces (c0000001)   
 exit XUsb_ConfigureDevice (c0000001)   

 

Firmware is very simple.

 {           ...............;

        case usb_SET_CONFIGURATION:           

             Configuration =  Xbyte[aSETUPDAT+2];           

             break;       

 

            EP0CS |= bm7

}

 

I would really appreciate some hints about this issue. Thanks!

Steven




Re: This device cannot start. (Code 10) on Win 7

aasi posted on 06 Jan 2012 08:45 AM PST
Cypress Employee
1090 Forum Posts

1. What is the driver being used?

2. c0000001 is just operation unsuccessful as per http://msdn.microsoft.com/en-us/library/cc704588%28v=prot.10%29.aspx

Regards,

Anand



Re: This device cannot start. (Code 10) on Win 7

Steven Y posted on 06 Jan 2012 11:23 AM PST
Member
7 Forum Posts

Hi, Anand,

Thanks for your answer.

The driver is similar to \Cypress\USB\Drivers\ezmon\ezusbsys.c

c0000001 is operation unsuccessful, but this information is still not enough for me to figure out  the problem.

Thanks

Steven

 



Re: This device cannot start. (Code 10) on Win 7

aasi posted on 06 Jan 2012 06:33 PM PST
Cypress Employee
1090 Forum Posts

ezusb.sys was not tested with Vista/7 and from what I'm aware of it will need modification before you can get it to even load in Win 7..

When device manager says code 10 it means it doesn't have enough information to point the exact reason behind the error http://support.microsoft.com/kb/943104

Migrating to CyUSB.sys would be a good idea. Is it possible to migrate to CyUSB.sys or is the effort of migration significant?

Regards,

Anand



Re: This device cannot start. (Code 10) on Win 7

Steven Y posted on 13 Jan 2012 12:47 PM PST
Member
7 Forum Posts

Hi, Anand,

I did some test.  My driver is Xvpusb.sys. 

 

If I rename Xvpusb.sys to cyusb.sys and overwrite \system32\drivers\cyusb.sys. It works in Win7. Cypress USB Console can find my device as "Cypress USB Generic Driver (3.4.7.000)".

 

If I rename cyusb.sys to Xvpusb.sys and overwrite \system32\drivers\Xvpusb.sys.  It doesn't work in win7. Even in XP, it occasionally recognizes my device. Most of time shows "This device cannot start. (Code 10) ".

 

I don't know if you can show me what is the difference between ezusbsys.c and the souce cyusb.sys in those modules:

Ezusb_CallUSBD, Ezusb_ConfigureDevice, Ezusb_SelectInterfaces.

 

Thanks!

Steven

 



"program FX2---->small EEPROM "of the USB control center and loaded an "cystream.iic " file in it.device not detected anymore!!!

usman posted on 05 Apr 2012 10:12 PM PST
Member
3 Forum Posts

hi,
i am using USB3FPGA and successfully installed  driver(cypress usb
generic driver 3.4.7000 ). i am using CYSUSB CONTROL CENTER & USB CONSOLE
for my communication with the USB3FPGA board and it works.
After i used
option " program FX2---->small EEPROM " of the USB control center and loaded
an example  "cystream.iic " file in it. After loading it , the device is not anymore detected
by the control center.i have also reinstall the driver but then driver installation
wizard shows the error msg now as :
"cypress USB Generic Driver
(3.4.7000)
This device cannot start.(Code 10) "

i have also checked the VID & PID which are correct.
1)Is anything happened to eeprom therefore its contents changed etc?
2) how can i access eeprom ,as device is not detected any more?
3)which file and changes i have to adopt to make the device detectable?solution?

Thanks

Usman Shehryar






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20