CY8CKIT-002 MiniProg3 User Guide Doc. # 001-59350 Rev. *E Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.
Copyrights Copyrights © Cypress Semiconductor Corporation, 2011-2013. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights.
Contents 2. Safety Information 5 1. Introduction 7 1.1 1.2 1.3 1.4 1.5 1.6 CY8CKIT-002 Contents ...............................................................................................7 Programming ...............................................................................................................7 Debugging ...................................................................................................................8 Bridging.....................................................
Contents 4 CY8CKIT-002 MiniProg3 User Guide, Doc. # 001-59350 Rev.
Safety Information Regulatory Compliance CY8CKIT-002 is used as a development platform for hardware or software in a laboratory. In a domestic environment, this product may cause radio interference; adequate prevention measures should be taken. CY8CKIT-002, as shipped from the factory, is verified to meet with requirements of CE as a Class A product. The CY8CKIT-002 boards are sensitive to electrostatic discharge (ESD). Electrostatic charges accumulate on the human body and on other equipment.
Safety Information 6 CY8CKIT-002 MiniProg3 User Guide, Doc. # 001-59350 Rev.
1 Introduction PSoC® MiniProg3 is an all-in-one programmer for PSoC 1, PSoC 3, PSoC 4, and PSoC 5LP architectures, a debug tool for PSoC 3, PSoC 4, and PSoC 5LP architectures, and an USB-I2C Bridge for debugging I2C serial connections and communicating with PSoC devices. Designed as a low-cost aid for developers to use in building their own systems around Cypress 8-bit and 32-bit PSoC devices, the MiniProg3 is included in the CY8CKIT-001 development kit and sold as a standalone kit, CY8CKIT-002.
Introduction 1.3 Debugging MiniProg3 supports the following debugging protocols for 8-bit and 32-bit PSoC devices: ■ SWD (PSoC 3, PSoC 4, PSoC 5LP) ■ JTAG (PSoC 3, PSoC 5LP) ■ I2C (limited PSoC 1 devices) The MiniProg3 debugger is supported by the software tools PSoC Creator and PSoC Designer. 1.4 Bridging MiniProg3 supports USB-I2C bridging protocols.
Introduction Table 1-2. Document Conventions for User Guides Convention Usage File > Open Represents menu paths: File > Open > New Project Bold Displays commands, menu paths, and icon names in procedures: Click the File menu, and then click Open. Times New Roman Displays an equation: 2+2=4 Text in gray boxes Describes cautions or unique functionality of the product. CY8CKIT-002 MiniProg3 User Guide, Doc. # 001-59350 Rev.
Introduction 10 CY8CKIT-002 MiniProg3 User Guide, Doc. # 001-59350 Rev.
2. Installing MiniProg3 This chapter shows how to install MiniProg3 and its associated PC software. 2.1 System Requirements Make certain that your computer meets all of the requirements to connect to the MiniProg3 and its associated software. Table 2-1. Computer Requirements Computer Requirements Recommended Processor speed 2 GHz RAM 3 GB Hard disk free space 1 GB Screen resolution 1024x768 CD-ROM drive Yes USB port (or powered USB hub) 2.
Installing MiniProg3 2.3 MiniProg3 Installation The MiniProg3 programmer and debugger are supported by PSoC Programmer, PSoC Designer, and PSoC Creator. Secondary software, such as Bridge Control Panel and Clock Programmer, use the programmer COM hardware layer to support MiniProg3 functionality. 1. Download and install PSoC Programmer. Follow the instructions to install the software. 2. Connect the MiniProg3 to your computer’s USB port using the USB cable.
Installing MiniProg3 2.4 Example Projects MiniProg3 is supported by PSoC Programmer, a simple GUI that connects to programming hardware to program and configure PSoC devices, and to develop custom applications.
Installing MiniProg3 14 CY8CKIT-002 MiniProg3 User Guide, Doc. # 001-59350 Rev.
3. Technical Description MiniProg3 is a protocol translation device. With MiniProg3, the PC host software can communicate through a high-speed USB to the target device to be programmed or debugged, as shown in Figure 3-1. The device-side communication protocol can be one of the several standards and can occur over either of the two connectors. Table 3-1 lists the protocols that are supported by each connector. MiniProg3 enables communication with the target devices using I/O voltage levels from 1.
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.
Technical Description 3.1.5 Reference For more information on the PSoC 3 and PSoC 5LP JTAG, SWD, and I2C interfaces, see the PSoC 3 and PSoC 5LP Technical Reference Manuals. For more information on PSoC 1 interfaces, see the PSoC 1 Technical Reference Manual. 3.2 Connectors 3.2.1 5-Pin Connector The 5-pin connector is configured as a single row with 100-mil pitch. It is designed to mate with a Molex model 22-23-2051 (straight) or 22-05-3051 (right angle) male header with a key tab. Figure 3-2.
Technical Description Here is a summary of the protocols and related pin assignments. Table 3-2. Communication Protocol Pin Assignments Protocol ISSP JTAG SWD / SWV I2C Signal 5-Pin SCLK 4 SDAT 5 XRES 3 10-Pin TMS 2 TCK 4 TDO 6 TDI 8 XRES 10 SDIO 5 2 SCK 4 4 a 6 SWV XRES 3 SCK 4 SDA 5 10 a. SWV trace is only available in conjunction with SWD debugging. 3.
A. A.1 Appendix Troubleshooting If you experience difficulty with your MiniProg3, see the following table to correct the problem. Table A-1. Troubleshooting Guide Problem Try LED does not blink upon power on. Make sure the MiniProg3 USB cable is properly attached to both MiniProg3 and the computer. If you are using a hub, make sure that the hub is properly attached to both MiniProg3 and the computer. If you are using a self-powered hub, the power must be properly connected.
CY8CKIT-002 MiniProg3 User Guide, Doc. # 001-59350 Rev.