![NXP Semiconductors SLN-LOCAL2-IOT User Manual Download Page 66](http://html.mh-extra.com/html/nxp-semiconductors/sln-local2-iot/sln-local2-iot_user-manual_1721901066.webp)
5. appsignFile: none/sln_local2_local_demo.sha256.txt (see
NXP application image signing tool
)
When all args are specified, the script outputs the following:
~/ sln_local2_iot_bootloader/unit_tests $:
python3 fwupdate_client.py local OTA B PATH-TO-BIN/
bundle.sln_local2_iot_local_demo_bankB.bin sln_local2_local_demo.sha256.txt
Device IP:192.168.0.166
unit_test_fwupdate_send_ota_command
{"messageType": 2}
0
unit_test_fwupdate_start_req
Sending Start Request
You must input the board IP address that was displayed in the serial monitor after the connection. The script connects to the board
and sends a request to the TCP server so that it will set the FICA bit and reset the board into the OTA update mode.
When the board is in the OTA update mode, the transfer starts:
0
unit_test_fwupdate_block_transfer
0
Firmware Update Progress (0.09%): 4096/4394792
0
Firmware Update Progress (0.19%): 8192/4394792
0
Firmware Update Progress (0.28%): 12288/4394792
0
Firmware Update Progress (0.37%): 16384/4394792
0
…
Firmware Update Progress (99.91%): 4390912/4394792
0
Firmware Update Progress (100.0%): 4394792/4394792
unit_test_fwupdate_complete_req
{"messageType": 1, "fwupdate_message": {"messageType": 1, "fwupdate_server_message": {"messageType":
1}}}
0
unit_test_fwupdate_activate_img
{"messageType": 1, "fwupdate_message": {"messageType": 1, "fwupdate_server_message": {"messageType":
3}}}
0
unit_test_fwupdate_self_test_start
{"messageType": 1, "fwupdate_message": {"messageType": 1, "fwupdate_server_message": {"messageType":
2}}}
0
Upon completion, the SLN-LOCAL2-IOT kit restarts itself automatically and switches over to the new application bank, running
the new application that was just flashed.
The OTA update sets the FICA bit and triggers the board by running the fwupdate_client.py script, whereas the OTW update must
set the FICA bit using the updateotw shell command. For the OTW, make sure that the COM_PORT matches the target com
port address.
NXP Semiconductors
Bootloader
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
66 / 87