Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Using CyConsole with custom driver and custom GUID

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



Using CyConsole with custom driver and custom GUID
Moderator:
RSKV

Post Reply
Follow this topic



Using CyConsole with custom driver and custom GUID

ganswer posted on 22 Feb 2012 7:51 AM PST
Senior Member
16 Forum Posts

On the CyConsole.pdf user's guide  at the very bottom there is a chapter explaining how to use CyConsole to connect to a driver with a different GUID. More precisely there is written:

CyConsole was designed with provision for connecting to other CyUSB.sys drivers that have different GUIDs. On the Misc. tab sheet you will notice a drop-down list labelled Access devices attached to this driver . The drop-down list is populated with the file names of all copies of CyUSB.sys that are installed in the system. (It gathers the list from the Windows registry.)

According to this my first question is: if I want my custom driver (with my custom VID and GUID) is it ok to copy the cyusb.sys and the cyusb.inf, change their name to mydevice.sys and mydevice.inf and modify the INF file with my VID and GUID?

Secondly, I tried this approach, then I signed my driver and I installed it (now it is located under System32\drivers\mydevice.sys) but still I do not see any other driver in the drop-down list in the Misc. tab. What am I missing? (I'm using Windows 7 64bit).




Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 24 Feb 2012 10:50 PM PST
Cypress Employee
333 Forum Posts

 Hi,

           Please attach the inf file. I would like to take a look.

 



Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 24 Feb 2012 01:01 AM PST
Senior Member
16 Forum Posts

 Here is the file where I've simply substituted the company name.



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 24 Feb 2012 04:53 AM PST
Cypress Employee
333 Forum Posts

 Hi,

      Please upload it.

 



Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 24 Feb 2012 05:46 AM PST
Senior Member
16 Forum Posts


Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 24 Feb 2012 05:47 AM PST
Senior Member
16 Forum Posts

 I tried to upload it already before. Do you see now the uploaded file?



Re: Using CyConsole with custom driver and custom GUID

aasi posted on 24 Feb 2012 06:18 AM PST
Cypress Employee
1090 Forum Posts

I don't file with extension .inf can be uploaded. Please change the extension to .txt and upload. That should work.

Regards,

Anand



Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 24 Feb 2012 07:31 AM PST
Senior Member
16 Forum Posts

 Before I tried by zipping it. Now I'm trying by changing the extension. Hope it works



Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 28 Feb 2012 04:20 AM PST
Senior Member
16 Forum Posts

 It seems the file is now uploaded. Can you see it?



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 28 Feb 2012 09:17 PM PST
Cypress Employee
333 Forum Posts

Hi,

         Yes. Let me check it.



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 29 Feb 2012 02:55 AM PST
Cypress Employee
333 Forum Posts

Hi,

        What architecture is your processor?

 



Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 29 Feb 2012 05:25 AM PST
Senior Member
16 Forum Posts

 x64



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 01 Mar 2012 10:19 PM PST
Cypress Employee
333 Forum Posts

 Hi,

       Is it Intel Itanium or any other architecture?

 



Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 01 Mar 2012 01:57 AM PST
Senior Member
16 Forum Posts

 It's an Intel Xeon E5420



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 02 Mar 2012 11:10 PM PST
Cypress Employee
333 Forum Posts

 Hi,

      Try with the attached file. I got it working in windows 7(64bit) and Vista(64bit) machine with driver name xxx.sys.

Thanks

Prajith



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 02 Mar 2012 11:11 PM PST
Cypress Employee
333 Forum Posts


Re: Using CyConsole with custom driver and custom GUID

ganswer posted on 07 Mar 2012 12:37 PM PST
Senior Member
16 Forum Posts

 Hi,

I did several tests and now it seems to work. thanks a lot

 



Re: Using CyConsole with custom driver and custom GUID

charon posted on 25 Nov 2012 05:31 PM PST
Member
3 Forum Posts

hi PRJI:

this inf file seems to be universal?meens not specific for win7 64bit? and you still have to resart with F8 to get the xxx.sys work(xxx.sys is cyusb.sys with a different name)?

Secondly, what about the bottom GUID in the inf file? changing it leads my device to be unrecognizale to the cyusb.sys, how can  solve this? thank you.

B.R.,

WH



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 26 Nov 2012 01:20 AM PST
Cypress Employee
333 Forum Posts

 

Hi,

 This inf file seems to be universal?meens not specific for win7 64bit? and you still have to resart with F8 to get the xxx.sys work(xxx.sys is cyusb.sys with a different name)?  >> Yes.

Secondly, what about the bottom GUID in the inf file? changing it leads my device to be unrecognizale to the cyusb.sys, how can  solve this?

>> Applications software usually accesses the driver using the driver's Global Unique IDentifier (GUID).Each driver in the Windows system should have a unique GUID. By employing distinct GUIDs, multipleinstances of CYUSB3.SYS from different hardware vendors can exist on a given system without colliding.

I would suggest you to change "CyConst.SetClassGuid("{CDBF8987-75F1-468e-8217-97197F88F773}");" in your host application with your GUID.

Thanks

Prajith



Re: Using CyConsole with custom driver and custom GUID

PRJI posted on 26 Nov 2012 04:38 AM PST
Cypress Employee
333 Forum Posts

 Hi,

apologize for the above wrong post about custom GUID.

Its not classGUID, its customer GUID, but before going to the APIs please let me know which library are you using, CyAPI.lib or Cyusb.dll,?

Regards

Prajith

 



Re: Using CyConsole with custom driver and custom GUID

charon posted on 27 Nov 2012 08:38 PM PST
Member
3 Forum Posts

 Hi

Thank you for your reply. I'm using CYUSB.dll, wanna change the "CYUSB.GUID= "{AE18AA60-7F6A-11d4-97DD-00010229B959}"  " in the inf. 

Thks






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