Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > cyusb.sys and multiple devices

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



cyusb.sys and multiple devices
Moderator:
RSKV

Post Reply
Follow this topic



cyusb.sys and multiple devices

jschuit posted on 29 Dec 2011 9:02 AM PST
Member
4 Forum Posts

 

We have recently added a second custom device using the same FX2 chip as the first.  We modified the INF to detect the 2nd device's VID/PID.  The problem is we are getting a "Code 38" error in Device Manager (Windows cannot load the device driver for this hardware  because a previous instance of the device driver is still in memory).  Is this expected?  For a work-around we created a renamed copy of the driver and INF and it appears to be functioning.  Is this the design for using multiple devices on a system?

Thanks!




Re: cyusb.sys and multiple devices

aasi posted on 30 Dec 2011 03:04 AM PST
Cypress Employee
1090 Forum Posts

No. This is not expected.

CyUSB.sys is capable of handling multiple devices at the same time. Please upload  your inf file and let us know  your PC environment so that we can have a look at what is causing the issue.

Regards,

Anand



Re: cyusb.sys and multiple devices

jschuit posted on 03 Jan 2012 09:27 AM PST
Member
4 Forum Posts

 Thanks Anand, please find our INF file attached.

 



Re: cyusb.sys and multiple devices

aasi posted on 03 Jan 2012 11:18 AM PST
Cypress Employee
1090 Forum Posts

 I don't see any issues with the inf file. Did you change the GUID between the 2 inf files i.e. giving rise to a scenario where CyUSB.sys has 2 different GUIDs?

Regards,

Anand



Re: cyusb.sys and multiple devices

jschuit posted on 03 Jan 2012 01:52 PM PST
Member
4 Forum Posts

 No, we left the GUID setting the same when we split the INF file into two with the two copies of the driver.  Doing this works, but if we can use a single INF file with a single driver file that would be preferred.

Thanks.

 



Re: cyusb.sys and multiple devices

aasi posted on 04 Jan 2012 09:37 AM PST
Cypress Employee
1090 Forum Posts

Can you trying using a different PC just to isolate whether this is a system specific issue. I don't find anything wrong with the files. Anyway I'll use this file to see if I'm seeing this issue and update here.

Regards,

Anand



Re: cyusb.sys and multiple devices

jschuit posted on 04 Jan 2012 01:45 PM PST
Member
4 Forum Posts

 Anand, it appears to be the OS.  We get this error on the target with XPe installed, but not the full XP desktop.  Any known issues with XPe?

 

Thanks!



Re: cyusb.sys and multiple devices

aasi posted on 05 Jan 2012 07:38 AM PST
Cypress Employee
1090 Forum Posts

We've not tested/support CyUSB.sys with XPe

Regards,

Anand



Re: cyusb.sys and multiple devices

Jalming posted on 14 Feb 2012 12:35 AM PST
Member
2 Forum Posts

Hello,

We have the same problem when adding more then one device of the same type. We have seen the problem on Windows 7 both 32-bit and 64-bit. I have attached the inf-file.

Best Regards
Anders Jalming



Re: cyusb.sys and multiple devices

PRJI posted on 14 Feb 2012 03:56 AM PST
Cypress Employee
333 Forum Posts

 Hi,

           Attachment is missing.



Re: cyusb.sys and multiple devices

Jalming posted on 06 Mar 2012 02:07 AM PST
Member
2 Forum Posts

Hello,

Sorry about the delay. I have now attached the INF-file.
 

br
Anders Jalming



Re: cyusb.sys and multiple devices

PRJI posted on 06 Mar 2012 09:30 PM PST
Cypress Employee
333 Forum Posts

 Hi,

       It is still missing. Before uploading the file change file extension to .txt.






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