User guide

16 CY8CKIT-002 MiniProg3 User Guide, Doc. # 001-59350 Rev. *E
Technical Description
3.1 Interfaces
3.1.1 ISSP
In-System Serial Programming (ISSP) is a Cypress legacy interface used to program the PSoC 1
family of microcontrollers. MiniProg3 supports programming PSoC 1 devices through the 5-pin
connector only.
For more information about the ISSP interface, see the PSoC 1 Technical Reference Manual.
3.1.2 JTAG
The Joint Test Action Group (JTAG) standard interface is supported by many high-end
microcontrollers, including the PSoC 3 and PSoC 5LP families. This interface allows a daisy chain
bus of multiple JTAG devices. The MiniProg3 supports programming and debugging the PSoC 3 and
PSoC 5LP devices using JTAG, through the 10-pin connector only.
3.1.3 SWD/SWV
Recent ARM-based devices have introduced a new serial debugging standard called Serial Wire
Debug (SWD). The PSoC 3, PSoC 4, and PSoC 5LP family implements this standard, which offers
the same programming and debugging functions as JTAG except the boundary scan and daisy
chain. SWD uses fewer pins of the device than the JTAG. MiniProg3 supports programming and
debugging PSoC 3, PSoC 4, and PSoC 5LP devices, using SWD, through the 5-pin or 10-pin
connector.
The Single Wire Viewer (SWV) interface, also introduced by ARM, is used for program and data
monitoring, where the firmware may output data in a method similar to “printf” debugging on PCs,
using a single pin. MiniProg3 supports monitoring of PSoC 3 and PSoC 5LP firmware, using SWV,
through the 10-pin connector and in conjunction with SWD only.
The PSoC 3, PSoC 4, and PSoC 5LP devices support the SWD programming through both the SWD
and USB SWD lines. Before programming a PSoC 3, PSoC 4, or PSoC 5LP device, make sure you
review the electrical connection requirements in the respective device datasheet or in the PSoC 3,
PSoC 4, and PSoC 5LP device programming specifications. You can find the datasheets and
programming specifications here:
http://www.cypress.com/go/psoc3
http://www.cypress.com/go/psoc5lp
http://www.cypress.com/go/programming
3.1.4 I
2
C
A common serial interface standard is the I
2
C standard. It is mainly used for communication between
microcontrollers and other ICs on the same board, but can also be used for intersystem
communications. MiniProg3 uses an I
2
C multimaster host controller that allows the tool to exchange
data with I
2
C-enabled devices on the target board. For example, this feature may be used to tune
the CapSense
®
designs.
When MiniProg3 is configured to I
2
C protocol mode, MiniProg3 enables internal 5.6-K pull-up
resistors on the SDA and SCL lines.