FOTA Not Working

I am using:

  • nRF Connect SDK 3.4.0
  • SDK Tools 3.4.0
  • Asset Tracker Template
  • Thingy91X / nRF9151
  • CoAP cloud connection

The device successfully connects to nRF Cloud and reports:

SW type:        app
SW version:   0.0.1
HW version:   thingy91x

I created an OTA Release 0.0.3 in the new nRF Cloud OTA Experience (Memfault-based OTA Releases). The release is activated for cohort 3rd_ota, and the cohort view shows:

Current version: 0.0.1 (app) (thingy91x)
Future version:   0.0.3
Device count:     1

The device is the single member of that cohort.

However:

Asset Tracker FOTA path

Running:

    att_fota poll
results in:
    nrf_cloud_fota_poll: Checking for FOTA job...
    nrf_cloud_fota_poll: No pending FOTA job

Memfault OTA path

Running:

    mflt get_latest_release
results in:
     mflt: FOTA Update Available
     mflt: FOTA Update Available. Starting Download with URL: ...
     mflt: FOTA start failed, rv=-5
I stepped through the code and confirmed that:
     fota_download_any(...)  returns: -5

The device therefore sees the OTA Release through the Memfault path, but the Asset Tracker Template FOTA module does not see a pending FOTA job.

Question

For SDK 3.4.0 Asset Tracker Template:

  1. Is att_fota poll expected to work with the new OTA Release / Cohort / Activation workflow?
  2. Is the Asset Tracker Template expected to use the Memfault OTA path instead?
  3. Is the rv=-5 from fota_download_any() a known issue or indicative of a missing configuration?
  4. Are there any additional Kconfig settings required when using the new OTA Release system?
Parents
  • Hello,

    We are currently in a transition phase between the legacy FOTA solution and the new FOTA implementation. The nRF Cloud team is actively working on updating the Asset Tracker Template (ATT) to use the new FOTA workflow.

    As part of this transition, new users are routed to the Memfault UI for firmware updates. However, the current ATT documentation primarily describes the legacy FOTA flow. Despite this, users can still programmatically create and manage FOTA jobs through the legacy FOTA service using the available REST APIs.

    For additional information, please refer to the ATT FOTA documentation: https://github.com/nrfconnect/Asset-Tracker-Template/blob/main/docs/common/fota.md

    Let me know how this works for you.

    Kind regards,
    Øyvind

Reply
  • Hello,

    We are currently in a transition phase between the legacy FOTA solution and the new FOTA implementation. The nRF Cloud team is actively working on updating the Asset Tracker Template (ATT) to use the new FOTA workflow.

    As part of this transition, new users are routed to the Memfault UI for firmware updates. However, the current ATT documentation primarily describes the legacy FOTA flow. Despite this, users can still programmatically create and manage FOTA jobs through the legacy FOTA service using the available REST APIs.

    For additional information, please refer to the ATT FOTA documentation: https://github.com/nrfconnect/Asset-Tracker-Template/blob/main/docs/common/fota.md

    Let me know how this works for you.

    Kind regards,
    Øyvind

Children
Related