FOTA in external modem architecture.

Hello, I have been going through the DFU and FOTA lesson in the Nordic intermediate course.
I see that there is a FOTA support for a scenario in which we want to update a nrf90/91 device directly or support if we send the firmware update through Bluetooth or uart to a nrf52 for example.
But I don't see support for a scenario in which we have an external modem which is connected by uart to a ble device, nrf52 for example.
am I missing something?
thanks in advance,
Shlomo

Parents
  • Hi Shlomo, 

    But I don't see support for a scenario in which we have an external modem which is connected by uart to a ble device, nrf52 for example.
    am I missing something?

    Could you please elaborate a little bit more on how you want to do DFU? Which device receive image and which device you want to update ? 

  • Sorry that wasnt clear.
    I have a nrf9160 connected to a nrf52840 via uart.
    the nrf9160 communicates with a server.
    I want to have the nrf9160 get the update for the nrf52840 from the server, transfer it to the nrf52840 via uart (not in SMP protocol) and then have thew nrf52840 put the image in the proper place on its flash memory for mcuboot to make the swap.
    I cant find a sample supporting this kind of architecture.

  • Hi Shlomo, 
    I'm afraid that we don't have an example doing exactly the same as what you are looking for. 
    My suggestion is to study the SMP UART protocol and implement something similar with your UART protocol. If you can receive the image and put the image and trailer into the correct place the same as the SMP server , MCUBoot will handle the update the same way.

  • is there an example doing what I am looking for only with the smp protocol?
    for example there is the sample on the intermediate course in the DFU through uart exercise in which we use Auterm to send the image using mcumgr client.
    is there an example of an embedded c code that does this? or is it possible to extract the code that does the sending from the mcumger client?

Reply
  • is there an example doing what I am looking for only with the smp protocol?
    for example there is the sample on the intermediate course in the DFU through uart exercise in which we use Auterm to send the image using mcumgr client.
    is there an example of an embedded c code that does this? or is it possible to extract the code that does the sending from the mcumger client?

Children
Related