Modem firmware updates via serial interface

Good day

We are currently working with the nrf9160 and using it as a serial modem via AT commands by loading the serial_lte_modem application. I am currently investigating the implementation of modem firmware updates (the zip package) in the field and see that a few options exists as described in the documentation. For our application, updating the modem via its serial interface from our main processor would work best, as described in https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/dfu/fmfu_mgmt.html, but it seems that this implementation cannot co-exist with the serial_lte_modem application. I am quite new to Zephyr and the Nordic build environment, so not sure if there is a simple way to add an AT command to activate the fmfu_mgmt application, placing the modem in an upgrade mode, reboot when done to the usual AT command mode? Not sure if there is a better way to approach the problem? Any guidance would be appreciated.

Thanks

Parents
  • Hi Johan,

    Thank you for contacting DevZone at NordicSemi.

    but it seems that this implementation cannot co-exist with the serial_lte_modem application

    What do you mean by that?

    Our serial_lte_modem application uses FOTA Download and Download client libraries along with other nCS libraries.

    Moreover, serial_lte_modem (application) accepts both modem-specific AT commands and our proprietary AT commands. 

    Creating / designing a new AT command is at your discretion. However, XFOTA command from SLM-specific AT commands provides functionality for different types of FOTA requests. I hope it will be helpful.

    With regards,

    Naeem

  • Hi Naeem, thanks for your reply.

    As explained in the first post, I would like to upgrade the modem firmware over the nrf9160's serial uart interface. XFOTA cannot do that as far as I understand, it can only download binaries via http or am I wrong? Is there perhaps another way to use XFOTA to upgrade the modem firmware over serial uart without first storing the image on external flash? I do not want to add external flash to our product just for firmware updates if possible.

    The fmfu_smp_svr sample seems to demonstrate what I would like to do, however it uses the CONFIG_MCUMGR_SMP_UART=y option which I cannot activate in the serial_lte_modem application as it seems to interfere with the at command parser of serial_lte_modem.

    Do you have any suggestions for me to try? 

    Regards 

Reply
  • Hi Naeem, thanks for your reply.

    As explained in the first post, I would like to upgrade the modem firmware over the nrf9160's serial uart interface. XFOTA cannot do that as far as I understand, it can only download binaries via http or am I wrong? Is there perhaps another way to use XFOTA to upgrade the modem firmware over serial uart without first storing the image on external flash? I do not want to add external flash to our product just for firmware updates if possible.

    The fmfu_smp_svr sample seems to demonstrate what I would like to do, however it uses the CONFIG_MCUMGR_SMP_UART=y option which I cannot activate in the serial_lte_modem application as it seems to interfere with the at command parser of serial_lte_modem.

    Do you have any suggestions for me to try? 

    Regards 

Children
Related