Infineon Traveo T2G Debug Authentication

From SEGGER Knowledge Base
Jump to navigation Jump to search

The Infineon Traveo T2G series of comes with a security feature called Debug access port authentication. SEGGER implemented support for this feature via a dedicated utility called Device Provisioner. For more information about this, please refer to the Device Provisioner article. Traveo T2G Debug access port authentication features are implemented in the PCode_DevPro_Infineon_Traveo_T2G_DebugAuth.pex script file.

Important notes

  1. After password authentication, the device will remain unlocked until it is reset.
  2. The password file can be specified as either a text or a binary file.

Usage with other SEGGER tools

During the connection procedure of some tools or during debugging, a reset may be executed. This would cause the device to be locked again. To prevent the J-Link from resetting the target, you have the following options:

  • J-Flash: Delete the Reset init step under Options → Project settings → Init. steps.
  • Generic solution (all SEGGER tools): Include a J-Link Script file that overrides the ResetTarget() function. See ResetTarget() for details.
  • Ozone: In addition to overriding ResetTarget() in the J-Link script file, the TargetReset() function in the Ozone project file should be uncommented. This ensures that the SP and PC are set to the application start.

Usage

DevPro -operation [operation_name] -if SWD -speed 15000 [-SetConfigVal parameter_name=value] -ScriptFile PCode_DevPro_Infineon_Traveo_T2G_DebugAuth.pex
Operation Parameters Values Description
DebugAccessPortAuth PasswordFile Filename Unlocks the device by providing the password via the SACI interface.

Examples

Password Authentication

Command

DevPro.exe -operation "DebugAccessPortAuth" -setconfigval PasswordFile="C:\Temp\Password.txt" -scriptfile PCode_DevPro_Infineon_Traveo_T2G_DebugAuth.pex -if swd -speed 1000

Output

Command line: -operation "DebugAccessPortAuth" -setconfigval PasswordFile="C:\Temp\Password.txt" -scriptfile PCode_DevPro_Infineon_Traveo_T2G_DebugAuth.pex -if swd -speed 1000
Firmware: J-Link V12 compiled Feb  6 2026 17:12:26
S/N: 602004466

J-Link log: Identifying target device...
J-Link log: SWD selected. Executing JTAG -> SWD switching sequence...
J-Link log: DAP initialized successfully.
J-Link log: Starting debug access port authentication...
J-Link log:   Password length (bytes): 0x00000010
J-Link log:   Password data (hex):
J-Link log:     0x04030201
J-Link log:     0x08070605
J-Link log:     0x14131211
J-Link log:     0x18171615
J-Link log:   Debug authentication result: Success
J-Link log: Debug authentication successful!