USB learning notes serialization (13th): keil configuration environment, learning notes keil

Source: Internet
Author: User

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:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.