| Electronic Components Datasheet Search |
|
CCG3 Datasheet(PDF) 14 Page - Cypress Semiconductor |
|
|
|||||||||||||||||||||||||||||
CCG3 Datasheet(HTML) 14 Page - Cypress Semiconductor |
|
14 / 45 page ![]() EZ-PD™ CCG3 Document Number: 002-03288 Rev. *J Page 14 of 45 CCG3 Programming and Bootloading There are two ways to program application firmware into a CCG3 device: 1. Programming the device flash over SWD Interface 2. Application firmware update over specific interfaces (CC, USB, I2C) Generally, the CCG3 devices are programmed over SWD interface only during development or during the manufacturing process of the end product. Once the end product is manufac- tured, the CCG3 device's application firmware can be updated via the appropriate bootloader interface. Programming the Device Flash over SWD Interface The CCG3 family of devices can be programmed using the SWD interface. Cypress provides a programming kit (CY8CKIT-002 MiniProg3 Kit) called MiniProg3 which can be used to program the flash as well as debug firmware. The flash is programmed by downloading the information from a hex file. This hex file is a binary file generated as an output of building the firmware project in PSoC Creator Software. Click here for more information on how to use the MiniProg3 programmer. There are many third-party programmers that support mass programming in a manufacturing environment. As shown in the block diagram in Figure 7, the SWD_0_DAT and SWD_0_CLK pins are connected to the host programmer's SWDIO (data) and SWDCLK (clock) pins respectively. During SWD programming, the device can be powered by the host programmer by connecting its VTARG (power supply to the target device) to VSYS pin of CCG3 device. If the CCG3 device is powered using an on-board power supply, it can be programmed using the “Reset Programming” option. For more details, refer to the CYPD3XXX Programming Specifications. The CYPD3105 device for Thunderbolt cable applications is pre-programmed with a micro-bootloader that allows users to program the flash using the alternate SWD pins (SBU1 for SWD_1_CLK and SBU2 for SWD_1_DAT) that can be connected to the SBU interface of a Type-C connector. Note that this interface can be used to program the flash only once. Subse- quent re-programming of this device can be done through the primary SWD interface (SWD_0_CLK and SWD_0_DAT pins). Irrespective of which SWD interface is used for programming the device, once the device is programmed with the hex file provided by Cypress for thunderbolt cable application, subsequent updates to the application firmware can be done over the CC line. Refer to Application Firmware Update over Specific Inter- faces (I2C, CC, USB) for more details. Figure 7. Connecting the Programmer to CYPD3xxx Device Application Firmware Update over Specific Interfaces (I2C, CC, USB) The application firmware can be updated over three different interfaces depending on the default firmware programmed into the CCG3 device. Refer to Table 38 for more details on default firmware that various part numbers of the CCG3 family of devices are pre-programmed with (note that some of the devices have bootloader only and some have bootloader plus application firmware). The application firmware provided by Cypress for all CCG3 applications have dual images. This allows fail-safe update of the alternate image while executing from the current image. For more information, refer to the EZ-PD Configuration Utility User Manual. Application Firmware Update over I2C Interface This method primarily applies to CYPD3122, CYPD3125, and CYPD3126 devices of the CCG3 family. In these applications, the CCG3 device interfaces to an on-board application processor or an embedded controller over I2C interface. Refer to Figure 8 for more details. Cypress provides pseudo-code for the host processor for updating the CCG3 device firmware. Host Programmer CYPD3xxx VDD VSYS SWDCLK XRES SWDIO GND SWD_0_CLK XRES SWD_0_DAT VDD GND VSS 3.0 V VCCD VDDD VDDIO 1 F 10V X7R 1 F 10V X7R |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |