![NXP Semiconductors SLN-LOCAL2-IOT User Manual Download Page 81](http://html.mh-extra.com/html/nxp-semiconductors/sln-local2-iot/sln-local2-iot_user-manual_1721901081.webp)
Figure 92. Usage of secure_app.py and its output with --signed-only option
Program the created boot_sign_image.sb file into the SLN-LOCAL2-IOT kit in the HAB enabled by executing the prog_sec_app.py
script with the --signed-only option. The script performs the following actions and its output is shown in
:
• It runs the signed flashloader for the configuration.
• It erases the current flash.
• It programs the signed bootstrap, the signed bootloader and local_demo, the application image-signing certificate, the CA
image certificate, and the device key and certificate.
• It jumps into the bootstrap and executes.
• It waits until the flow gets to local_demo.
The spcripts use the file names specified in the Scripts/ sln_local2_iot_config/board_config.py folder. For different
file names, update the board_config.py file.
NOTE
The lock_device.py file should be used only in production, because it disables debugger access.
NOTE
NXP Semiconductors
Automated manufacturing tools
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
81 / 87