- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We transplant CC bootloader code from CCG3PA to CCG5 .
When we click Utility button Program, an error happens as follows.
Because CCG3PA PD register differs from CCG5, modify CC bootloader PD contract code as shown in the attachment.
Please indicate where is wrong.
Thanks
BR
Venus
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Venus,
I have checked the PD-Log and .C file of bootloader. there is no VBUS-Down or any overshoot/undershoot alert command in the Log File, please do trace your program to check the cause of VBUS-Down and we don't have firmware for CC bootloader in CCG5 series since we are supporting I2C bootloader.
They are few steps you have to follow while creating bootloader.
* It should not implement any PD or type-C timer.
* It should not retry PD messages except Source Capabilities message.
* It should not issue Hard Reset or Soft Reset
*It should respond to only those PD messages which are mandatorily required to establish PD
contract, alternate mode entry and firmware update over UVDMs
Thanks & Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
When click button program , PD log as follows. One is CCG3PA, other is CCG5. CCG3PA Vbus down and up,then PD contracts well. But CCG5 Vbus down and then no pd log output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Venus,
Thank you for posting in infineon community,
Yes, You are correct, CCG3PA and CCG5 register Would not be the same.
Could you please share the PD log file for both CCG3PA and CCG5, so that i can look into your program as well as your log file for further clarification.
Meanwhile you can check with DFAE for TRM availability to compare the register from yourside.
Thanks & Regards
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Venus,
I have checked the PD-Log and .C file of bootloader. there is no VBUS-Down or any overshoot/undershoot alert command in the Log File, please do trace your program to check the cause of VBUS-Down and we don't have firmware for CC bootloader in CCG5 series since we are supporting I2C bootloader.
They are few steps you have to follow while creating bootloader.
* It should not implement any PD or type-C timer.
* It should not retry PD messages except Source Capabilities message.
* It should not issue Hard Reset or Soft Reset
*It should respond to only those PD messages which are mandatorily required to establish PD
contract, alternate mode entry and firmware update over UVDMs
Thanks & Regards
Mohamed Rahmathulla