mcuboot over modbus

Hello everyone

I am implementing a device network that communicates in modbus rtu (both master and slave).

I would like to be able to update the firmware of my devices via modbus instead of doing it OTA BLE, in McuBoot context (i have more than 1000 device a lot of networks in different facilities).

I would like your opinion on the easiest method to do this.


At the moment I have considered two scenarios:
scenario 1: implement a custom layer next to the UART module inside nrf_dfu_transport (see documentation link)
scenario 2: send update_device.bin over the network and manually write the data to the unused flash partition and manually handle the integrity check, put the partition dangling and force a reboot.

What do you think?
Any better ideas?

I searched the web a bit but couldn't find much to copy

best

Parents
  • Hi,

    At the moment I have considered two scenarios:
    scenario 1: implement a custom layer next to the UART module inside nrf_dfu_transport (see documentation link)
    scenario 2: send update_device.bin over the network and manually write the data to the unused flash partition and manually handle the integrity check, put the partition dangling and force a reboot.

    What do you think?
    Any better ideas?

    A custom transport layer sounds like the best approach IMO.

Reply
  • Hi,

    At the moment I have considered two scenarios:
    scenario 1: implement a custom layer next to the UART module inside nrf_dfu_transport (see documentation link)
    scenario 2: send update_device.bin over the network and manually write the data to the unused flash partition and manually handle the integrity check, put the partition dangling and force a reboot.

    What do you think?
    Any better ideas?

    A custom transport layer sounds like the best approach IMO.

Children
Related