When making changes to the driver name of the USB device, the firmware needs to be modified with the Keil software and the. iic files are burned to the external eeprom in cy7c68013a, and the. hex file Keil generated can only be burned into cypress RAM.
This configuration is also very simple, first find the Bin folder in the installation Kit, find the Hex2bin software. Such as:
After locating the application, paste its path, then right-click in the project folder or select Project->options for Target ' Targer 1 ', select the Output option and select the Run User program #1选择如所示:
In, you need to write the following command to the Run User program run#1:
xxxx (Paste the path just hex2bin here)-i-f 0xc2-o Bulkloop.iic Bulkloop.hex as shown in the following example:
C:\Users\Administrator\Desktop\11112\CY3684_EZ-USB_FX2LP_DVK\1.1\Bin\Hex2bix.exe-i-F 0xc2-o BULKLOOP.IIC Bulkloop.hex
For where-I means the output is an. iic file.
–f 0xC2, indicates that after burning, the USB device is plugged into the host device again, using the C2 boot mode (starting from the external EEPROM, reading vid,pid, etc.).
-O indicates that the input file. Hex is converted to. iic files.
After the above setup, click Compile or shortcut key F7 to generate the. iic file, as shown in:
//=========================================================
Note that the conversion succeeded because the. hex file was first generated and then converted using the Hex2bin software, so you must first generate the. hex file, as shown in:
C:\Users\Administrator\Desktop\11112\CY3684_EZ-USB_FX2LP_DVK\1.1\Bin\Hex2bix.exe-i-F 0xc2-o BULKLOOP.IIC Bulkloop.hex
For the above actions, you can also modify the name of the build. IIC, for example, change BULKLOOP.IIC to BULK.IIC, and then click Compile to generate the. iic file named Bulk.iic, as shown in:
USB Learning Note Serial (13): Keil Configuration Environment