FOTA for nrf52 based hci controller

Hi,

I am using nrf52840 to run as an hci controller over UART for nrf91. I was able to implement FOTA over BLE for nrf91, but I would also like to add an option to add FOTA for nrf52. Is there some straightforward way to do that ?

Ideally I just send a special command or signal via pin to nrf52 to switch it to „full BLE” mode where ale data would be handled internally and that way I can just add FOTA in a usual way, but not sure if this is possible.

Best regards,

Michal 

  • Hi Andreas,

    That approach sounds interesting, however I wonder how can I instruct nrf9151 to store image rather than using it right away. As far as I can tell this example puts nrf52840 in serial recovery right away and then just downloads image over cellular while I need to download image over BLE (through nrf52840) and only then I can use that image.

    Best regards,
    Michal

  • Hi,

    Yes, you are right, this is what the application does. You would have to modify this application to use BLE instead of LTE to receive the image, and to postpone entering serial recovery on the nRF52840 until you are ready to update the nRF52840. In addition you might have to modify the bootloader to not use the image for the nRF9151 if it is intended for the nRF52840. Maybe versioning, naming or another identifier can be used for this, but I'm not sure. This is something you must decide on how to do based on how you design your modified bootloader and DFU procedure.

    Kind regards,
    Andreas

Related