cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Common Errors while Programming CCG3PA using EZ-PD Configuration Utility - KBA232322

ChaitanyaV_61
Employee

Common Errors while Programming CCG3PA using EZ-PD Configuration Utility - KBA232322

Version: **

Question: What are the common errors encountered while programming CCG3PA using the EZ-PD Configuration Utlity?

Answer: The EZ-PD Configuration Utility is a Microsoft Windows application that helps users to configure and program the CCGx Controllers. The Graphical User Interface (GUI) allows users to intuitively select and configure different parameters for their application.

For more details on the EZ-PD Configuration Utility and installer, please visit https://www.cypress.com/documentation/software-and-drivers/ez-pd-configuration-utility

Programming setup in CY4532 EZ-PD CCG3PA EVK

The CY4532 EZ-PD CCG3PA EVK consists of a main board with a CCG3PA controller and a power board, which provides required power supplies to the main board. The power board also consists of a Cypress CCG4 controller, which enables downloading firmware on to the CCG3PA present on the main board using the EZ-PD Configuration Utility. It is connected to the CCG3PA device using CC lines. The CCG4 controller is connected to a Cypress USB-Serial device (present on the power board) over I2C to receive the CCG3PA firmware from the EZ-PD Configuration Utility. The connection required to program the CCG3PA controller on the CY4532 EVK is shown in Figure 1.

Figure 1. CCG3PA Controller Programming Setup on CY4532 EVK

CCG3PA Controller Programming Setup on CY4532 EVK.png

 

Common errors during Programming

The following are some common errors encountered by users while programming CCG3PA using the EZ-PD Configuration Utility, their possible reasons, and solutions.

1. EZ-PD Configuration Utility cannot detect the device. The power board of CY4532 EVK is detected by the EZ-PD Configuration Utility but the device to be programmed (main board) is not detected.

Figure 2. Main Board not Detected in EZ-PD Configuration Utility

Main Board not Detected in EZ-PD Configuration Utility.png

 

Table 1. Solution for Error in Detection of Main Board while Programming

Problem/ Error Reason/ Justification Solution

EZ-PD Configuration Utility cannot detect the device. Power board is detected by the Configuration Utility but device to be programmed is not detected.

The power board and the main board to be programmed are not properly connected/powered Make sure that the connection between the device and the power board is valid and the power board is properly powered.
   Invalid jumper settings in CY4532 EVK Make sure that the jumpers are connected as described in the CY4532 EVK Guide

 

2. Device to be programmed (main board) is greyed out and cannot be selected in EZ-PD Configuration Utility during firmware update.

Figure 3. CCG3PA Controller on the Main Board is Greyed out in EZ-PD Configuration Utility
CCG3PA Controller on the Main Board is Greyed out in EZ-PD Configuration Utility.png

 

Configuration Utility log:

PD contract established.
Error: No response to GET_SILICON_ID U_VDM
Retrying, ignore the above error message
Error: Flashing VID (4b4) not found in Discover SVID Response

 

Table 2. Solution for Error of Device being deactivated while Programming

Problem/ Error

Reason/ Justification

Solution

Device to be programmed is greyed out and cannot be selected in EZ-PD Configuration Utility during firmware update.

 

Firmware update over CC interface was disabled in configuration table by setting “Enable firmware update” under Device Parameters tab to “No”

“Enable firmware update” section in the configuration table must be set to “Yes”. This new firmware must be programmed using the CCG3PA SWD interface. This enables further firmware updates to be performed over CC interface from the EZ-PD Configuration Utility.

 

3. Firmware update fails at 30% completion with “Failed to find valid firmware for update” error in EZ-PD Configuration Utility log.

Figure 4. Firmware Update Failure in EZ-PD Configuration Utility

Firmware Update Failure in EZ-PD Configuration Utility.png

 

Table 3. Solution for Firmware Update Failure

Problem/ Error

Reason/ Justification

Solution

Firmware update stops at 30% completion with Failed to find valid firmware for update error in EZ-PD Configuration Utility log.

Occurs when .cyacd file of configuration table is used to update the entire firmware.

When a PSoC Creator project is built, two separate .cyacd files are created: Project_name.cyacd contains the entire firmware image to be programmed and Project_name_config.cyacd contains only the configuration table of the project. Make sure to select Project_name.cyacd while programming the new firmware and Project_name_config.cyacd while updating the configuration table.

 

4. Flash update procedure fails. PD contract not established after RESET.

Table 4. Solutions for Flash Update Error

Problem/ Error Reason/ Justification Solution
Firmware update stops at 90% / 99% completion when the flash update procedure fails. PD contract could not be established after the RESET error message. PD contract not established after FW update. New firmware programmed may not be functional in which case future firmware updates over CC interface are not possible. A tested working firmware with bootloader should be programmed over SWD interface. Upon reprogramming the device can again be programmed using EZ-PD Configuration Utility.
  Device is being programmed with future firmware update disabled in the configuration table by setting “Enable firmware update” parameter to “No”. In this case, it is the expected behaviour. Test if the newly programmed firmware is working as expected.
  In the CY4532 EVK, this occurs if the new firmware is from a different application (Power Bank/ Power Adapter) than the previous one. It is the expected behaviour; change the jumper settings per the newly programmed application and test if it is working.
  PD Contract not established after FW update. Smaller value of UFP restart timeout could cause the issue.

UFP restart timeout value can be increased in the Options menu.

 

5. Updated firmware image not valid. Flash update procedure failed.

Figure 5. Error Message Displayed when Programmed with Corrupted Firmware

Error Message Displayed when Programmed with Corrupted Firmware.png

 

 Table 5. Solutions for Error due to Flash Update Procedure Failure

Problem/ Error

Reason/ Justification

Solution

Updated firmware image not valid. Flash update procedure failed.

Firmware file used is corrupted. Error message is displayed as in Figure 5.

A working firmware without corrupted data should be programmed over the SWD interface.

0 Likes
Version history
Revision #:
13 of 13
Last update:
‎Jan 07, 2021 11:14 PM
Updated by: