USB learning notes serialization (13th): keil configuration environment, learning notes keil
When changing the driver name of a USB device, you must use the keil software to modify the firmware and generate the firmware. iic files are burned to the external EEPROM of CY7C68013A, which is generated by keil. hex files can only be burned into Cypress's RAM.
This configuration is also very simple. First find the bin folder in the installation kit and find the hex2bin software. For example:
Find the application, paste its path, right-click the Project folder or select Project-> Options for Target 'targer 1', and select the Output option, select Run User Program #1, as shown in:
In, Run User Program Run #1 to write the following command:
Xxxx (paste the path of hex2bin here)-I-f 0xC2-o bulkloop. iic bulkloop. hex is 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
-I indicates that the output is a. iic file.
-F 0xC2 indicates that after the USB device is burned, the USB device is inserted to the host device again, and the C2 startup mode (starting from the external EEPROM, reading VID, PID, etc.) is used ).
-O: converts the input file. hex to The. iic file.
After the preceding settings are complete, click compile or the shortcut key F7 to generate the. iic file, as shown in:
// ================================================ ==============================
Note that the above conversion is successful because the. hex file is generated first and then converted using the hex2bin software. Therefore, the. hex file must be converted, 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
You can also modify and generate the preceding operations. iic name, such as bulkloop. change iic to bulk. iic, and then click compile to generate. the iic file name is bulk. iic, as shown in: