![NXP Semiconductors SLN-LOCAL2-IOT User Manual Download Page 70](http://html.mh-extra.com/html/nxp-semiconductors/sln-local2-iot/sln-local2-iot_user-manual_1721901070.webp)
Chapter 11
Automated manufacturing tools
NXP provides a package of scripts that can be used for manufacturing programming and reprogramming of devices on the
production line without the J-Link. This collection of scripts is called Ivaldi. The Ivaldi package allows developers to program all
the required firmware binaries into a flash device using a single command.
11.1 Introduction
11.1.1 About Ivaldi
Ivaldi is a package of scripts responsible for manufacturing and reprogramming devices without J-Link. The Ivaldi package uses
the serial downloader mode of the i.MX RT106S’s boot ROM to communicate with an application called
Flashloader
that is
programmed in the i.MX RT106S MCU. This then communicates with a program called
blhost
, which controls various parts of the
chip and flash.
Ivaldi was created to focus on the build infrastructure of a customer’s development and manufacturing cycle. Its primary
focuses are:
• Factory programming and setting up a new device/product with certificate/key pairs
• Enabling High Assurance Boot (HAB)
• Signing images for OTA, OTW, and HAB
• Writing and accessing One Time Programmable (OTP) fuses
11.1.2 Download the package
The Ivaldi package can be downloaded from
Extract the ZIP file and open the README.md file located in the root folder of the package to set up the environment.
11.1.3 Requirements
The following requirements must be met to run Ivaldi. It is tested with Windows, Mac, and Linux operating systems.
• OpenSSL
• Python 3.6.x with virtualenv
• Linux/Ubuntu for Windows
11.1.4 Platform configuration
The Ivaldi package uses the Scripts/sln_local2_iot_config/board_config.py configuration file, which includes the following:
• Names of the binaries to be flashed (from the Image_Binaries folder):
— BOOTSTRAP_NAME
— BOOTLOADER_NAME
— MAIN_APP_NAME
— Names of audio playback binaries
• Flash configurations:
— FLASH_TYPE
— FLASH_START_ADDR
NXP Semiconductors
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
70 / 87