nRF54H20 LCS Transitions

From SEGGER Knowledge Base
Jump to navigation Jump to search

The Nordic Semiconductor nRF54H20 series comes with life cycle features. SEGGER has implemented support for these features via a dedicated utility called Device Provisioner. For more information, please refer to the Device Provisioner article. The nRF54H20 life cycle features are implemented in the PCode_DevPro_NordicSemi_nRF54H20.pex script file.

Important notes

  1. LCS transitions can only be made forward, an LCS transition cannot be reversed.
  2. Before triggering an LCS transition to RoT, the secure domain firmware, including SICR update contents, must have been programmed.

LCS Empty

  1. Initial LCS state. Local domain programming is performed in this state, as well as Nordic secure domain firmware programming.
  2. Only the SECURE core is available for debugging.

LCS RoT

  1. A cryptographic relationship with the local domain firmware components of the device can be established.
  2. Local domain keys are provisioned in this state.
  3. The APP and Radio cores are available for debugging.
  4. Debugging the SECURE core is no longer available.

LCS DEPLOYED

  1. The secure domain is protected and ready to be used in-field.

Usage

DevPro -operation [operation_name] -if SWD -speed 1000 -ScriptFile PCode_DevPro_NordicSemi_nRF54H20.pex
Operation Description
Discovery Prints LCS information of the device.
LCSTransitionToRoT Transitions the device to LCS RoT.
LCSTransitionToDeployed Transitions the device to LCS DEPLOYED.

Examples

Discovery

Command

DevPro.exe -operation Discovery -if swd -speed 1000 -scriptfile PCode_DevPro_NordicSemi_nRF54H20.pex

Output

Command line: -operation Discovery -if swd -speed 1000 -scriptfile C:\Work\JLink\PCodes\DevPro\public\PCode_DevPro_NordicSemi_nRF54H20.pex
Firmware: J-Link OB-nRF5340-NordicSemi compiled Jul  8 2025 10:15:34
S/N: 1051179664

J-Link log: Device reset.
J-Link log: Device booted into ROM operation mode.
J-Link log: ADAC Auth Version: 0x00000001
J-Link log: SoC Class: 0x00005420
J-Link log: SoC ID [0]: 0x2A1CC9BB
J-Link log: SoC ID [1]: 0xEF117488
J-Link log: SoC ID [2]: 0x73251295
J-Link log: SoC ID [3]: 0x64D4E458
J-Link log: HW Permissions Mask [0]: 0x00000001
J-Link log: HW Permissions Mask [1]: 0x00000087
J-Link log: HW Permissions Mask [2]: 0x00000000
J-Link log: HW Permissions Mask [3]: 0x00000000
J-Link log: PSA Lifecycle: 0x00001000
J-Link log:   LCS EMPTY / PSA_LCS ASSEMBLY_AND_TEST

LCSTransitionToRoT

Command

DevPro.exe -operation LCSTransitionToRoT -if swd -speed 1000 -scriptfile PCode_DevPro_NordicSemi_nRF54H20.pex

Output

Command line: -operation LCSTransitionToRoT -if swd -speed 1000 -scriptfile C:\Work\JLink\PCodes\DevPro\public\PCode_DevPro_NordicSemi_nRF54H20.pex
Firmware: J-Link OB-nRF5340-NordicSemi compiled Jul  8 2025 10:15:34
S/N: 1051179664

J-Link log: Device reset.
J-Link log: Device booted into ROM operation mode.
J-Link log: LCS transitioned to RoT

LCSTransitionToDeployed

Command

DevPro.exe -operation LCSTransitionToDeployed -if swd -speed 1000 -scriptfile PCode_DevPro_NordicSemi_nRF54H20.pex

Output

Command line: -operation LCSTransitionToDeployed -if swd -speed 1000 -scriptfile C:\Work\JLink\PCodes\DevPro\public\PCode_DevPro_NordicSemi_nRF54H20.pex
Firmware: J-Link OB-nRF5340-NordicSemi compiled Jul  8 2025 10:15:34
S/N: 1051179664

J-Link log: Device reset.
J-Link log: Device booted into ROM operation mode.
J-Link log: LCS transitioned to DEPLOYED