cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

drewfustini
New Contributor II

Hello, I noticed that support has been added for CCG6DF to src/flash/nor/psoc4.c:

 

commit 1ec8dc3fb0cd5b5fc1d71470b211a1a05efc70b9
Author: Volodymyr Medvid <vmed@cypress.com>
Date:   Mon Aug 31 14:42:43 2020 +0300

    Add Cypress modifications for OpenOCD 4.1

diff --git a/src/flash/nor/psoc4.c b/src/flash/nor/psoc4.c
index 48913f1d3e52..405d452cdd32 100644
--- a/src/flash/nor/psoc4.c
+++ b/src/flash/nor/psoc4.c
@@ -254,6 +254,8 @@ const struct psoc4_chip_family psoc4_families[] = {
        { 0xB5, "PSoC 4100S Plus",                      .flags = 0, .spcif_ver = spcif_v3 },
        { 0xB8, "PSoC 4100S Plus/PSoC 4500",            .flags = 0, .spcif_ver = spcif_v3 },
        { 0xBE, "PSoC 4100S Max",                       .flags = 0, .spcif_ver = spcif_v3 },
+       { 0xC0, "CCG6DF USB Type-C Port Controller",    .flags = 0, .spcif_ver = spcif_v3 },
+       { 0xC3, "CCG6SF USB Type-C Port Controller",    .flags = 0, .spcif_ver = spcif_v3 },
        { 0,    "Unknown",                              .flags = 0, .spcif_ver = spcif_unknown }
 };

 


I would like to program a CCG3PA part (CYPD3171-24LQXQ) using OpenOCD.  I have the MiniProg3, MiniProg4 and J-Link which I could use for the task.  I read the "CCGx (CYPDxxxx) Programming Specifications" PDF, and I am hoping that the support for CCG6DF might be able to be extended to support CCG3PA.

 
I am looking right now at how I could modify OpenOCD to do that, and I would very much appreciate any advice or insights you might be able to offer in regards to that.

Thank you!
Drew
0 Likes
1 Solution
2 Replies
ShifangZ_26
Moderator
Moderator

Hi ,

After confirmed with OPENOCD of Cypress developer and re-produced this issue with MiniProg3/4 and CY4532 board. We have to say that Cypress OpenOCD command-line interface (CLI) is not supporting CCGx devices currently. We are strongly recommend you use PSoC Programmer with MiniProg3/4 for SWD programming of CCGx Device. Or the third party of programmer have verified by Cypress/IFX could find out from the link:

 https://www.cypress.com/products/device-programmer-system-partners

 

Thank you for your understanding.

Best Regards,

Lisa

0 Likes