Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Anyone using WinUSB?

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



Anyone using WinUSB?
Moderator:
RSKV

Post Reply
Follow this topic



Anyone using WinUSB?

andy posted on 09 Oct 2009 12:27 PM PST
Senior Member
16 Forum Posts
We are having some really random heap corruption issues calling cyusb.sys DeviceIOControl functions from managed code using IOCompletion ports. I can run my device and process millions of transactions using this code before it crashes. Sometimes it takes 20 minutes to crash sometimes takes 12 hours...

Anyway, I wanted to try a different driver just to see if, perhaps cyusb.sys was at fault.

I can try Jungo free for 30 days but balk at paying the price for the drivers if somehow switching over solves my problem. So, I was thinking of using the generic WinUSB drivers...(I realize of course I'll have to re-write parts of my code for the MS API) I am also not using any Iso endpoints either. So, It should work.

I'm just wondering if anyone here has had any success with drivers other than CyUSB.


Re: Anyone using WinUSB?

mtien888 posted on 19 Mar 2010 10:14 AM PST

1 Forum Post
WinUSB is working good.

Re: Anyone using WinUSB?

andrewsobotka posted on 22 Mar 2010 02:39 PM PST
Top Contributor
40 Forum Posts
I was going to look at WinUSB but that was before Cypress provided 64-bit driver support.

Do you remember to pin *all* objects that were allocated by managed code, including the Single Transfer buffer?




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