Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

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



USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!
Moderator:
RSKV

Post Reply
Follow this topic



USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

guoren lee posted on 16 Jul 2012 7:43 PM PST
Member
6 Forum Posts
In the this example USBbulkSourceSink , I modified the max.no of packets in a the Burst = 2 , then into dmaBukSrcsinkconfig.size = 3072; endPointconfig.burstlen = 3.Program can be lost , but the stream measurement speed when number You can not measure speed, etc.?How to solve? help!!!


Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

RSKV posted on 16 Jul 2012 08:43 PM PST
Cypress Employee
655 Forum Posts

Hi,

Do the following things to see the throughput numbers of around 300MBps.

1. Keep only one endpoint. Best thing is to use BULK IN endpoint.

2. #define CY_FX_EP_BURST_LENGTH          (15)     /* Super speed burst length in packets. */

3. Once you change CY_FX_EP_BURST_LENGTH, then it will be updated in the following places:

epCfg.burstLen = CY_FX_EP_BURST_LENGTH;

dmaCfg.size  = (2*1024 * CY_FX_EP_BURST_LENGTH); and 

in the descriptors, 

 /* Super speed endpoint companion descriptor for consumer EP */

    0x06,                           /* Descriptor size */

    CY_U3P_SS_EP_COMPN_DESCR,       /* SS endpoint companion descriptor type */

    (CY_FX_EP_BURST_LENGTH - 1),    /* Max no. of packets in a burst(0-15) - 0: burst 1 packet at a time */

    0x00,                           /* Max streams for bulk EP = 0 (No streams) */

    0x00,0x00                       /* Service interval for the EP : 0 for bulk */

 

Regards,

sai krishna.



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

guoren lee posted on 17 Jul 2012 04:58 AM PST
Member
6 Forum Posts
Thank you very much for your help ! But my problem still not resolved ! I follow your method to do , but that streamer inside the undetectable speed , and the Failures there Successes not , that is, the number of lost ! How is it? Help!!!!

Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

RSKV posted on 17 Jul 2012 05:07 AM PST
Cypress Employee
655 Forum Posts

There is a readme.txt file in the same project folder to explain the steps needed to optimize the performance. Please check that one as well.

If the problem still persists, then I think it is better to create a tech support case regarding this.

One of our engineer will help you on this.

Regards,

sai kirshna.



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

guoren lee posted on 17 Jul 2012 05:46 AM PST
Member
6 Forum Posts
The problem is that the program can be downloaded to the chip , but less than the speed of streamers detected that throughput (KB / S) is 0 . How is it , huh? Help! ! !help!!!


Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

RSKV posted on 18 Jul 2012 11:20 PM PST
Cypress Employee
655 Forum Posts

Please test with the attached .img file.

Regards,

sai krishna.



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

RSKV posted on 18 Jul 2012 11:20 PM PST
Cypress Employee
655 Forum Posts


Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

RSKV posted on 18 Jul 2012 11:22 PM PST
Cypress Employee
655 Forum Posts

Change the extension from .txt to .img



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

Alian posted on 19 Jul 2012 10:13 PM PST
Member
7 Forum Posts

Why cannot I find stream driver?

 



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

RSKV posted on 19 Jul 2012 10:59 PM PST
Cypress Employee
655 Forum Posts

What are the values of VID and PID that you are seeing?



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

Alian posted on 19 Jul 2012 01:23 AM PST
Member
7 Forum Posts

After I load USBBulkSourceSink.img to RAM,the VID =04B4,PID-00F1.Can the text of USBBulkSourceSink.img test the speed of USB3.0 by Stream of PC ?But I cannot find stream drive ,where is the drive?



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

Alian posted on 19 Jul 2012 01:30 AM PST
Member
7 Forum Posts

After I load USBBulkSourceSink.img to RAM,the VID =04B4,PID-00F1.But I cannot find the drive.                                             Can the text of USBBulkSourceSink.img test the speed of USB3.0 by Stream of PC ?                                                                      And I cannot find device in the Stream ,why?


 



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

RSKV posted on 19 Jul 2012 07:41 AM PST
Cypress Employee
655 Forum Posts

Hi Alian,

Are you talking about the .img file that I have attached to this thread?.

Thanks,

sai krishna.



Re: USBbulkSourceSink this example , how to modify the program , allows transfer speeds of 300MB / s !help!!

Alian posted on 19 Jul 2012 06:22 PM PST
Member
7 Forum Posts

Thank you!I have solved this problem.






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.