Open Source Secure Provisioning SDK for NXP MCU/MPU
Project description
NXP Secure Provisioning SDK
Secure Provisioning SDK (SPSDK) enables connection and communication with target devices for purposes of secure provisioning and programming. Delivered as python library with command-line applications for direct utilization.
Links
Supported Devices
Following NXP devices are supported:
Supported environments
- Windows 10, 64bit
- Ubuntu 16.04 or above, 64bit
- Mac OS 10.13 or above, x64
Installation
- Make sure to have Python 3.6+ installed
- Create a virtual environment (venv, pipenv, etc.)
SPSDK is tested on Python >3.5 and <3.9 interpreter, old version 2.x is not supported
PyPi:
pip install spsdk
GitHub:
$ pip install -U https://github.com/NXPmicro/spsdk/archive/master.zip
Sources:
$ git clone https://github.com/NXPmicro/spsdk.git
$ cd spsdk
$ pip install -r requirements-develop.txt
$ pip install -U -e .
In Windows OS you need to install Microsoft Visual C++ Build Tools
Note: In case of problems during instalation, please make sure that you have the latest pip version. You can upgrade pip using this command: 'pip install --upgrade pip'.
Usage
- See examples directory
- See application directory
i.Mx RT 1050
To run examples using i.MX RT 1050 you need to download a flashloader:
- Go to: https://www.nxp.com/webapp/sps/download/license.jsp?colCode=IMX-RT1050-FLASHLOADER
- Review the license agreement, download and unzip the package
- Convert the elf file into bin (For this operation you need to have MCUXpresso IDE, IAR or Keil)
- run
python tools\flashloader_converter.py --elf-path <path/to/flashloader.elf> --ide-type <mcux | iar | keil> --ide-path <path/to/IDE/install/folder
- run
Dependencies
The core dependencies are included in requirements.txt.
The dependencies for the development and testing are included in requirements-develop.txt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.