Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > How can I change the endpoint address in cy7c68013?

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



How can I change the endpoint address in cy7c68013?
Moderator:
RSKV

Post Reply
Follow this topic



How can I change the endpoint address in cy7c68013?

ssibseya posted on 23 Mar 2009 2:02 AM PST
Member
4 Forum Posts
I use the cy7c68013 with slave fifo and auto in-out mode.
And now 4 bulk pipe is used with endpoint address 2,4,6,8
but I want to chage last endpoint 8 to 10, so edit and compile and download iic file of dscr.a51(8051 firmWare). But and then can't communicate.
Sure i change the driver and do the other needed things.
Is there something wrong?

And there is some singular note in ch 8.1 of technical reference manual. "Direct connection is available only on endpoints 2,4,6,8"
What's this?, what's meaning?


Re: How can I change the pipeID in cy7c68013?

aasi posted on 23 Mar 2009 11:40 AM PST
Cypress Employee
1090 Forum Posts
1. Changing the descriptor file does not change the endpoints the device has... there are 7 endpoints ep0 ep1in ep1out ep2 ep4 ep6 and ep8... you will have to stick to that....
2. Direct connection means only the buffer of endpoints 2,4,6 and 8 can be accessed through pins

Re: How can I change the pipeID in cy7c68013?

ssibseya posted on 23 Mar 2009 05:29 PM PST
Member
4 Forum Posts
I want to change the endpoint address.
And there are endpoint descriptor in the 8051 source file dscr.a51(assembly source file).
How can I chage the endpoint address?


Re: How can I change the endpoint address in cy7c68013?

aasi posted on 24 Mar 2009 06:30 AM PST
Cypress Employee
1090 Forum Posts
you cannot change the endpoint address... it is fixed on the hardware... may i know why you insist on having an endpoint with endpoint address 10..... the main logic behind fixing the endpoint address rather than keeping it programmable is the fact that in a block level communication abstraction only the pipes come into picture (so the endpoint address being addressed doesn't impact the host or device)...

Re: How can I change the endpoint address in cy7c68013?

ssibseya posted on 25 Mar 2009 07:10 PM PST
Member
4 Forum Posts
I have many equipments which must use the same driver(actually drivers of different OSs). But the drivers modification and patch proc is not such a easy job. With this environment, I must add the some USB euiqments(cypress CY7C68013) which use the just same drivers, and drivers use the some already fixed endpoint addresss.

If you can, would you mind to tell me some of the reference documents which makes certain about the endpoint address fixed by hard-coded scheme?



Re: How can I change the endpoint address in cy7c68013?

aasi posted on 26 Mar 2009 01:11 AM PST
Cypress Employee
1090 Forum Posts
In the datasheet there is a separate section on Endpoint RAM which mentions this constraint. I'm not sure whether you can find devices on which the endpoint address can be configured.
To be frank, hardcoding values in driver or application is an bad idea. Not only does it create problems but reusability is also lost...

Re: How can I change the endpoint address in cy7c68013?

ssibseya posted on 26 Mar 2009 05:21 PM PST
Member
4 Forum Posts
Thanks for your advice.
Have a nice day~!




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