Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > FX3 enumeration with custom VID/PID

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



FX3 enumeration with custom VID/PID
Moderator:
RSKV

Post Reply
Follow this topic



FX3 enumeration with custom VID/PID

Vytautas2 posted on 06 Jan 2012 6:33 AM PST
Top Contributor
36 Forum Posts

 Hi,

Using FX3 dev board I wanted to check how FX3 enumerates with custom VID/PID.

EEPROM - Atmel 24C64. Tried to follow image format from AN68914 (http://www.cypress.com/?docID=31024) and some forum post:

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)

Created image file 8 bytes using hex editor like this:

43 59 06 B2 B4 04 F2 00

and programmed it to EEPROM using separate programmer.

I hoped that it will mean the following:

C; Y; 100kHz, 8KB, execution file; 0xB2 image type; PID (0xB404 or 0x04B4); VID (0xF200 or 0x00F2);

The result was that Windows detected (if detected at all) device with incorrect PID: USB\VID_04B4&PID_0053\0000000004BE.

What is wrong with above presented sequence of 8 bytes ?

Thanks.

 




Re: FX3 enumeration with custom VID/PID

aasi posted on 06 Jan 2012 07:18 AM PST
Cypress Employee
1073 Forum Posts

You seem to have got the order wrong, Please look at page 6 of the app note there is a example you can use as reference

Regards,

Anand



Re: FX3 enumeration with custom VID/PID

Vytautas2 posted on 09 Jan 2012 02:20 AM PST
Top Contributor
36 Forum Posts

Tried another ordering, but the result is the same - VID_04B4 PID_0053 instead of values from EEPROM.

B2 06 59 43 04 B4 00 08

USB\VID_04B4&PID_0053\0000000004BE



Re: FX3 enumeration with custom VID/PID

Vytautas2 posted on 09 Jan 2012 12:26 PM PST
Top Contributor
36 Forum Posts

 What must be the address (A2 A1 A0) of I2C EEPROM for FX3 to boot from it ? What if we will have several EEPROMs (one for boot, other for data) ? As I understand, for FX2 you have a table of I2C addresses for boot EEPROM  http://www.cypress.com/?docID=30172 page 14, table 7. Do you have similar table for FX3 ?



Re: FX3 enumeration with custom VID/PID

aasi posted on 10 Jan 2012 10:19 PM PST
Cypress Employee
1073 Forum Posts

http://www.cypress.com/?docID=31024 has this information and explains the reason behind the addressing as well. Please have a look at it.

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.