Application Note
39 of 42
001-65209 Rev.*I
2021-03-19
Getting Started with FX2LP™
Appendix E: Adding Custom VID and PID to the .inf File
12
Appendix E: Adding Custom VID and PID to the
.inf
File
The Bulkloop firmware example uses VID 0x4B4 and PID 0x1004. These values are included in the
cyusbfx1_fx2lp.inf
file that accompanies this application note. If you change the VID and PID values in your
FX2LP firmware project and if they are not already listed in the
.inf
file, then you need to add those values to
allow your device to be recognized by Cypress development tools such as the USB Control Center. The
following steps show how to add custom VID and PID values to
cyusbfx1_fx2lp.inf
.
Open
cyusbfx1_fx2lp.inf
file. Because this is a text file, you can use any text editor such as WordPad. Add your
custom VID and PID as shown in
and
. The steps shown in these figures assume the custom
VID is 0x4B4 and PID is 0x1005. Note that these steps are shown for a Windows XP, 32-bit platform.
Figure 31
Adding Custom VID and PID to Cyusb.inf
Figure 32
Adding custom VID and PID to Cyusb.inf
After making these changes, connect the FX2LP Development Board to a PC and download your firmware
image (.hex file), which has VID 0x4B4 and PID 0x1005. When the driver installer asks for a driver location, you
point it to the modified
cyusbfx1_fx2lp.inf
file, binding it to
CyUSB.sys
. After FX2LP is bound to
CyUSB.sys
, it
will appear on the left panel of the Control Center as
shows. Now, you can perform data transfers
using your custom VID and PID using the Control Center.