User Guide
54 of 67
002-32601 Rev. *C
2021-12-02
EZ-
PD™ PMG1 MCU prototyping kits guide
CY7110/CY7111/CY7112/CY7113
Application development on CY711x kits using
ModusToolbox™ software
5.4
Programming and Debugging using the 10-pin SWD interface
5.4.1
Programming using MiniProg4 from ModusToolbox™ software
The 10-pin SWD header (J8) is provided on the prototyping kits to support 10-pin SWD programmer and
debugger probes. The header is not populated on the board by default, and you need to solder the standard
Mini SWD 0.05-inch-pitch connector. FTSH-105-01-L-DV-K-P-TR from Samtech is the recommended connector.
See
for pinout connection details.
Figure 49
Programming through the 10-pin SWD interface
shows the connection diagram for programming the kit through a 10-pin SWD connector. Connect
the MiniProg4 programmer to the 10-pin SWD connector on the kit using a 10-pin ribbon cable.
The MiniProg4 does not supply power to the target board in its default configuration. The following changes
should be implemented on the
run configuration/debug configuration
to use MiniProg4 as a programmer.
6.
In ModusToolbox™, r
ight-click
Project Explorer
, and open
Run Configurations
(
Run As > Run
Configurations…)
.
7.
Select
<Application name > Program (KitProg3_MiniProg4)
under
GDB OpenOCD Debugging
.
8.
On the right-side pane, navigate to the
Debugger
tab.
9.
In the
Config
options, set
PSOC4_USE_ACQUIRE
.
−
To enable power cycle programming for the CY7110, set the value to
2
.
−
To enable reset programming for the CY7111, CY7112, and CY7113, set the value to
1
.
10.
In
Config options
, add an
ENABLE_POWER SUPPLY
parameter, and set the value to
5000
.
The ENABLE_POWER_SUPPLY parameter enables power on the VTARG pin of the MiniProg4 and sets the
voltage to the value of the parameter (in mV). For more details, see