Updating App + Net Core via Wi-Fi (HTTP) FOTA

Hello,
I’m working with a custom board using nRF7002 + nRF5340 + MX25R64 (SPI4), and I’m trying to perform firmware updates over Wi-Fi using a firmware file hosted on an HTTP server.

During the build process, I confirmed that:

  • The output includes separate files for app core and net core.bin

  • A file that seems to contain both app and net core images is also generated.zip

However, when I attempt to run the firmware update using the file, the update fails with the following log output:.zip

[00:00:24.743,804] <inf> downloader: Setting up TLS credentials, sec tag count 1
[00:00:24.743,988] <inf> downloader: Connecting to 3.5.188.194
[00:00:25.470,947] <inf> downloader: Downloaded 2048/897008 bytes (0%)
[00:00:25.471,099] <err> dfu_target: No supported image type found
[00:00:25.471,252] <err> fota_download: Unknown image type
[00:00:25.475,341] <err> wifi_socket: FOTA download error occurred
[00:00:25.475,494] <wrn> fota_download: fota_download_cancel invalid state

Is there any additional configuration I need to enable for using a .zip file with Wi-Fi FOTA?


Parents Reply
  • Then, do I have to code to extract the zip file downloaded to Fota as bin?
    Or do I have to get the files I downloaded, app core, and net core, respectively, bin files?
    The Nordic document says that for nrf5340 it is better to update the app core and net core at the same time,
    Then, if I upload the file with app+net merged, does it work all at once??
    If the last method is correct, please tell me how to merge.

Children
Related