User guide

86 CY3687 MoBL-USB FX2LP18 Development Kit User Guide, Doc. # 001-68582 Rev. *B
MoBL-USB Development Kit Firmware Examples
tent first valid byte is always 0xC2 and additional bytes contain new VID/PID information.Type the
“c2 b4 04 83 00 00 00 00 00 07 00 00 90 e6 80 e4 f0 80 fe 80 01 e6 00 00" in Hex Bytes box.
Click on Vend Req. Following figure summarizes the entire operation. To verify the written data
read the data in IN direction and observe the same data as shown in following Figure 8-11.
Figure 8-11. A2 Vendor Command Write Operation using Cyconsole
b. Test using CyControlCenter
To read the contents of small EEPROM select Direction=In Req Type=vendor Target=Device
Bytes to Transfer=24 bytes (data to read) and Req Code=0xA2 for reading the data on control
endpoint. Click on Transfer Data button. Figure 8-12 summarizes the entire operation.
Figure 8-12. A2 Vendor Command Read Operation using CyControlCenter
To write the contents to small EEPROM select Direction=OUT Req Type=vendor Target=Device
Bytes to Transfer=24 bytes (data to read) and Req Code=0xA2 and enter data to send-c2 b4 04
84 00 00 00 00 00 07 00 00 90 e6 80 e4 f0 80 fe 80 01 e6 00 00 in Data to send box. Click on
Transfer Data button and observe the EEPROM getting programmed. To verify set Direction =In
and click Transfer Data button Figure 8-13 summarizes the entire operation. Figure 8-13 summa-
rizes the entire operation