MCUXpresso Secure Provisioning Tool¶
The MCUXpresso Secure Provisioning Tool is a GUI-based application provided to simplify generation and provisioning of bootable executables on NXP MCU devices.
This section show you how to program iMX RT1011 Nano Kit using MCUXpresso Secure Provisioning Tool.
For more details about MCUXpresso Secure Provisioning Tool, please refer to the MCUXpresso Secure Provisioning Tool User Guide.
Installation¶
The MCUXpresso Secure Provisioning Tool runs on the macOS, Linux, and Windows operating systems. Visit the NXP website (https://www.nxp.com/mcuxpresso/secure) to download the MCUXpresso Secure Provisioning Tool for your operating system. Here we use the version V8.0
.
Start the installer and follow the wizard to finish the installation.
Generating bootable image¶
Before writing image into the external flash memory of iMX RT1011 Nano Kit, you need to convert the prepared application into a bootable image.
Here, we take for example the blinky.hex, showing how to generate it into a bootable image.
-
Start MCUXpresso Secure Provisioning Tool, then select the
MIMXRT1010 (MIMXRT1011xxxxx)
processor in the New Workspace window and click Create. -
Make sure that Boot Type is Unsigned.
-
Config the Boot Memory:
- Set Boot memory type to FlexSPI NOR - simplified
- Apply Predefined template AT25SF128A
- Click OK to finish Boot Memory Configuration
-
Switch to the Build image tab.
- Select the Source executable image that is, for example, the blinky.hex.
- Click Build Image button to generate the bootable image.
Writing the bootable image¶
Now, you can write the image that was generated above into the external flash memory of iMX RT1011 Nano Kit:
- Switch to the Write image tab.
- Make sure that the Use built image option is selected.
- Push and hold the USR/BT button and plug your board into the USB port of your computer.
- The board will run into Boot ROM Serial Download mode.
- Click Write Image button to start programming.
- When finished, press the RST button on the board. The image will start running.
Warning
The MCUXpresso Secure Provisioning Tool will overwrite the flash memory area of UF2 Bootloader after performing writing image. You can follow the UF2 Bootloader Installation section to re-install the UF2 Bootloader if needed.