Skip to content

Latest commit

 

History

History
112 lines (75 loc) · 6.09 KB

File metadata and controls

112 lines (75 loc) · 6.09 KB

EZ-PD Protocol Analyzer Utility v4.2.0 Community Patch v1.0p

English | 日本語

An unofficial, source-only patch for the Infineon EZ-PD Protocol Analyzer Utility v4.2.0 and supported CY4500-family protocol analyzers, including CY4500 and CY4500-EPR.

The package does not include any Infineon executable, plug-in JAR, firmware, driver, documentation, or decompiled vendor source. It modifies a compatible local installation and creates backups before replacing files.

What this patch adds or fixes

Capture table and data handling

  • Correct CSV End Time export and packet row numbering.
  • Preserve user-resized widths for the USB PD Messages, Details, and Payload tables.
  • Right-align the numeric Payload columns.
  • Add checkbox multi-select filters for Status, SOP, Message, Msg ID, Data Role, Power Role, Obj Count, and Rev.
  • Add Hide selected values to invert a column filter. Filters from different columns are combined.
  • Keep the message filters active after capture, Open, Import, and Clear operations.
  • Display both live VBUS voltage and current in the device status area.
  • Remove redundant Export, Import, Save, and Exit dialogs.

Graphical view

  • Correct unsigned VBUS handling for voltages up to 48 V.
  • Correct graph STOP, selection, navigation, checkbox, scrollbar, layout, and axis behavior.
  • Improve labels, marker readability, legends, axis tick alignment, and the Graphical live-coordinate header layout.
  • Preserve the main window size between launches.

Trigger view (optional)

-EnableTriggers restores the hidden Triggers view.

  • Supports Start Sno, End Sno, SOP, Message Type, Object Count, and Message ID trigger criteria.
  • Sends the selected USB PD message type to the analyzer using its original numeric value.
  • Omits reserved C_RSVD*, D_RSVD*, and E_RSVD* entries from the selectable Message Type lists.
  • Leaves USB PD Messages decoding unchanged. In particular, the C_RSVD0 text on synthetic VBUS event rows is not changed.

Trigger output is generated by the analyzer hardware GPIOs (SOM, EOM, and MTR). It is intended for observation by external equipment such as an oscilloscope. Trigger configuration is independent of packet capture and is cleared when the analyzer hardware is disconnected.

CC Terminations view (optional, electrical effect)

-EnableTerminations restores the hidden Terminations view.

Warning: Terminations are not a display-only setting. Applying a setting electrically connects the analyzer hardware's CC-line resistors and changes the Type-C attach behavior seen by connected equipment.

The supported analyzer hardware can apply the following CC terminations:

Setting Emulated role Electrical connection
Rp Type-C Source 4.7 kohm pull-up to 3.3 V
Rd Type-C Sink 5.1 kohm pull-down
Ra Powered Type-C Cable 1 kohm pull-down
Ra + Rd Powered Cable with Sink or VCONN-powered accessory 5.1 kohm and 1 kohm pull-downs in parallel

Use this feature only when you understand the Type-C CC topology and the effect on the attached device. Monitor CC1 and CC2 with suitable equipment before and after applying a setting. Do not enable Rp or Rd termination while both a Type-C Source and a Type-C Sink are already connected through the analyzer; Infineon's user guide warns that this can produce unpredictable source or sink behavior. Use the view's Clear function to clear termination settings.

Requirements and compatibility

  • A clean, supported installation of Infineon EZ-PD Protocol Analyzer Utility v4.2.0 and a compatible CY4500-family analyzer. Both CY4500 and CY4500-EPR are supported.
  • Windows 10 or Windows 11, 64-bit, with Windows PowerShell 5.1. The launchers use the built-in powershell.exe; PowerShell 7 is not required.
  • A 64-bit JDK 17 or later. The patcher requires java, javac, jar, and javap from the JDK; a JRE alone is not sufficient.
  • Permission to modify the Analyzer installation directory.
  • The Analyzer must be closed before applying or restoring the patch.

The patcher verifies expected stock classes before it writes the main UI plug-in. It deliberately refuses an unknown or already-modified installation rather than overwrite it. Restore the stock installation first if that check fails.

Install

  1. Make a backup of the Analyzer installation and close the Analyzer.
  2. Run Patch-Analyzer.cmd from Explorer or Command Prompt.
  3. Choose optional advanced views only when needed:
Patch-Analyzer.cmd
Patch-Analyzer.cmd -EnableTriggers
Patch-Analyzer.cmd -EnableTerminations
Patch-Analyzer.cmd -EnableTriggers -EnableTerminations

For a non-default installation directory:

Patch-Analyzer.cmd -AppDir "D:\My Tools\EZ-PD Protocol Analyzer Utility"

The default installation directory is:

C:\Infineon\Tools\EZ-PD Protocol Analyzer Utility

The patched Analyzer starts once after a successful installation so its Eclipse UI layout cache can be refreshed.

Restore

Close the Analyzer and run Restore-Analyzer.cmd. It restores the plug-in JAR backups created by the patcher and starts the Analyzer once with a refreshed UI layout.

JFreeChart 1.5.6

This patch upgrades the embedded JFreeChart core from 1.5.3 to 1.5.6 while retaining the Analyzer's existing jfreechart-swt-1.0.17.jar SWT bridge. Two small compatibility facades preserve legacy API entry points used by that bridge.

The bundled third_party/jfreechart-1.5.6.jar is upstream JFreeChart and is licensed under the GNU Lesser General Public License, version 2.1 or later. See third_party/README.md and the upstream JFreeChart project for license and source information.

Project contents

  • Patch-Analyzer.cmd: normal installation launcher.
  • Restore-Analyzer.cmd: normal restore launcher.
  • src/: original community patch source files.
  • tools/: source transformers compiled locally by the patcher.
  • third_party/: the separately supplied JFreeChart 1.5.6 core JAR and its notice.

This is an independent community project. It is not affiliated with, endorsed by, or supported by Infineon Technologies AG.