Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > what is .iic file format

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



what is .iic file format
Moderator:
RSKV

Post Reply
Follow this topic



what is .iic file format

ru posted on 17 Jan 2012 6:37 AM PST
Member
7 Forum Posts

I want to know what exactly is the format of IIC files. Like is it in a HEX format or binary format. And I would also like to know how exactly the conversion happens from HEX file to IIC file. I need to add a routine to calculate checksum for an IIC file, is it possible ?

i get to know

00000000  c2 47 05 31 21 00 00 04  00 04 00 00 02 32 81 32
 

  • c2: boot byte, poke eeprom content to ram
  • 3 x 2 bytes of vid, pid, did (here: set by firmware)
  • 04: config byte, connected, 48 mhz, not inverted, 100 khz i2c
  • 00 04 00 ...: should be first firmware bytes
 00003450  d6 00 02 10 d6 00 02 10  d6 00 80 01 e6 00 00
  • e6 00 00: reset command, 0xe600 is the cpucs addr

Please help me out with this !!!!!!!!!!!!

Best Regards,




Re: what is .iic file format

Gayathri posted on 18 Jan 2012 02:22 AM PST
Cypress Employee
428 Forum Posts

 Hello,

 

You can find the format for the iic file in section "3.4.3 Serial EEPROM Present, First Byte is 0xC2" under "3.4 EEPROM Boot-load Data Formats" in EZ-USB TRM, which you can find at the location C:\Cypress\USB\doc\FX2LP after installing FX2LP DVK (http://www.cypress.com/?rID=14321).

 

Regards,

Gayathri



Re: what is .iic file format

aasi posted on 18 Jan 2012 07:59 AM PST
Cypress Employee
1090 Forum Posts

Hi,

You can find the source of hex2bix utility which does this conversion at C:\Cypress\USB\Util\Hex2Bix after installing CY3684 DVK.

Cheers,

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