Installation

This chapter describes the procedure required to install SEC on Windows, MacOS, and Linux operating systems. For the list of supported operating systems, refer to Minimum system requirements.

Minimum system requirements

The tool runs on Microsoft(R) Windows(R), Ubuntu, and macOS operating systems. The detailed system requirements are specified in MCUXpresso Secure Provisioning Tool Release Notes (document MCUXSPTRN, section System requirements). The document also describes what debug probe drivers should be installed. These drivers might also be needed for communication with the processor in ISP mode where the probe provides USB to UART/SPI/I2C converter.

Windows

To install SEC as a desktop application on a local host, perform the following steps:

  1. Visit the NXP website to download the SEC installer for Windows.

  2. Double-click the MCUXpresso_Secure_Provisioning_<version>.exe installer to begin installation.

  3. On the first page of the wizard, click Next.

    _images/1.png

    MCUXpresso Secure Provisioning Tool Setup

  4. On the End-User License Agreement page of the wizard, select I accept the terms of the License Agreement and click Next.

    _images/la_latest.png

    Accepting the end-user license agreement

  5. On the Select Installation Folder page of the wizard, select Browse and navigate to a destination folder you want to install the SEC to and click Next.

    _images/path_latest.png

    Selecting installation folder

  6. On the Configure Shortcuts page of the wizard, select shortcuts you want to be created for SEC and click Next.

    _images/4.png

    Configuring shortcuts

  7. On the Ready to Install page of the wizard, select Install.

    The setup begins the installation.

    Note: If you want to review or change any of your installation settings, click Back. Click Cancel to exit the wizard.

    The installer prompts you when the installation completes.

    _images/5.png

    Ready to install

    _images/6.png

    Installing MCUXpresso Secure Provisioning Tool

  8. Click Finish to close and exit the setup wizard.

    _images/7.png

    Completing installation

  9. To start using SEC, run the tool from the desktop shortcut on the desktop or from the Start menu. You can also navigate to the <product installation folder>\bin\ folder and launch the securep.exe or launch the shortcut in the <product installation folder>.

Windows CLI

It is possible to install the SEC tool using the command line. In this case, use Run the installer with the following parameters: start /wait

MCUXpresso_Secure_Provisioning_v<version>.exe /exenoui /qn

MacOS

To install SEC as a desktop application on a local host, perform the following steps:

  1. Visit the NXP website to download the SEC installer for MacOS. Based on your computer, select either an installer for an Intel or Apple M processor.

  2. Double-click the MCUXpresso_Secure_Provisioning_<version>.pkg to start the Install MCUXpresso Secure Provisioning Tool wizard.

Note: When you try to open the MacOS installer, you may receive an error. To avoid it, manually select the option Mac App Store and identified developers in the Security & Privacy menu.

  1. On the Introduction page, click Continue.

    _images/macos2.png

    Introduction

  2. On the Software License Agreement page, click Continue.

    _images/macos3.png

    Software license agreement

  3. Confirm that you have read and agreed to the terms of the Software License Agreement by clicking Agree.

    _images/macos4.png

    Accepting software license agreement

  4. On the Destination Select page, click the green arrow to select the installation folder, and once done, click Continue.

    _images/macos5.png

    Select destination

  5. On the Installation Type page, click Install.

    _images/macos6.png

    Installation type

  6. Type in your login credentials to continue with the installation and click Install Software.

    _images/macos7.png

    Install software

  7. Click Continue.

    Unless errors are reported, the Summary page confirms that the installation was completed successfully.

  8. On the Summary page, click Close.

    _images/macos8.png

    Summary

Enabling USB connection on MacOS

During the first connection to the target by USB, MacOS X Catalina blocks the access to USB HID devices as a security measure and the operation will fail with error. In MacOS 13 (Ventura), this works differently and these steps are not needed.

Perform the following steps to enable USB connection:

  1. In the OS security alert message box, select Open System Preferences.

    _images/macerrornew1.png

    Open System Preferences

  2. Unlock Privacy preferences to enable changes.

  3. Select MCUXpresso Secure Provisioning <version>, confirm, and quit the application.

    _images/macerrornew2.png

    Confirm change

  4. Lock Privacy preferences.

  5. If the application was not closed, close it manually.

  6. Start the application and proceed with the operation.

Linux

Installation of SEC on Ubuntu can be done in the Terminal.

  1. Visit the NXP website to download the SEC installer for Linux.

  2. Open the terminal and change the directory where the installer is downloaded, install using dpkg with sudo.

    $ cd ~/Downloads
    $ sudo dpkg -i ./mcuxpresso-secure-provisioning-<version>_<architecture>_<os-version>.deb
    

    If the command executed with sudo is successful, the setup will install the SEC in the dedicated folder /opt/nxp/.

Note: SEC depends on other packages that has to be installed in advance:

$ sudo apt install libhidapi-dev libsdl2-2.0-0

Note: For trust provisioning, additional packages are necessary for the Smart Card access:

$ sudo apt install libpcsclite1 pcscd pcsc-tools

Uninstalling

Windows

Secure Provisioning Tool can be uninstalled in the following ways:

  • by using Settings | Apps & features

    _images/uninstalling_1.png

    Settings

  • by navigating into the %APPDATA%\NXP Semiconductors and then finding the appropriate MSI installer in the MCUXpresso Secure Provisioning x.y.z.zz\install\ folder and choosing the Remove option in the wizard.

    _images/uninstalling2.png

    MCUXpresso Secure Provisioning setup wizard

MacOS

Secure Provisioning Tool can be uninstalled by using Finder, navigating to Applications, and moving MCUX_Provi_vX into the Trash.

Linux

Secure Provisioning Tool can be uninstalled by using the Debian package manager.

In the Terminal you can get the list of secure provisioning tools with the package names:

$ dpkg --list "mcuxpresso-secure-provisioning*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version      Architecture Description
+++-=======================================-============-============-====================================
rc  mcuxpresso-secure-provisioning-tools-v1 1.0.1        amd64        MCUXpresso Secure Provisioning Tools
rc  mcuxpresso-secure-provisioning-v2       2.0          amd64        MCUXpresso Secure Provisioning
rc  mcuxpresso-secure-provisioning-v2.1     2.1          amd64        MCUXpresso Secure Provisioning
ii  mcuxpresso-secure-provisioning-v3       3.0          amd64        MCUXpresso Secure Provisioning
ii  mcuxpresso-secure-provisioning-v3.1     3.1          amd64        MCUXpresso Secure Provisioning
ii  mcuxpresso-secure-provisioning-v4       4.0          amd64        MCUXpresso Secure Provisioning

Now the desired version can be uninstalled:

$ sudo dpkg -r mcuxpresso-secure-provisioning-25.03

Several versions can be uninstalled at once:

sudo dpkg --remove mcuxpresso-secure-provisioning-v2 mcuxpresso-secure-provisioning-v2.1

When additional packages have been installed for TP, you might consider to remove them as well:

$ sudo apt remove libpcsclite1 pcscd pcsc-tools

Remove configuration files

The user preferences are stored in the folder <user home>\.nxp\secure_provisioning_<version>\ and are not removed by uninstalling the product. These folders can be removed manually. For more details about preferences, see Preferences.

Remove restricted data

The restricted data are installed in the folder <user home>\.nxp\secure_provisioning_restricted_data\ and are not removed by uninstalling the product. These folders can be removed manually.