TI AM13E23x DevPro

From SEGGER Knowledge Base
Jump to navigation Jump to search

The TI AM13E23x series of devices implements functionality such as lifecycle management through the Debug Subsystem Mailbox (DSSM). SEGGER implemented support for these features via a dedicated utility called Device Provisioner. For more information about this, please refer to the Device Provisioner article. TI AM13E23x DSSM features are implemented in the PCode_DevPro_TI_AM13E23x.pex script file.

Usage

DevPro -operation [operation_name] -if JTAG -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Operation Description
DSSM_ReadID Displays the Trace ID, Device ID and User ID of the device.
DSSM_ReadLifeCycle Displays the lifecycle state of the device.
DSSM_FactoryReset Restores NONMAIN flash to default state and erases MAIN flash.
DSSM_MassErase Erases MAIN flash, NONMAIN flash is unaffected.
Get_Reset_Cause Displays the cause of the last occurred reset.
Software_SYSreset Performs a System Reset (CPU and peripherals only).
Software_BOOTreset Performs a Boot Reset (CPU, peripherals and boot configuration routine).
Software_SYSRST_with_BSL Performs a System Reset and enter BSL.
Software_POR Performs a Power-on Reset.

Examples

Displaying the IDs of the device:

DevPro.exe -operation DSSM_ReadID -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation DSSM_ReadID -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: DSSM READ ID
J-Link log: === start ===
J-Link log:   Sent SEC-AP command: 0x00000216
J-Link log:
J-Link log:   >>> Please reset the target device now <<<
J-Link log:
J-Link log:   Trace ID  : 0x00000000
J-Link log:   Device ID : 0x0000002F
J-Link log:   User ID   : 0x00000000
J-Link log: === end ===

Performing a mass erase (erase MAIN flash, NONMAIN flash unaffected):

DevPro.exe -operation DSSM_MassErase -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation DSSM_MassErase -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: DSSM MASS ERASE ===
J-Link log:   *** MASS ERASE: MAIN erased, NONMAIN unaffected  ***
J-Link log:   Sent SEC-AP command: 0x0000020C
J-Link log:
J-Link log:   >>> Please reset the target device now <<<
J-Link log:
J-Link log:   Command accepted. Disconnect and reconnect the power supply.
J-Link log: === end ===

Performing a factory reset (erase MAIN flash, restore NONMAIN flash to factory default state):

DevPro.exe -operation DSSM_FactoryReset -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation DSSM_FactoryReset -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: DSSM FACTORY RESET ===
J-Link log:   *** FACTORY RESET: NONMAIN restored to defaults, MAIN erased ***
J-Link log:   Sent SEC-AP command: 0x0000020A
J-Link log:
J-Link log:   >>> Please reset the target device now <<<
J-Link log:
J-Link log:   Command accepted. Disconnect and reconnect the power supply.
J-Link log: === end ===

Displaying the device lifecycle state:

DevPro.exe -operation DSSM_ReadLifeCycle -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation DSSM_ReadLifeCycle -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: DSSM_ReadLifeCycle
J-Link log: === start ===
J-Link log:   Sent SEC-AP command: 0x00000114
J-Link log:
J-Link log:   >>> Please reset the target device now <<<
J-Link log:
J-Link log:   LIFECYCLE: 0x00555596
J-Link log:              = HSFS
J-Link log: === end ===

Performing a SYS reset:

DevPro.exe -operation Software_SYSreset -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation Software_SYSreset -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: Software SYS Reset
J-Link log: === start ===
J-Link log:   Initiating System Reset (CPU and peripherals only)
J-Link log:   Reset Done
J-Link log: === end ===

Performing a BOOT reset:

DevPro.exe -operation Software_BOOTreset -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation Software_BOOTreset -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: Software BOOT Reset
J-Link log: === start ===
J-Link log:   Initiating Boot Reset (CPU, peripherals and boot configuration routine)
J-Link log:   Reset Done
J-Link log: === end ===

Performing a SYS reset and enter boot strap loader (BSL):

DevPro.exe -operation Software_SYSRST_with_BSL -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation Software_SYSRST_with_BSL -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: Software SYS Reset with BSL
J-Link log: === start ===
J-Link log:   System Reset and enter BSL
J-Link log:   Reset Done
J-Link log: === end ===

Performing a Power-On Reset (POR):

DevPro.exe -operation Software_POR -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation Software_POR -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: Power-on Reset
J-Link log: === start ===
J-Link log:   Power-on Reset
J-Link log:   Reset Done
J-Link log: === end ===

Displaying the cause of the last reset:

DevPro.exe -operation Get_Reset_Cause -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
SEGGER Device Provisioner V9.90
Compiled Oct 28 2026 16:04:58
Command line: -operation Get_Reset_Cause -if jtag -speed 4000 -ScriptFile PCode_DevPro_TI_AM13E23x.pex
Firmware: J-Link Ultra V8 compiled Oct 21 2026 15:38:35
S/N: 508000241

J-Link log: AM13E23x: Get Reset Cause===
J-Link log: === start ===
J-Link log:   Reset Cause = Software triggered POR
J-Link log: === end ===