USB Learning Note Serial (13): Keil Configuration Environment

Source: Internet
Author: User

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

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.