You are here

Programming EZ-PD™CCG2, EZ-PD™ CCG3 and EZ-PD™ CCG4 Using PSoC® Programmer and MiniProg3 - KBA96477 | Cypress Semiconductor

Support & Community

Programming EZ-PD™CCG2, EZ-PD™ CCG3 and EZ-PD™ CCG4 Using PSoC® Programmer and MiniProg3 - KBA96477

Last Updated: April 01, 2016

How do I program EZ-PD CCG2, EZ-PD CCG3 or EZ-PD CCG4 device? 


There are two ways of programming the EZ-PD CCG2 (CCG2), EZ-PD CCG3 (CCG3) or EZ-PD CCG4 (CCG4) device: 

  1. Using the PSoC® Programmer and MiniProg3, as explained in this knowledge base article. 
  2. Using the Cypress-provided utility, cc_flash.exe, over CC line. This method is explained in KBA96466 for CCG2 only.

Using PSoC Programmer and MiniProg3 

You can upgrade the firmware in a CCG2/3/4 device using the Serial Wire Debug (SWD) interface in the device. This approach uses a PC running the PSoC Programmer software and a MiniProg3 programmer to program the CCG2/3/4 device as shown in Figure 1.This simple method of programming, typically during product development, can be used on a board equipped with 5-pin or 10-pin SWD header. The MiniProg3 programmer acts as the host programmer and the CCG2/3/4 device as the target. Note that, VDDD of the CCG3/4 device should be set to 5 V for programming over SWD whereas VDDD of CCG2 device can be set to either 3.3 V or 5 V. 

Figure 1: Programming CCG2/3/4 device using MiniProg3 

Figure 1: Programming CCG2/3/4 device using MiniProg3

Download and install PSoC Programmer from the PSoC Programmer web page; procure the MiniProg3 Program and Debug Kit from the Cypress web page. To use PSoC Programmer, follow these steps:

  1. Start PSoC Programmer from Start > All Programs > Cypress > PSoC Programmer
  2. Connect one end of the USB cable to the MiniProg3 programmer; connect the other end to a PC.
  3. Connect the MiniProg3 programmer to the SWD header on the board.
  4. Select the MiniProg3 programmer from the Port Selection window, as shown in Figure 2.

    Figure 2. PSoC Programmer Window

    PSoC Programmer Window

  5. Ensure that the settings on PSoC Programmer are as highlighted in Figure 2. Connector radio button should be set to10p for CCG2 and 5p for CCG3/4.
  6. Click the File Load button, and select the appropriate hex file. Contact Cypress for the CCG2/3/4 firmware images. The status message at the bottom right of the PSoC Programmer window will indicate if the board is powered.
  7. If the board is not powered yet, click the Power button and verify the status message as in step 7. 
  8. Click the Program button to program the hex file onto the chip. When the file is successfully programmed, the “Programming Succeeded” message appears on the Actions window. 
Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type