8 Device Firmware Update (DFU)
The RNWF02 modules are secured parts and all traditional programming interfaces are disabled. These modules can only execute the firmwares which are authorized by Microchip's signer. As all the programming interfaces are disabled, the RNWF02 module's enable a special mode called the DFU mode to perform the Firmware update. The RNWF02 module provides fail safe device firmware upgrade by having two image slots in the Flash map. The RNWF02 modules shipped from Microchip uses the Image2 partition to store the default firmware.
- All-in-One/Combined Image – Two firmware images (Header1/Image1 and Header2/Image2) + File System
- OTA Image – A single firmware image (Header/Image) up to 960 KB
- File-System – File system for storing certificates and key files up to 60 KB
The sequence number with all-zeros and all-0xFFs are reserved (invalid) sequence numbers, the boot ROM validates the firmware during the DFU programming and checks the authenticity by verifying the signature. In case the firmware is not authentic (in other words, not signed by Microchip) then the boot ROM invalidates the image by setting the sequence number to zero and there by rejects these firmware image.