NXP Secure Provisioning SDK

Secure Provisioning SDK (SPSDK) for NXP MCU portfolio

To support interaction with NXP’s SPSDK during production, an SBC can be included in the PPC.

Tip

NXP’s MCUXpresso SEC tool can be used to create the necessary command scripts and factory images (which may need additional headers) for production programming with SPSDK.

References

For example, to program a DUT using the built-in bootloader.

Sample Test Plan

title: Program NXP mimxrt1010 EVK using SPSDK
suite:
 - title: Defines
   steps:
    - command: define FIRMWARE.bin "tinyuf2.bin"
    - command: define SBC.uart "UART2"
 - title: New SBC Session
   steps:
    - command: agentCfg PROGSBC %SBC.uart%
      with:
      - "%FIRMWARE.bin%"
 - title: Program i.MX-RT1010EVK flash via SPSDK
   steps:
    - command: uart %SBC.uart%
      send: "\r\nsdphost -u 0x1fc9,0x0145 -- write-file 0x20206400 %FIRMWARE.bin%\r\n"
      expect: "Response status = 2290649224 (0x88888888) Write File Success."
      timeout: 30s
    - command: uart %SBC.uart%
      send: "\r\nsdphost -u 0x1fc9,0x0145 -- jump-address 0x20207000 && && echo retval:$?\r\n"
      expect: "retval:0"
      timeout: 5s

References