Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > 32 bit addressing over USB

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



32 bit addressing over USB
Moderator:
RSKV

Post Reply
Follow this topic



32 bit addressing over USB

wglados posted on 08 Sep 2011 1:07 PM PST
Top Contributor
23 Forum Posts

 Hey all -

 

The FX3 requires 32 bit addressing, but everything that goes over USB2 (and, at the very least, control endpoints on USB3) is 16 bits.  How are the extra 16 bits pushed to the FX3?  If you have the fields:

 

int requesttype, int request, int value, int index, char *bytes, int size, int timeout

 

... in your USB control message, are you pushing the extra 16 address bits over the index field?

 

Thanks for your time!




Re: 32 bit addressing over USB

aasi posted on 09 Sep 2011 05:10 AM PST
Cypress Employee
1073 Forum Posts

When you say 32 bit I assume you're talking about the GPIF II interface. The USB data is sent during the data phase, what you're looking at is the setup packet of control transfer. The data is packetized and sent during the data phase.

Regards,

Anand



Re: 32 bit addressing over USB

wglados posted on 09 Sep 2011 03:11 PM PST
Top Contributor
23 Forum Posts

 Anand -

 

Yes, I am talking about the GPIF II interface.

 

So there is a setup phase, and a data phase?  Can you link me to documentation about these two phases?

 

If not, at the very least, can you explain the format of the data that is sent in both?

 

Thanks for your time!



Re: 32 bit addressing over USB

aasi posted on 10 Sep 2011 06:30 AM PST
Cypress Employee
1073 Forum Posts

 Try http://www.beyondlogic.org/usbnutshell/usb-in-a-nutshell.pdf for the basic USB stuff. This has the necessary details.


Regards,
Anand



Re: 32 bit addressing over USB

wglados posted on 12 Sep 2011 09:50 AM PST
Top Contributor
23 Forum Posts

 Anand -

Okay, there was definitely a mis-understanding.

I now understand that the FX3 chip does _not_ use GPIF2 for firmware programming, which leaves me with my original question:

1) What commands are you sending the CPU to program the firmware?

This is a really simple question, and I would love to see a real explanation for how the firmware gets programmed into RAM.

Thanks for your time.

 






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.