
CY8CKIT-062S2-43012 PSoC 62S2 Wi-Fi BT Pioneer Kit Guide, Doc. # 002-28109 Rev. *E
24
Kit Operation
2.2
KitProg3: On-Board Programmer/Debugger
The PSoC 62S2 Wi-Fi BT Pioneer Board can be programmed and debugged using the onboard
KitProg3. KitProg3 is an onboard programmer/debugger with USB-UART and USB-I2C functionality.
A Cypress PSoC 5LP device is used to implement KitProg3 functionality. For more details on the
KitProg3 functionality, see the
KitProg3 User Guide
.
2.2.1
Programming and Debugging using ModusToolbox
This section presents a quick overview of programming and debugging using ModusToolbox. For
detailed instructions, see
Help
>
ModusToolbox IDE Documentation
>
User Guide
.
1. Connect the board to the PC using the USB cable, as shown in
Figure 2-5
. It enumerates as a
USB Composite Device if you are connecting it to your PC for the first time. KitProg3 can operate
either in CMSIS-DAP Bulk mode (default), CMSIS-DAP HID mode or DAPLink mode (DAPLink
mode is required for programing using Mbed CLI). KitProg3 also supports CMSIS-DAP Bulk with
two UARTs. Programming is faster with the Bulk mode. The status LED (Yellow) is always ON in
Bulk mode, ramping at 1 Hz rate in HID mode, and ramping at 2 Hz rate in DAPLink mode. Press
and release the Mode select button (SW3) to switch between these modes. If you do not see the
desired LED status, see the KitProg3 User Guide for details on the KitProg3 status and
troubleshooting instructions.
Figure 2-5. Connect USB Cable to USB Connector on the Board
2. In the ModusToolbox IDE, import the desired code example (application) into a new workspace.
a. Click on
New Application
from
Quick Panel
.
Figure 2-6. Create New Application
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