CCG5 CC bootloader

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
HuHong
Level 1
Level 1
10 replies posted 10 sign-ins 5 replies posted

Hi All,

        We transplant CC bootloader code from CCG3PA  to CCG5 . 

        When we click Utility button Program, an error happens as follows.

HuHong_0-1667525883697.png

 

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

 

0 Likes
1 Solution
HmdRahmathulla
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

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

 

 

View solution in original post

0 Likes
4 Replies
HuHong
Level 1
Level 1
10 replies posted 10 sign-ins 5 replies posted

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.

HuHong_0-1667528384852.pngHuHong_1-1667528424249.png

 

 

0 Likes
HmdRahmathulla
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

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

0 Likes
lock attach
Attachments are accessible only for community members.

Hi 

PREVIEW
 
0 Likes
HmdRahmathulla
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

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

 

 

0 Likes