NXP NCJ29D6Plus Softwareupdate
Jump to navigation
Jump to search
NXP NCJ29D6 Plus SoftwareUpdatDate(SWUP) is supported by Device Provisioner command line tool. To use it, PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex script file must be specified as a command line argument.
Supported update scenarios
| Scenario | J-Link Support |
|---|---|
| Update via recovery interface | |
| Update via host interface (loaded to RAM) | |
| Update via host interface (located in flash) |
Supported OpCode IDs
| OpCode ID | Description | Support via host interface | Support via recovery interface |
|---|---|---|---|
| 0x7C53 | Bundle update | ||
| 0x74F9 | DMT transition init -> protected | ||
| 0x6D9F | DMT transition protected -> init |
Important notes
- This script can only be used at NXP NCJ29D6 B2 Plus devices and only SWD interface is supported.
Usage
DevPro -operation [operation_name] -if SWD -speed 4000 [-SetConfigVal parameter_name=value] -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
| Operation | Parameters | Values | Description |
|---|---|---|---|
| SWUpdate | PackageFile | Valid PKG file | PKG files are generated via NXP Software Update Package Generator. |
| SWUPFile | SwupSwdHostifRam.bin | SWD software host interface, linked to RAM execution. This file can be found in NXP NCJ29D6 CAS Examples (\onic\Toolsupport\Binaries_Plus). | |
| SWRecovery | PackageFile | Valid PKG file | PKG files are generated via NXP Software Update Package Generator. |
| SWUPFile | NCJ29D6_SWUP.bin | SWD software recovery interface. This file can be found in NXP SW29D6-PLUS_Foundation_v02.2.0. |
Examples
SWUP bundle update via HIF
Example
C:\Program Files\SEGGER\JLink\DevPro.Exe -operation SWUpdate -SetConfigVal PackageFile=C:\tmp\BlinkyLed_R5Plus_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\SwupSwdHostifRam.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
SEGGER Device Provisioner V9.23 (beta)
Compiled Feb 25 2026 14:13:06
Command line: -operation SWUpdate -SetConfigVal PackageFile=C:\tmp\BlinkyLed_R5Plus_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\SwupSwdHostifRam.bin -if SWD -speed 1000 -ScriptFile C:\tmp\PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
Firmware: J-Link Pro V5-1 compiled Mar 2 2026 10:18:06
S/N: 175103947
J-Link log: Manifest Data:
J-Link log: Opcode ID: 0x00007C53
J-Link log: Components list:
J-Link log: Component number : 0x00000000
J-Link log: size : 0x00007000
J-Link log: Component number : 0x00000001
J-Link log: size : 0x00001000
J-Link log: Component number : 0x00000002
J-Link log: size : 0x00005000
J-Link log: End list.
J-Link log: Sending Debug mailbox activation.
J-Link log: SWUPHIF transferred successfully.
J-Link log: Transferring Manifest.
J-Link log: Starting Update.
J-Link log: Component: 0x00000000
J-Link log: Component already present, skipping.
J-Link log: Component: 0x00000001
J-Link log: Component updated successfully.
J-Link log: Component: 0x00000002
J-Link log: Component already present, skipping.
J-Link log: Finishing Update.
J-Link log: Deactivating SWUP.
J-Link log: Update finished.
SWUP bundle update via RIF
Example
C:\Program Files\SEGGER\JLink\DevPro.Exe -operation SWRecovery -SetConfigVal PackageFile=C:\tmp\BlinkyLed_R5Plus_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\NCJ29D6_Plus_SWUP.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
SEGGER Device Provisioner V9.23 (beta)
Compiled Feb 25 2026 14:13:06
Command line: -operation SWRecovery -SetConfigVal PackageFile=C:\tmp\BlinkyLed_R5Plus_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\NCJ29D6_Plus_SWUP.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
Firmware: J-Link Pro V5-1 compiled Mar 2 2026 10:18:06
S/N: 175103947
J-Link log: Manifest Data:
J-Link log: Opcode ID: 0x00007C53
J-Link log: Components list:
J-Link log: Component number : 0x00000000
J-Link log: size : 0x00007000
J-Link log: Component number : 0x00000001
J-Link log: size : 0x00001000
J-Link log: Component number : 0x00000002
J-Link log: size : 0x00005000
J-Link log: End list.
J-Link log: Sending Debug mailbox recovery.
J-Link log: SWUP recovery image successfully transferred.
J-Link log: Transferring Manifest.
J-Link log: Starting Update.
J-Link log: Component: 0x00000000
J-Link log: Component: 0x00000001
J-Link log: Component: 0x00000002
J-Link log: Verifying components.
J-Link log: Finishing Update.
J-Link log: Deactivating SWUP.
J-Link log: Recovery update finished.
DMT transition to protected via HIF
Example
C:\Program Files\SEGGER\JLink\DevPro.Exe -operation SWUpdate -SetConfigVal PackageFile=C:\tmp\DMT_Init_Protected_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\SwupSwdHostifRam.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
SEGGER Device Provisioner V9.23 (beta)
Compiled Feb 25 2026 14:13:06
Command line: -operation SWUpdate -SetConfigVal PackageFile=C:\tmp\DMT_Init_Protected_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\SwupSwdHostifRam.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
Firmware: J-Link Pro V5-1 compiled Mar 2 2026 10:18:06
S/N: 175103947
J-Link log: Manifest Data:
J-Link log: Opcode ID: 0x000074F9
J-Link log: Components list:
J-Link log: End list.
J-Link log: Sending Debug mailbox activation.
J-Link log: SWUPHIF transferred successfully.
J-Link log: Transferring Manifest.
J-Link log: Starting Update.
J-Link log: Update finished.
DMT transition to protected via RIF
Example
C:\Program Files\SEGGER\JLink\DevPro.Exe -operation SWRecovery -SetConfigVal PackageFile=C:\tmp\DMT_Init_Protected_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\NCJ29D6_Plus_SWUP.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
SEGGER Device Provisioner V9.23 (beta)
Compiled Feb 25 2026 14:13:06
Command line: -operation SWRecovery -SetConfigVal PackageFile=C:\tmp\DMT_Init_Protected_TransportKeys.pkg -SetConfigVal SWUPFile=C:\tmp\NCJ29D6_Plus_SWUP.bin -if SWD-speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
Firmware: J-Link Pro V5-1 compiled Mar 2 2026 10:18:06
S/N: 175103947
J-Link log: Manifest Data:
J-Link log: Opcode ID: 0x000074F9
J-Link log: Components list:
J-Link log: End list.
J-Link log: Sending Debug mailbox recovery.
J-Link log: SWUPHIF recovery image transferred successfully.
J-Link log: Transferring Manifest.
J-Link log: Starting Update.
J-Link log: Recovery update finished.
DMT transition to init via RIF
Example
C:\Program Files\SEGGER\JLink\DevPro.Exe -operation SWRecovery -SetConfigVal PackageFile=C:\tmp\DMT_Protected_Init_UserKeys_Board_A.pkg -SetConfigVal SWUPFile=C:\tmp\NCJ29D6_Plus_SWUP.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
SEGGER Device Provisioner V9.23 (beta)
Compiled Feb 25 2026 14:13:06
Command line: -operation SWRecovery -SetConfigVal PackageFile=C:\tmp\DMT_Protected_Init_UserKeys_Board_A.pkg -SetConfigVal SWUPFile=C:\tmp\NCJ29D6_Plus_SWUP.bin -if SWD -speed 1000 -ScriptFile PCode_DevPro_NXP_NCJ29D6Plus_SWUP.pex
Firmware: J-Link Pro V5-1 compiled Mar 10 2026 11:27:07
S/N: 175103947
J-Link log: Manifest Data:
J-Link log: Opcode ID: 0x00006D9F
J-Link log: Components list:
J-Link log: End list.
J-Link log: Sending Debug mailbox recovery.
J-Link log: SWUPHIF recovery image transferred successfully.
J-Link log: Transferring Manifest.
J-Link log: Starting Update.
J-Link log: Recovery update finished.