
Figure 77. Request and response flow
9.4.1 JSON messages
Requests must be made in the following order to successfully perform a firmware update:
1. Start
2. Block
3. Stop
4. Activate image
5. Start self-check
6. Clean
Each transfer is followed by a transfer response.
9.4.1.1 Start request
The following is the first request that must be sent to start a firmware update:
{
"messageType":1,
"fwupdate_message": {
"messageType":0,
"fwupdate_common_message": {
"messageType":0,
"job_id": <Job ID string>,
"app_bank_type": <Flash Bank: ‘1’ for A ‘2’ for B>,
"signature": <RSA Signature of image to be loaded>,
"image_size": <Image Length>,
}
}
}
NXP Semiconductors
Bootloader
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
62 / 87