Working with SEC - nxp-mcuxpresso/vscode-for-mcux GitHub Wiki

MCUXpresso Secure Provisioning Tool (SEC) is a tool made to simplify the generation and provisioning of bootable executables on NXP MCU platforms. It also offers a command-line interface, enabling integration in automated environments or customization of image building/burning procedure.

Starting with MCUXpresso for VS Code 1.10, SEC features are used to generate bootable executables for the RT1180 target for which otherwise the bootable executable is not available.

For the integration between MCUXpresso for VS Code extension and SEC to work properly, the user must first use MCUXpresso Installer to install SEC.

The integration with SEC is available now for RT118x targets, the flexspi_nor_debug and flexspi_nor_release build configurations. When using these configurations, after building the RT1180 project, the MCUXpresso extension will invoke SEC to generate bootable executable for the project.

Corresponding messages will appear to make the user aware of the still in progress actions. The MCUXpresso extension will use the latest available SEC:

Detect SEC

Then, using the latest available installed SEC Tool, the bootable executable will be generated:

Generating executable using SEC

The command used for invoking and generating the bootable image will appear in MCUXpresso for VS Code Output console, along with the output of the command.

The generated executable can be found in the .secureprovisioning folder inside the project.

After successful build, debug or flash the application.

home