Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Old Cyconsol has Important initializing packets for more speed.

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



Old Cyconsol has Important initializing packets for more speed.
Moderator:
RSKV

Post Reply
Follow this topic



Old Cyconsol has Important initializing packets for more speed.

acorrd posted on 28 Aug 2011 2:56 AM PST
Senior Member
12 Forum Posts

Hello,

I'm working CY7C68013. EP6IN is using to upload 32MB datas.
Now, it has 20MBs speed.
But in my some test, It can transfer 40MBs.
Below is that .

1. run cyconsole (ver 1.0.3.4 2003) -> run user application
   : 40MBs

2. only user application
   : 20MBs


To analyze this difference , I've used HHD USB monitor.

cyconsole has more 4 pacekts better than example host program.
"Select interface" with interface number, alternate setting.

recent version of Cyconsole is same to example host code.
But old version has more initializing packets.

Captured USB monitor has attached to this posting.

Q1. What do can I work for better speed?

Q2. with CyApi.lib , Can I send these command to 68013?
     I can't it myself.

 

 




Re: Old Cyconsol has Important initializing packets for more speed.

acorrd posted on 28 Aug 2011 03:12 AM PST
Senior Member
12 Forum Posts

I've got moer test results.

In test, 1MB data was uploaded.

When Old cyconsole has initialized , 1MB data are upload by One packet in USB monitor.

But Host Example has runed, 1MB data are separated with 4096bytes packets.
Thus It has lower uploading speed.

I don't have more technical knowledge for USB protocol.
Do you have any solution for this result?
 



Re: Old Cyconsol has Important initializing packets for more speed.

acorrd posted on 28 Aug 2011 03:42 AM PST
Senior Member
12 Forum Posts

The problem has solved.

 

In host program, bleow code has same result to Cyconsole's Select Interface packets.

 

 USBDevice->Open(i);

       b1=USBDevice->AltIntfc();    
    b1=USBDevice->SetAltIntfc(0);    // <---This sends Select Interface packet to MCU

 

Why does it can get more speed? I don't understand cause exactly.

 



Re: Old Cyconsol has Important initializing packets for more speed.

aasi posted on 29 Aug 2011 10:08 PM PST
Cypress Employee
1090 Forum Posts

Hi,

How many interface, alternate settings does your device have?

The device by default is expected to go to alternate setting 0. Are you saying that you are able to achieve more speed just by setting the device to alternate setting 0?

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