- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ezpd_dockupdatefw.exe has two input parameter.
-t : Specify the re-enumeration time out value in ms (Default = 60000)
-ct : Specify the connection time out value in ms (Default = 15000)
1. What different between -t and -ct parameter?
2. Can you explain this "-ct" parameter in detail?
Solved! Go to Solution.
- Labels:
-
USB EZ-PD Type-C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
-t that is the re-enumeration timeout is the time in ms that the dockupdatefw tool will wait to re-enumerate the device. The device will re-enumerate many times during the firmware upgrade process.
-ct or connection timeout is the time in ms the dockupdatefw tool will wait during initial connection phase. The dmc device has to be connected within this time else the updgrade will fail.
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
-t that is the re-enumeration timeout is the time in ms that the dockupdatefw tool will wait to re-enumerate the device. The device will re-enumerate many times during the firmware upgrade process.
-ct or connection timeout is the time in ms the dockupdatefw tool will wait during initial connection phase. The dmc device has to be connected within this time else the updgrade will fail.
Pranava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting on Infineon Developer Community!
"-t" is an option to provide a Re-enumeration timeout. Re-enumeration will happen once the DMC firmware is updated, Hub(to which the DMC is connected) firmware is updated, etc. Provide a large timeout value for this parameter to properly complete the firmware update before the timeout triggers. The Re-enumeration would depend on various factors like PC configurations, USB data transfer speed, etc. This timeout will trigger if no DMC device is found after this value.
"-ct" is an option to provide the timeout value for open device API. To communicate with the winusb device, Opendevice is the API to enable communication between the application and the winusb device. This timeout will trigger if there is an issue in opening the device after this value.
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Ajeeth
Sorry i have another question about "-reset" parameter.
i try to use "-reset" parameter to reset Dock, but Dock is not reset. (nothing happen )
Ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ivan,
Can you enable the verbose debug log option(-l v) and provide us the log to debug further?
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ezpd_dockupdatefw.exe -vid 04B4 -pid 5220 -reset -l v
*******************************************************************************
* EZ-PD Dock Firmware Update Tool v1.3.1.31 *
*******************************************************************************
Opening handle to dock
Device vid (0x6c4) is not matching with the input value
Device pid (0xc702) is not matching with the input value
Device pid (0xc010) is not matching with the input value
Connecting to the DMC
Sending soft Reset to dock
Reset device Failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you try with the next debug log options "-l debug", and "-l debug1"? Please share the logs.
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ezpd_dockupdatefw.exe -vid 413c -pid 5220 -reset -l debug
*******************************************************************************
* EZ-PD Dock Firmware Update Tool v1.3.1.31 *
*******************************************************************************
Mon Jul 25 18:05:13 2022
Opening device with vid 0x413cand pid 0x5220
Opening handle to dock
Device vid (0x6c4) is not matching with the input value
Device pid (0xc702) is not matching with the input value
Mon Jul 25 18:05:13 2022
Closing the DMC device
Device pid (0xc010) is not matching with the input value
Mon Jul 25 18:05:13 2022
Closing the DMC device
Connecting to the DMC
Mon Jul 25 18:05:13 2022
Sending state machine reset command
Mon Jul 25 18:05:13 2022
Resetting device
Sending soft Reset to dock
Mon Jul 25 18:05:13 2022
Sending device reset command
Mon Jul 25 18:05:13 2022
WinUsb_ControlTransfer failed. Error: 31
Reset device Failed
Mon Jul 25 18:05:13 2022
Closing the DMC device
-----------------------------------------------------------------------
ezpd_dockupdatefw.exe -vid 413c -pid 5220 -reset -l debug1
*******************************************************************************
* EZ-PD Dock Firmware Update Tool v1.3.1.31 *
*******************************************************************************
Mon Jul 25 18:06:04 2022
Opening device with vid 0x413cand pid 0x5220
Opening handle to dock
Searching for all devices with DMC GUID
Retrieving the path of interface #0
Trying to create CyWinUsb object for interface #0
Opening device handle
initializing winusb
De-initializing winusb
Closing device handle
The interface is not vendor class. It is 0x11
Retrieving the path of interface #1
Trying to create CyWinUsb object for interface #1
Opening device handle
initializing winusb
Retrieving the path of interface #2
Trying to create CyWinUsb object for interface #2
Opening device handle
initializing winusb
De-initializing winusb
Closing device handle
The interface is not vendor class. It is 0x11
Retrieving the path of interface #3
Trying to create CyWinUsb object for interface #3
Opening device handle
initializing winusb
Retrieving the path of interface #4
Trying to create CyWinUsb object for interface #4
Opening device handle
initializing winusb
De-initializing winusb
Closing device handle
The interface is not vendor class. It is 0x11
Retrieving the path of interface #5
Trying to create CyWinUsb object for interface #5
Opening device handle
initializing winusb
Reading device descriptor
Setting timeout for pipe #1
Device vid (0x6c4) is not matching with the input value
Device pid (0xc702) is not matching with the input value
Mon Jul 25 18:06:04 2022
Closing the DMC device
De-initializing winusb
Closing device handle
Reading device descriptor
Setting timeout for pipe #1
Reading device descriptor
Setting timeout for pipe #1
Device pid (0xc010) is not matching with the input value
Mon Jul 25 18:06:04 2022
Closing the DMC device
De-initializing winusb
Closing device handle
Connecting to the DMC
Mon Jul 25 18:06:04 2022
Sending state machine reset command
Executing control transfer
Mon Jul 25 18:06:04 2022
Resetting device
Sending soft Reset to dock
Mon Jul 25 18:06:04 2022
Sending device reset command
Executing control transfer
Mon Jul 25 18:06:04 2022
WinUsb_ControlTransfer failed. Error: 31
Reset device Failed
Mon Jul 25 18:06:04 2022
Closing the DMC device
De-initializing winusb
Closing device handle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Windows control transfer to the device failed with Error code 31 i.e., the Reset command itself did not reach the device.
Windows Error code 31 - A device attached to the system is not functioning.
Application was not able to communicate with the device after opening the handle. Can you reset the device/power cycle manually and then try this command again?
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Ajeeth,
I try to power cycle before run command-line tool, but result is the same.
Can you help us to check whether Dock-SDK DMC FW support this "RESET" command?
BR
Ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ivan,
Can you please let me know which device you are using? Is it our reference design?
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dock SDK - Version 3.3, July 12, 2020
devices : CCG4 + DMC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ivan,
Can you also please provide which reference design you are using? Is it your custom hardware design?
Thanks,
Ajeeth