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 Reply
  • Hi Didirik,
    Please find the attached .config file


    Yes, i am getting these two warnings

    warning: DFU_TARGET_FULL_MODEM (defined at C:/v1.5.0/nrf\subsys\dfu\dfu_target/Kconfig:74) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: FMFU_FDEV (=n).
    See docs.zephyrproject.org/.../CONFIG_DFU_TARGET_FULL_MODEM.html and/or
    look up DFU_TARGET_FULL_MODEM in the menuconfig/guiconfig interface. The Application Development
    Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual
    might be helpful too.


    warning: FMFU_FDEV (defined at C:/v1.5.0/nrf\subsys\dfu\fmfu_fdev/Kconfig:7) was assigned the value
    'y' but got the value 'n'. Check these unsatisfied dependencies: CDDL_GEN (=n),
    (!NRF_MODEM_LIB_SYS_INIT) (=n), MBEDTLS_SHA256_C (=n). See
    docs.zephyrproject.org/.../CONFIG_FMFU_FDEV.html and/or look up
    FMFU_FDEV in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.


    I am using SEGGER EMBEDED STUDIO.


    DL40_prj.conf

Children
  • If you look at the warnings (which should be treated as errors, unless you know what they mean, and are okay with the error. One example where Kconfig warnings might be okay is if it complains about log related options, but you have disabled serial knowing that you will not get any log), you will see that CONFIG_DFU_TARGET_FULL_MODEM couldn't be enabled because CONFIG_FMFU_FDEV is disabled.

    The other warning gives the reason why CONFIG_FMFU_FDEV is disabled: CONFIG_CDDL_GEN and MBEDTLS_SHAR256_C are not enabled, and CONFIG_NRF_MODEM_LIB_SYS_INIT is enabled.

    I recommend you look at the prj.conf file in the http_update/full_modem_update sample to see how these options are set (e.g. CONFIG_MBEDTLS_SHA256_C also has some requirements that must be met before it can be set. These should be clear from looking at the prj.conf).

    You should also note that when disabling CONFIG_NRF_MODEM_LIB_SYS_INIT, you must initialize this library yourself in the application, before you can use the modem. Disabling CONFIG_NRF_MODEM_LIB_SYS_INIT might also mean that other libraries that depends on modem_lib no longer get initialised automatically.

    Also, I see you still have bsdlib related configurations in your code. That library was replaced/changed name to nrf_modem_lib.

Related