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

USB EZ-PD™ Type-C Forum Discussions

KyleLin
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Where can I get software utility that can update PMG1-S3 PD firmware by its USB 2.0 interface?

Regards,

Kyle

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

Hi Kyle,

you can check the below the link to get the DFU firmware which support DFU,I2C and Uart.

https://github.com/Infineon/mtb-example-pmg1-dfu-bootloader

Please change the TRANSPORT_OPT in the makefile according to your application and the details will be found in the link.

 

Thanks & Regards
Mohamed Rahmathulla

View solution in original post

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

Hi Kyle,

  Thank you for posting in infineon community.

 We dont have any software utility  to program PD firmware in PMG1 series , but we have EZ-PD configurator in Modus toolbox which help you to configure PD through GUI and program the updated PD through modustool box itself.

 

you can also use Cypress programmer to program PMG1 ICs through SWD pins.

 

Thank you,

Mohamed Rahmathulla

0 Likes
KyleLin
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi Mohamed,

After mass production, it should have a utility or command line tool, that can be used to update PD firmware by USB 2.0 .  Where can I get it from?

Regards,

Kyle

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

Hi Kyle,

you can use ModusToolbox -> Device Firmware Update Tool for the program.

please refer the section 4 in the below link 

https://www.infineon.com/dgdl/Infineon-ModusToolbox_DFU_Host_Tool_1.60_User_Guide-UserManual-v01_00-...

 

and also You can use Cypress Programmer to load the Firmware file to the ICs. 

 

Thank you,

Mohamed Rahmathulla

0 Likes
KyleLin
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi Mohamed,

After mass production,  it is not workable for a end user to remove dock case and use a Cypress programmer to update PD firmware. What is solution for PMG1-S3? 

Regards,

Kyle

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

Hi Kyle,

you can check the below the link to get the DFU firmware which support DFU,I2C and Uart.

https://github.com/Infineon/mtb-example-pmg1-dfu-bootloader

Please change the TRANSPORT_OPT in the makefile according to your application and the details will be found in the link.

 

Thanks & Regards
Mohamed Rahmathulla

0 Likes
KyleLin
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi Mohamed,

I am looking for a utility on host side, instead of a bootloader on device side.

I wonder if you get my point or not.

 

Kyle

0 Likes
KyleLin
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

In previous dock project, there is utility like the attached picture to update PD FW by USB 2.0.

Is there such tool for PMG1-S3?

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

Hi Kyle,

Please go through the link completely which i have shared in the previous response.

You have to flash the DFU USB firmware for the very first time in every IC since it is not supported USB based DFU by default, then you can update the firmware through USB using DFU Host tool which is all mentioned in the link.

HmdRahmathulla_0-1673865979138.png

You can find the DFU Host tool in Modus ToolBox. kindly check the image.

Thanks & Regards,

Mohamed Rahmathulla

0 Likes
KyleLin
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi Mohamed,

Let’s re-confirm the update tool for PMG1-S3.

  1. The firmware need to use DFU (aka bootloader) to support CLI firmware update.
  2. Use DFU host tool 1.60 to update PMG1-S3 firmware. (CLI: dfuh-cli.exe, GUI: dfuh-tool.exe)

Is it correct?

Question:

  1. Only support .cyacd2 file, not .bin file? (We use .bin file on TBT4 dock project.)
  2. We plan to use USB-CDC, is there any problem about this? Or any recommend from your side?

Regards,

Kyle

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

Hi Kyle,

Yes, we need to use DFU(aka bootloader) to support CLI firmware tool

yes, we have to use DFU host tool.

 

  1. Only support .cyacd2 file, not .bin file? (We use .bin file on TBT4 dock project.)

       ans : Yes it will support only .cyacd2 file. 

       2. We plan to use USB-CDC, is there any problem about this? Or any recommend from your side?

      ans : yes, you can use after flashing the DFU firmware as USB.

are you developing TBT4 DOCK system using PMG1-S3? if yes please provide me the version and name detail, so that i will help you from the Dock side instead of generic PMG1 controller side.

 

Thanks & Regards,

Mohamed Rahmathulla

 

 

0 Likes