Over the Air modem(AWS MQTT) Firmware update 1.2.3 to 1.3.1

Hi,
I want to update the modem firmware devices(in the field).I am using nRfconnect sdk 1.5.0 and hardware is brf9160 SICA B1 .
current modem firmware is 1.2.3 .
I tried to https://devzone.nordicsemi.com/f/nordic-q-a/81643/full-modem-firmware-update-for-modem-v1-3-0/357363#357363.

but I am unable to update.
I am using AWS (MQTT) for FOTA updates.

CONFIG_DFU_TARGET=y
CONFIG_DFU_TARGET_FULL_MODEM=y

but its not enabling the DFU_TARGET_FULL _MODEM.

build_path\zephyr\.config

DFU configuration

#
# DFU
#
CONFIG_DFU_TARGET=y
CONFIG_DFU_TARGET_MCUBOOT=y
CONFIG_DFU_TARGET_STREAM=y
# CONFIG_DFU_TARGET_MCUBOOT_SAVE_PROGRESS is not set
CONFIG_DFU_TARGET_MODEM_DELTA=y
CONFIG_DFU_TARGET_MODEM_TIMEOUT=60
# CONFIG_DFU_TARGET_LOG_LEVEL_OFF is not set
# CONFIG_DFU_TARGET_LOG_LEVEL_ERR is not set
# CONFIG_DFU_TARGET_LOG_LEVEL_WRN is not set
CONFIG_DFU_TARGET_LOG_LEVEL_INF=y
# CONFIG_DFU_TARGET_LOG_LEVEL_DBG is not set
CONFIG_DFU_TARGET_LOG_LEVEL=3
# end of DFU
# end of DFU



Please guide me about the necessary configuration.
Thanks

Parents
  • Hi,

    First of all, does your custom board have external flash that can be used to store the new modem FW while downloading?

    Do you get set CONFIG_FMFU_FDEV=y and CONFIG_STREAM_FLASH=y?

    Best regards,

    Didrik

  • Hi,

    after doing all of this configuration ,now i am getting this error

    < D: MQTT_EVT_PUBACK: id = 11699 result = 0
    2022-03-11T17:13:26.564Z DEBUG modem << I: Configuring socket timeout (60 s)
    2022-03-11T17:13:26.567Z DEBUG modem << I: Connecting to dl40-fota.s3-eu-west-1.amazonaws.com
    2022-03-11T17:13:26.712Z DEBUG modem << I: Downloading: firmware.update.image.cbor [0]
    2022-03-11T17:13:26.716Z DEBUG modem << D: AWS_FOTA_EVT_START
    2022-03-11T17:13:26.718Z DEBUG modem << AWS_IOT_EVT_FOTA_START
    2022-03-11T17:13:26.719Z DEBUG modem << PSM mode off requested due to FOTA update
    2022-03-11T17:13:27.837Z DEBUG modem << PSM parameter update: TAU: 28800, Active time: -1
    2022-03-11T17:13:27.841Z DEBUG modem << eDRX parameter update: eDRX: 163.839996, PTW: 10.240000
    2022-03-11T17:13:30.188Z DEBUG modem << I: Downloaded 1024/1991053 bytes (0%)
    2022-03-11T17:13:30.215Z DEBUG modem << E: dfu_target_init error -1
    2022-03-11T17:13:30.217Z DEBUG modem << E: FOTA download failed, report back
    2022-03-11T17:13:30.217Z DEBUG modem << E: AWS_FOTA_EVT_ERROR
    2022-03-11T17:13:30.217Z DEBUG modem << AWS_IOT_EVT_FOTA_ERROR/nPublication reset to default value/nI: Fragment refused, download stopped.
    2022-03-11T17:13:30.504Z DEBUG modem << D: MQTT_EVT_PUBACK: id = 33846 result = 0
    2022-03-11T17:13:36.964Z DEBUG modem << RRC mode: Idle

Reply
  • Hi,

    after doing all of this configuration ,now i am getting this error

    < D: MQTT_EVT_PUBACK: id = 11699 result = 0
    2022-03-11T17:13:26.564Z DEBUG modem << I: Configuring socket timeout (60 s)
    2022-03-11T17:13:26.567Z DEBUG modem << I: Connecting to dl40-fota.s3-eu-west-1.amazonaws.com
    2022-03-11T17:13:26.712Z DEBUG modem << I: Downloading: firmware.update.image.cbor [0]
    2022-03-11T17:13:26.716Z DEBUG modem << D: AWS_FOTA_EVT_START
    2022-03-11T17:13:26.718Z DEBUG modem << AWS_IOT_EVT_FOTA_START
    2022-03-11T17:13:26.719Z DEBUG modem << PSM mode off requested due to FOTA update
    2022-03-11T17:13:27.837Z DEBUG modem << PSM parameter update: TAU: 28800, Active time: -1
    2022-03-11T17:13:27.841Z DEBUG modem << eDRX parameter update: eDRX: 163.839996, PTW: 10.240000
    2022-03-11T17:13:30.188Z DEBUG modem << I: Downloaded 1024/1991053 bytes (0%)
    2022-03-11T17:13:30.215Z DEBUG modem << E: dfu_target_init error -1
    2022-03-11T17:13:30.217Z DEBUG modem << E: FOTA download failed, report back
    2022-03-11T17:13:30.217Z DEBUG modem << E: AWS_FOTA_EVT_ERROR
    2022-03-11T17:13:30.217Z DEBUG modem << AWS_IOT_EVT_FOTA_ERROR/nPublication reset to default value/nI: Fragment refused, download stopped.
    2022-03-11T17:13:30.504Z DEBUG modem << D: MQTT_EVT_PUBACK: id = 33846 result = 0
    2022-03-11T17:13:36.964Z DEBUG modem << RRC mode: Idle

Children
Related