- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are there any updates to the CCG3PA stack so that the device can be updated via UART or I2C?
it's ok to flash it once via SWD, but on the field we can't rely on SWD nor CC to upgrade the firmware.
Thanks
Solved! Go to Solution.
- Labels:
-
USB EZ-PD Type-C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please find the CCG3PA power adapter and power bank projects in CCGx Power SDK.
Both CC Bootloader source projects are present within the SDK.
cc_src_boot.cydsn project is found in EZ-PD CCGx Power SDK\CCGx\Firmware\projects\CYPD3175-24LQXQ_pa_direct_fb\CYPD3175-24LQXQ_pa_direct_fb.cydsn path and cc_snk_boot.cydsn is found in EZ-PD CCGx Power SDK\CCGx\Firmware\projects\CYPD3171-24LQXQ_pb\CYPD3171-24LQXQ_pb.cydsn
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
CCG3PA supports CC bootloading as well as SWD programming. We have no plans to implement firmware update over I2C for CCG3PA.
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is your proposal to update the ccg3pa firmware on the field?
it's quite uncommon to implement a full swd host / daplink on the main mcu to enable fw-updates.
curious why you have this limitation when other ccg parts have the standard i2c and uart bootloaders in place?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Programming over CC interface is convenient method to update firmware in CCG3PA. You can use CY4532(https://www.cypress.com/documentation/development-kitsboards/cy4532-ez-pd-ccg3pa-evaluation-kit) Power Board as a programmer and EZ-PD Configuration Utility tool to program.
Since CCG3PA part is used in Power adapter and Power Bank applications, the only interface that is accessible in the end product would be Type-C port. Therefore, CCG3PA implements CC bootloader and not I2C as in case of other controllers.
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sure, but we need in-system-programming here, we can not require the user to do it via CC nor SWD...
how do we best get the i2c bootloader implemented? can you provide the source-code for the CCG3PA so that we can do this ourselves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please find the CCG3PA power adapter and power bank projects in CCGx Power SDK.
Both CC Bootloader source projects are present within the SDK.
cc_src_boot.cydsn project is found in EZ-PD CCGx Power SDK\CCGx\Firmware\projects\CYPD3175-24LQXQ_pa_direct_fb\CYPD3175-24LQXQ_pa_direct_fb.cydsn path and cc_snk_boot.cydsn is found in EZ-PD CCGx Power SDK\CCGx\Firmware\projects\CYPD3171-24LQXQ_pb\CYPD3171-24LQXQ_pb.cydsn
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
right! so theoretically we could take an i2c compatible bootloader from psoc 4 or another ccg (which one?) and migrate it ourselves, correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
Yes, you will have to implement it yourself. CCG3 has an I2C bootloader that you can refer to.
Pranava