TI AM13E23x Device Provisioning

From SEGGER Knowledge Base
(Redirected from TI AM13E23x DevPro)
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 and reset functions 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 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.

Important information

  • The commands mass erase and factory reset will erase the flash and are operations which cannot be undone.
  • Should the respective DSSM commands be disabled via NONMAIN, the DevPro commands will return an error.
  • DSSM commands require a reset to be accepted.
  • Factory reset and mass erase require an additional power-on reset after completing the DSSM commands for changes to take effect.

Examples

Display the IDs of the device

Example
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 ===

Perform a mass erase

Example
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: === Start ===
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 ===

Perform a factory reset

Example
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: === Start ===
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 ===

Display the device lifecycle state

Example
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 ===

Perform a SYS reset

Example
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 ===

Perform a BOOT reset

Example
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 ===

Perform a SYS reset and enter bootstrap loader (BSL)

Example
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 ===

Perform a Power-On Reset (POR)

Example
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 ===

Display the cause of the last reset

Example
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 ===