Download Cypress Semiconductor AN6077 User guide
Transcript
MoBL-USB Development Kit Firmware Examples Figure 8-2. Build Window Snapshot of hid_kb Project Note: Observe that the total Code bytes of hid_kb project is less than the 4k code limit of Keil uVision2 IDE provided along with the kit. ■ Firmware for MoBL-USB FX2LP18 RAM memory: The output of the Build Target is hid_kb.hex. It is relevant file for downloading to MoBL-USB FX2LP18 RAM memory. ■ Firmware for external I2C EEPROM: To generate EEPROM compatible firmware Image the Keil IDE invokes hex2bix.exe utility to convert the output file hid_kb.hex into hid_kb.iic. Right click on Target1 in Project Window and select Options for Target 'Target1'. This will pop-up keil settings for this project.Select Output tab and observe at the bottom of IDE the hex2bix utility is invoked as shown in Figure 8-3. Figure 8-3. hid_kb Project Output Image Settings Under Run User program#1 section observe the hex2bix utility is invoked in the following manner: ..\..\Bin\hex2bix -i -c 0x00 -f 0xC2 -o hid_kb.iic hid_kb.hex Refer to application note, “Using the hex2bix Conversion Utility - AN45197” to know more details on the hex2bix utility. 8.2.2 Method to Download Firmware Image to MoBL-USB Internal RAM Memory 1. On the MoBL-USB FX2LP18 development board select switch SW2 to SAFE side. 62 CY3687 MoBL-USB FX2LP18 Development Kit User Guide, Doc. # 001-68582 Rev. *B