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

USB EZ-PD™ Type-C Forum Discussions

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
50 replies posted 50 sign-ins 10 solutions authored

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
50 replies posted 50 sign-ins 10 solutions authored

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

Hi 

PREVIEW
 
0 Likes
HmdRahmathulla
Moderator
Moderator
Moderator
50 replies posted 50 sign-ins 10 solutions authored

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