Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > 68013 software problems

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



68013 software problems
Moderator:
RSKV

Post Reply
Follow this topic



68013 software problems

wxch2000 posted on 25 Feb 2009 8:09 AM PST

1 Forum Post
I tried to iterate through the UsbDeviceList but have no success because the List is empty (I cannot understand why) .
The usbDevices.Count always be 0 whatever the dev-Board is pluged in or not .

pls help ~~

public Form1()
{
InitializeComponent();

// Setup the callback routine for updating the UI
updateUI = new UpdateUICallback(StatusUpdate);

// Setup PnP event handling
evHandler = new App_PnP_Callback(PnP_Event_Handler);

// Create a list of CYUSB devices
usbDevices = new USBDeviceList(CyConst.DEVICES_CYUSB, evHandler);

setDevice();
}

public void setDevice()
{
if (usbDevices.Count > 0)
loopDevice = usbDevices[0x0547, 0x0080] as CyUSBDevice;

StartBtn.Enabled = (loopDevice != null);

if (loopDevice != null)
Text = loopDevice.FriendlyName;
else
Text = "Bulkloop - no device";

// Set the in and out endpoints per the selected radio buttons.
EptPair1Btn_Click(this, null);
}



Re: 68013 software problems

aasi posted on 04 Apr 2009 05:54 AM PST
Cypress Employee
1090 Forum Posts
This is because DriverGUID is not registered in the registry. In the inf file used take care that it registers driver guid in the registry...




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: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20