Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > USB3.0 FX3 how to boot from I2C or USB

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



USB3.0 FX3 how to boot from I2C or USB
Moderator:
RSKV

Post Reply
Follow this topic



USB3.0 FX3 how to boot from I2C or USB

Lumpi6 posted on 24 May 2011 8:35 AM PST
Top Contributor
213 Forum Posts

Hello need some answers please,

1. the PMODE Pins can configure to boot from I2C but how?

I tried the "I2C boot" PMODE-option and the "if I2C on failure use USB boot" PMODE-option. At both options after a hard reset the FX3 reads out four bytes from device address 0xA0 at address 0x0000.

1a. How can I use this mechanism?


1b. The values in these four bytes should they have specific values for specific boot modes?

1c. Are these the VID and PID that can be used for a own driver if the device will pluged into a pc like how it is at the FX2?

2. How works booting from USB Port?

2a. Just over the VID(0x04B4) and PID(0x00F3) from Cypress?

 

Sorry for so much questions but at the manual, the datasheet and the header files I can not get all these informations.

I would be pleased for some answers




Re: USB3.0 FX3 how to boot from I2C or USB

Chris R. posted on 25 May 2011 11:17 PM PST
Top Contributor
135 Forum Posts

Hello lumpi6,

can you say,where did you get yout FX3 DVK? An how is the part number?

We are trying to get such a board here in Germany, but the distributors dont want to know anything about it...



Re: USB3.0 FX3 how to boot from I2C or USB

Lumpi6 posted on 25 May 2011 12:28 AM PST
Top Contributor
213 Forum Posts

Hi Chris,

sorry I just can refer you to your local distributors but you may have less luck because see forum post

http://www.cypress.com/?app=forum&id=167&rID=51327

You may better sample the chip see forum post

http://www.cypress.com/?app=forum&id=167&rID=46904

Best regards

Germany's distributors....

http://www.cypress.com/?id=3484&locations=1

 



Re: USB3.0 FX3 how to boot from I2C or USB

posted on 31 May 2011 02:42 AM PST
Member
7 Forum Posts

Hi,

 

Regarding I2C boot:

Cypress will soon be releasing an AppNote related to I2C booting on web. This will contain the image format also. If you want the information before that you can open a case with Cypress Tech Support.

Regarding USB boot:

Yes you can download the Image over USB just like FX2LP using vendor command 0xA0.

Thanks,

Shruti

 

 



Re: USB3.0 FX3 how to boot from I2C or USB

Lumpi6 posted on 31 May 2011 08:45 AM PST
Top Contributor
213 Forum Posts

Hi Shruti,

Regarding USB boot:

>> Yes you can download the Image over USB just like FX2LP using vendor command 0xA0.

(I thought that I can download the image file trough USB, for sure otherwise there would not be a sram in the FX3 and the boot option of the PMODE pins with the config boot from USB.)

I meant with the 0xA0 the device address of the I2C eeprom which the FX3 reads out after hard reset. That device address follows a 16 bit address with the value 0x0000 and then the FX3 reads out four data bytes from eeprom at address 0x0000, 0x0001, 0x0002 and 0x0003.

My question was if it is possible to change the VID(0x04B4) and PID(0x00F3) from Cypress before the first boot occurs. With an own VID value and PID value. The VID value and PID value of the USB should hold in the I2C EEPROM.

Is this possible? What values I have to write into the I2C eeprom to have own choosen VID and PID values?




Re: USB3.0 FX3 how to boot from I2C or USB

posted on 01 Jun 2011 10:15 AM PST
Member
7 Forum Posts

Yes you can change VID PID by writing following 6 bytes on EEPROM:

'C', 'Y', 0x XX, 0xB2, PID, VID

-Shruti

 



Re: USB3.0 FX3 how to boot from I2C or USB

Lumpi6 posted on 06 Jun 2011 01:05 AM PST
Top Contributor
213 Forum Posts

Hi Shruti,

many thanks for that solution. It works fine just a little failure of the amount of bytes, because VID and PID are 2-byte values. So that 6-bytes will change to 8-bytes.

1.: 'C'

2.: 'Y'

3.: 0xYY  (EEPROM Ctrl)

4.: 0xB2  (Boot Mode)

5.: 0xZZ   (PID LSB)

6.: 0xZZ   (PID MSB)

7.: 0xZZ   (VID LSB)

8.: 0xZZ   (VID MSB)

 

Thanks,

lumpi



Re: USB3.0 FX3 how to boot from I2C or USB

Vikas Dhurka posted on 07 Jun 2011 10:11 PM PST
Cypress Employee
3 Forum Posts

Chris,

On your question about the DVK - are you still looking for one? Have you contacted anyone from the Cypress sales team in Germany? 

Please feel free to email me at VRD at CYPRESS dot COM

Thanks,

Vikas






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