Skip to content

Releases: nxp-mcuxpresso/spsdk

SPSDK 1.5.0

07 Sep 13:49
Compare
Choose a tag to compare

New features

  • nxpdevhsm - new application added:
    • The nxpdevhsm is a tool to create initial provisioning SB3 file for LPC55S36 to provision device with SB KEK needed to validate in device all standard SB3 files.
  • LIBUSBSIO integration as a replacement for HID_API module:
    • blhost - extend blhost by LPCUSBSIO interface
  • blhost - following trust-provisioning sub-commands added:
    • oem_get_cust_cert_dice_puk - creates the initial trust provisioning keys
    • oem_gen_master_share - creates shares for initial trust provisioning keys
    • oem_set_master_share - takes the entropy seed and the Encrypted OEM Master Share
    • hsm_gen_key - creates OEM common keys, including encryption keys and signing keys
    • hsm_store_key - stores known keys, and generate the corresponding key blob
    • hsm_enc_blk - encrypts the given SB3 data bloc
    • hsm_enc_sign - signs the given data
  • elftosb:
    • support for SB 2.1 generation using BD file
    • LPC55S3x - add support for unsigned/plain images
    • SB2.1 - SHA256 digest of all sections included in signed SB2.1 header
    • add supported families listing into elftosb
    • implement chip family option as a click.Choice
    • allow loading certificates for MBI in PEM format
  • nxpcertgen:
    • generate the template for yml configuration file containing the parameters for certificate
    • improve yml template description for nxpcertgen
    • add support for generating certificates in DER format
  • nxpkeygen:
    • moved option -p from general space to gendc subcommand.
    • add new -k keygen subcommand option to specify key type to generate
  • nxpdebugmbox:
    • refactor DebugCredential base class so that it will be possible to pass certificates in yml config file
    • check nxpdebugmbox on LPC55S3x
  • pfr - update CMPA/CFPA registers XML data for LPC55S3x with CRR update
  • SPSDK Applications:
    • spsdk applications show help message when no parameter on command line provided
    • improved help messages
    • support Ctrl+C in cmd applications
  • replace functional asserts with raising a SPSDK-based exception
  • replace all general exception with SPSDK-based exceptions

Bugfixes

  • nxpkeygen - regenerates a key without –force
  • elftosb - unclear error message: No such file or directory: ‘None’
  • pfr - duplicated error message: The silicon revision is not specified
  • nxpdebugmbox - fix Retry of AP register reads after Chip reset
  • nxpdebugmbox - add timeout to never ending loops in spin_read/write methods in Debug mailbox
  • blhost - flash-erase-region command doesn’t accept the memory_id argument in hex form
  • elftosb - using kdkAccessRigths = 0 in SB31 is throwing an error in KeyDerivator

SPSDK 1.4.0

24 Jun 14:22
2b5a303
Compare
Choose a tag to compare

Features:

  • version flag added for all command-line application
  • support for Python 3.9 added
  • [blhost] following sub-commands added:
    • list-memory
    • flash-program-once
    • set-property
    • flash-erase-all-unsecure
    • flash-security-disable
    • flash-read-resource
    • reliable-update
    • fuse-program
    • flash-image
    • program-aeskey
  • [blhost] memoryId calmp-down for mapped external memories added
  • [elftosb] support for SB 2.1 added
  • [elftosb] basic support for BD configuration file added
  • [nxpdebugmbox] debug port enabled check added
  • [nxpkeygen] new sub-command added to nxpkeygen to create a template for configuration YML file for DC keys
  • [nxpkeygen] new sub-command added to create a template for configuration YML file for DC keys
  • [pfr] default JSON config file generation removed, but still accepted as an input. The preferred is the YML configuration format.
  • [docs] Read The Docs documentation improvements

Bugfixes:

  • wrong DCD size by BootImgRT.parse
  • cmdKeyStoreBackupRestore wrong param description
  • [blhost] typo in McuBootConnectionError exception
  • [blhost] mcuBoot Uart doesn't close the device after failed ping command
  • [blhost] assertion error when connection lost during fuses readout
  • [blhost] sub-command flash-read-resource fails when the length is not aligned
  • [pfr] incorrect keys hash computation for LPC55S3x
  • [pfr] wrong LPC55S69 silicon revision
  • [pfr] parse does not show PRINCE IV fields
  • [sdphost] running spdhost --help fails
  • [shadowreg] bad DEV_TEST_BIT in shadow registers

SPSDK 1.3.1

29 Mar 19:56
Compare
Choose a tag to compare

Features:

  • [PFR] configuration template supports YAML with description, backward compatibility with JSON ensured
  • [PFR] API change: "keys" parameter has been moved from init to export
  • [PRF] sub-commands renamed: (user-config -> get-cfg-template; parse -> parse-binary; generate -> generate-binary)
  • [blhost] allow key names for key-provisioning commands
  • [blhost] support for RT1170, RT1160
  • Shadow Registers tool is now top-level module

Bugfixes:

  • [blhost] fix baud rate parameter
  • [PFR] fix in data for Niob4, Niobe4 Mini, Niobe4 Nano
  • bug fixes for sb 2.1 commands and options

SPSDK 1.3.0

05 Mar 16:35
Compare
Choose a tag to compare

Features:

  • support creation of SB version 3.1 (for N4Analog)
  • elftosb application based on legacy elf2sb supporting SB 3.1 support
  • nxpdevscan - application for connected USB, UART devices discovery
  • shadowregs - application for shadow registers management using DebugProbe
  • support USB path argument in blhost/sdphost (all supported OS)
  • nxpcertgen cli application (basicConstrains, self-signed)
  • extend blhost commands:
    • flash-erase-all
    • call
    • load-image
    • execute
    • key-provisioning
    • receive-sb-file
  • extend blhost commands' options:
    • configure-memory now allows usage of internal memory
    • extend error code in output
    • add parameters lock/nolock into efuse-program-once command
    • add key selector option to generate-key-blob command
    • add nolock/lock selector to efuse-program-once command
    • add hexdata option to write-memory command

SPSDK 0.3.1

15 Jan 16:20
Compare
Choose a tag to compare

Blhost application:

  • added commnads: execute, receive_sb_file, key_provisioning
  • support for usb path arguments
  • extended error codes

Nxpdebugmbox application:

  • custom option for debug probe
  • help command displayed without connected probe

Support for RT595 board - rev B(2)

Allow deployment on PyPI

SPSDK 0.3.0

11 Dec 19:13
Compare
Choose a tag to compare
  • support for Niobe4 Analog devices
  • extend support for Niobe4 Mini, Nano
  • PFRC - console script for searching for brick-conditions in PFR settings
  • custom HSM support
  • elftosb application
  • sdpshost cli utility using sdpshost communication protocol
  • remote signing for Debug Credential
  • added command read-register into sdphost cli
  • dynamic plugin support
  • MCU Link Debugger support
  • [PFR] added CMAC-based seal
  • [PFR] load Root of Trust from elf2sb configuration file

SPSDK 0.2.2

09 Oct 14:02
Compare
Choose a tag to compare
  • fix handling of HAB-enable in SDP
  • add PFR support for devices from Niobe4 and Niobe4Nano family
  • add commands used by sb3.1
  • add efuse length into efuse-read-once command

SPSDK 0.2.1

18 Sep 13:40
Compare
Choose a tag to compare

PFR and Nxpkeygen now accept elftosb configuration file for rot-meta definition (--elf2sb-config).
Nxpkeygen does not overwrite existing files unless --force is used.