SiWG917 Firmware Load and Update Process#
The following figures show the NWP and M4 firmware load and update processes for the SiWG917 device. The firmware load process loads firmware onto the SiWG917 device for the first time in the case of new devices. Firmware update process updates the SiWG917 device with the latest firmware by replacing the firmware already existing in the device. The following images show the firmware load and update process for a 8 MB common flash SiWG917 device. Following steps need to be followed:
To update an existing firmware or a device without a firmware, download the new firmware file to the device’s flash memory from the host (MCU/PC) through any host interface or through the OTA process.
After reboot, the current firmware is replaced by the new firmware in flash memory, and the device is updated with the new firmware.
A similar process is followed to load the M4 application, the below figure shows the M4 application loading process.
Note:
The memory addresses shown in the above diagrams are only for reference purposes.
You do not have control over determining the start address of the backup location.
The NWP Bootloader is located in the Read Only memory (ROM), you cannot modified it.
During the SiWG917 firmware upgrade process, the image is initially placed in a backup location. After passing integrity checks, it is then copied to the primary firmware location. There would be no corruption or loss of the firmware image at any step in this process if a power loss occurs. A working firmware image will remain in the primary location, and the upgraded image will stay in the backup location. Upon the next power-up, the bootloader will complete the firmware upgrade process.
In case of 4MB flash, combined image firmware update is not possible.