CYUSB3KIT-001 EZ-USB FX3 Development Kit Guide, Doc. #: 001-70237 Rev. *C
57
Kit Operation
3.12
Modify the Bulkloop Firmware Example
The firmware examples can be modified and recompiled using the Eclipse IDE. The modified
firmware binary can then be downloaded to FX3 RAM and tested using a SuiteUSB application. To
demonstrate the modification, the USBBulkLoopAuto firmware example of FX3 SDK is used. The
bulk endpoint number and its associated socket are modified here to simply demonstrate how to
modify, recompile the firmware example, and test the functionality using a PC application.
Select the
USBBulkLoopAuto
example in the Project Explorer window of the Eclipse IDE. In the list
of .c files, select cyfxbulklpauto.c, as shown in
Figure 3-28
.
Figure 3-28. Selecting cyfxbulklpauto.c in Eclipse IDE
In this example, the bulk endpoint EP1 handles both IN and OUT transfers. The endpoint
configuration is performed in the CyFxBulkAppInStart() function. The code snippet from
Cyfxbulklpauto.c, shown in
Figure 3-29
, displays how EP1 is configured as a bulk endpoint type
using API CyU3PSetEpConfig().
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from