Logo
25.06.00
MCUXpresso SDK Project v: latest
Document Release Versions
25.06.00
25.06.00-pvw2
25.06.00-pvw1
25.03.00
25.03.00-pvw2
latest

Introduction

  • MCUXPresso SDK

Getting Started

  • Github Repository
  • Zip Package

User Guide

  • Drivers
  • Examples
  • Middleware
    • Boot
      • MCUXpresso SDK : mcuxsdk-middleware-mcuboot_opensource
      • MCUboot
      • MCU Bootloader
        • Getting Started with the Flashloader for Kinetis
        • i.MX RT1010 Flashloader Release Notes
        • i.MX RT1010 Manufacturing User Guide
        • i.MX RT1015 Flashloader Release Notes
        • i.MX RT1015 Manufacturing User Guide
        • i.MX RT1020 Flashloader Release Notes
        • i.MX RT1020 Manufacturing User Guide
        • i.MX RT1024 Flashloader Release Notes
        • i.MX RT1024 Manufacturing User Guide
        • i.MX RT1050 Flashloader Release Notes
        • i.MX RT1050 Manufacturing User Guide
        • i.MX RT1060 Manufacturing User Guide
        • i.MX RT1064 Flashloader Release Note
        • i.MX RT1064 Manufacturing User Guide
        • i.MX RT1160 Flashloader Release Notes
        • i.MX RT1160 Manufacturing User Guide
        • i.MX RT1170 Flashloader Release Notes
        • i.MX RT1170 Manufacturing User Guide
        • Kinetis MCU Manufacturing Tool User Guide
        • LPC540xx/LPC54S0xx Flashloader Release Notes
        • Getting Started with LPC540xx/LPC54S0xx Flashloader
          • Introduction
          • Overview
          • Device running flashloader
          • SPIFI configuration structure
          • One Time Programmable (OTP) memory
          • Physical Unclonable Function (PUF) key provisioning and related commands
        • MCU Bootloader Reference Manual
    • Cloud
    • Connectivity
    • eIQ
    • File System
    • Motor Control
    • MultiCore
    • Multimedia
    • Wireless
    • Sensors
  • RTOS
  • Boards

Development

  • Build And Configuration System
  • Developing with MCUXpresso SDK

Releases

  • Release Notes
mcuxsdk
  • Docs / 25.06.00 »
  • Middleware »
  • Boot »
  • MCU Bootloader »
  • Getting Started with LPC540xx/LPC54S0xx Flashloader »
  • Physical Unclonable Function (PUF) key provisioning and related commands
  • Open on Repo Report an issue with this page

Physical Unclonable Function (PUF) key provisioning and related commands

This chapter describes usage of blhost for key provisioning using PUF block. In ISP mode, the blhost.exe provides commands to create and save key store.

  • PUF enroll (generate activation code into key store)

blhost -u 0x1fc9,0x01a2 -- key-provisioning enroll
  • set Image Key Code into key store. Image Key type = 1.

blhost -u 0x1fc9,0x01a2 -- key-provisioning set_user_key 1 ImageKey.bin[,<size>]
  • set UDS Key Code into key store. UDS key type = 2.

blhost -u 0x1fc9,0x01a2 -- key-provisioning set_key 2 <size>
  • set Firmware Update Key Code into key store. Firmware Update Key type = 3.

blhost -u 0x1fc9,0x01a2 -- key-provisioning set_user_key 3 FWUpdateKey.bin[,<size>]
  • upload the key store

blhost -u 0x1fc9,0x01a2 -- key-provisioning read_key_store key_store.bin

The first four commands create key store in RAM of the LPC54S0xx device. The last command will upload it to PC as key_store.bin file.

Once the key_store.bin is included in the signed application image, the chip can be put to master boot mode and boot this image.

The PUF Activation Codes and Key Codes are stored in a key store. The layout of key store is available in UM11060 LPC540xx/LPC54S0xx User’s Manual, Chapter 4.8, “PUF key store”.


Copyright 2025, NXP. Last generated on Jun 26, 2025 11:45+0200; branch release/25.06.00, revision 6130022abfc4696d01915519c9392d84dea6b80f.