Device Provisioner
The Device Provisioner (DevPro) is a command line utility that supports provisioning of target devices (debug authentication, lifecycle management, ...).
Contents
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. |
Usage of the particular operations are described in the corresponding Wiki-Page (listed in the section Supported Devices and Features) for that Device/Feature.
Additional features
V7.96a
Script file search sequence
If a script file is not specified with a absolute path, that file will be searched in the following order:
1) In the current working directory
2) In the "Script" folder relative to Device Provisioner executable path (Default script files)
Example Output
C:\> DevPro -operation DbgAuthDiscover -if SWD -speed 4000 -ScriptFile 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 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. |