Figure 90. Changing from S19 to SREC
Because this creates an S19 file, rename the file to SREC, as shown in
Continue to build the bootloader and local_demo projects in the usual way. When these applications are built, it is required to
generate the BIN files. Build these by navigating to the Debug folder in both the bootloader and local_demo application projects.
Right-click the AXF file and navigate to Binary Utilities > Create Binary.
When the collateral is created, copy the BIN and SREC files into the Image_Binaries folder.
shows all the required files before executing the HAB.
Figure 91. Image binaries before executing HAB
11.4.3 Programming the images
Create a secure image and program the created image into the SLN-LOCAL2-IOT kit.
Execute the Scripts/sln_local2_iot_secure_boot/oem/secure_app.py script with the --signed-only option. It generates the
boot_sign_image.sb file with the images created in
and saves the generated SB file into the Image_Binaries
shows the usage and output of the secure_app.py –signed-only script.
NXP Semiconductors
Automated manufacturing tools
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
80 / 87