what is .iic file format

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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,

0 Likes
2 Replies
Anonymous
Not applicable

 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

0 Likes
Anonymous
Not applicable

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

0 Likes