Converting HEX file to iic

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 I'm trying to create a iic with the following data

   

0xCO

   

0x7918

   

0x0110

   

0x0200

   

its a USB boot eprom with CO/VID/PID/DID.

   

 

   

Any idea how I do that? I try several ways with the hex2bix but couldn't get it to work.

   

Attach is the hex file.

   

 

   

Thanks

0 Likes
3 Replies
Anonymous
Not applicable

Hi

   

 

   

You have to write the firmware in the keil compiler  and while compiling it you can create a hex file as well as iic file. Please refer the attached document Chapter 8.

   

 

   

You can call the command provided in the figure 8.3 from the command prompt also to create a iic file from the hex file.

   

 

   

Regards,

   

Vikas

0 Likes

where is the file??

0 Likes
Anonymous
Not applicable

I got bitten by an old version of hex2bix. Also, the readme in [Install dir]\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Utilities\Hex2Bix lacks the options needed here.

The appropriate invocation should be something like this:

hex2bix -F 0xC0 -V 0x7918 -P 0x0110 -M 16384 -I -O outputFile.iic sourceFile.hex

There is no option to set the product version number. The first three flags are First byte, VID and PID. -M sets the size of the target eeprom and defaults to 8K. -I sets the output format as iic.

--Conor

0 Likes