.hex working, .iic not working

Question: When I download the hex file to the device it works fine. When I convert the same to .iic file and boot from EEPROM, it is not working. Why?

 

Answer:

One possible reason is that part/full of your firmware resides in external memory and you are using –i in the hex2bix command line utility to generate the .iic file. The reason behind this behavior is that EEPROM load by default can write only to internal memory so if the part/full of the firmware resides in external memory then a boot-loader has to be loaded which takes care of writing to external memory. Using –e instead of –i to generate the .iic file in the hex2bix command line utility accomplishes this.