Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > FX2 driver doesn't work with USB 3.0 port

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



FX2 driver doesn't work with USB 3.0 port
Moderator:
RSKV

Post Reply
Follow this topic



FX2 driver doesn't work with USB 3.0 port

ivacorp posted on 25 Jun 2012 2:03 PM PST
Member
3 Forum Posts



Re: FX2 driver doesn't work with USB 3.0 port

ivacorp posted on 25 Jun 2012 02:11 PM PST
Member
3 Forum Posts

Windows 7 x64, FX2LP drivers version 3.4.7, all works fine on the machine's USB 2.0 ports,but when the device is plugged into the USB 3.0 port, device does not work, device manager reports "This device cannot start. (code 10)." The is a signed driver, production device, USB 3.0 port should be backward compatible with USB 2.0 device/driver.
 



Re: FX2 driver doesn't work with USB 3.0 port

aasi posted on 25 Jun 2012 09:56 PM PST
Cypress Employee
1090 Forum Posts

Do you have a CATC trace of what is happening on the bus by any chance?

Regards,

Anand



Re: FX2 driver doesn't work with USB 3.0 port

ivacorp posted on 26 Jun 2012 11:30 AM PST
Member
3 Forum Posts

I do not have a CATC trace. However, I believe I have figured out what the problem is. I reverted back to the CypressSuiteUSB standard bulk loop example, and this worked OK on the USB 3.0 port. Our device, in order to maximize transfer speed, specifies 1024 byte bulk transfer size in it's descriptor, whereas the bulkloop example specifies 512. The USB spec states maximum bulk transfer size (for high speed) to be 512. So although 1024 byte bulk transfers work OK in every USB 2.0 scenario we have encountered, they are illegal according to spec, and it looks like the USB 3.0 port driver in fact will NOT accept such a descriptor. When I changed our firmware to specify max 512 byte bulk tranfers, the driver loaded OK. I believe the issue is resolved.



Re: FX2 driver doesn't work with USB 3.0 port

aasi posted on 27 Jun 2012 02:09 AM PST
Cypress Employee
1090 Forum Posts

Sending 1024 byte through Bulk endpoint might have worked but there are host controller that crash when you violate the maxpacketsize specification.

Regards,

Anand






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