Application Note
17 of 22
002-34322 Rev. *A
2021-12-14
Getting started with AIROC™ IFW56810 Single
-band Wi-Fi 4 Cloud
Connectivity Manager
Performing firmware over-the-air update
6.3
Monitor and apply the new firmware update for the IFW56810 module
The IFW56810 CCM module polls for firmware update jobs, receives and validates a job, and then enters a state
waiting for the update to be accepted. The host application receives an OTA event indicating that a new
firmware image is available for the IFW56810 CCM module.
The host application or the user can perform the following sequence by entering appropriate commands in the
serial terminal:
1.
Query the state of the job:
AT+OTA?
You will receive a response “OK 1 New OTA proposed.”
2.
Accept the new firmware update:
AT+OTA ACCEPT
The IFW56810 CCM module starts downloading the firmware update from the cloud.
3.
Query the state of the job:
AT+OTA?
Downloading the image takes a few minutes to complete. During the OTA image download, this command
returns “OK OTA in progress”.
You will receive an OTA event when the download is completed the image
signature is verified.
4.
Check whether the received image is verified:
AT+EVENT?
You will receive the
response “
OK 5 OTA event New Image verified
”.
5.
Apply the new image received through OTA:
AT+OTA APPLY
The IFW56810 CCM module now reboots and boots up with the new image.
6.
Connect back to the AWS IoT:
AT+CONNECT
The IFW56810 CCM module should now connect to AWS IoT, complete the self-test and mark the image as
valid. This prevents further rollback to the old image.
You can check the job status by going back to the AWS IoT Console. You should see the job status as completed.