Device Provisioner

From SEGGER Wiki
Revision as of 14:36, 8 March 2024 by Artjom.Kister (talk | contribs)
Jump to: navigation, search

The Device Provisioner (DevPro) is a command line utility that supports provisioning of target devices (debug authentication, lifecycle management, ...).

Availability

DevPro is part of the J-Link software package and Flasher software package since V7.96.
It can be used with J-Link, J-Trace and Flasher probes/programmers.

Usage

DevPro [options] script-file
Option Default Description
-if SWD/JTAG Not set Select SWD or JTAG as target interface.
-speed n Not set Set interface speed to n kHz.
-operation Name Not set Perform an operation from a script file.
-SetConfigVal "Name=Value" Not set Set a parameter for an operation.
-ScriptFile Filename.pex Not set Set a script file to be executed.
Note:

Usage of the particular operations are described in the corresponding Wiki-Page (listed in the section Supported Devices and Features) for that Device/Feature.

Example Output

C:\> DevPro -operation DbgAuthDiscover -if SWD -speed 4000 -ScriptFile "C:\Program Files\SEGGER\JLink\Script\PCode_DevPro_ST_STM32H5.pex"
SEGGER Device Provisioner V7.96
Compiled Mar  7 2024 16:48:58

'q' to quit '?' for help

Command line: -operation DbgAuthDiscover -if SWD -speed 4000 -ScriptFile C:\Program Files\SEGGER\JLink\Script\PCode_DevPro_ST_STM32H5.pex
J-Link log: Found device with ID: 0x00000474
J-Link log: Product state:
J-Link log: OPEN

Supported Devices and Features

The following table lists supported devices and features.

Supported Devices Supported features Description
ST Microelectronics
STM32H5 STM32H5 Security Product Lifecycle STM32H5 Security Product Lifecycle management:
debug authentication, data provisioning, device regression, product state transitions.