Error: File type mismatch. Attemted to put code in a codeless PROM type

Question: When I am using 0xC0 as first byte in Hex2bix utility to generate .IIC file it gives this error: "Error: File type mismatch. Attempted to put code in a codeless PROM type."

 

Answer:

When EEPROM is connected to FX2LP, internal controller of FX2LP checks for first byte in    EEPROM. If this first byte is 0XC0 then it will download VID/PID/DID from the EEPROM, this EEPROM is called small EEPROM, normally  16 BYTE size is enough for this. If this first byte is 0XC2 then it will download firmware from the EEPROM, this EEPROM is called large EEPROM, normally its

size is large enough to store code. Hex2bix utility will give error if first byte is 0xC0 and file size is much more(normally code size).So it requires to use 0xC2 as first byte to generate .IIC file in Hex2bix command.