Page 1 of 1

DFU over Modbus

Posted: 08 Jul 2020, 01:33
by jobijobi
Any implementations from raspberry -> target (arm cortex) do run a DFU/firmware update via modbus?

Re: DFU over Modbus

Posted: 09 Jul 2020, 10:26
by dirk
Hi jobijobi, could you be so kind to explain your idea a bit more detailed?

Re: DFU over Modbus

Posted: 21 Jul 2020, 17:26
by jobijobi
Hi!

There is a service in your kernel/OS to let the revpi connect be a modbus rtu master.
Do you happen to have any implementations to run firmware-upgrades (to a connected rs485 slave) over modbus?

Re: DFU over Modbus

Posted: 22 Jul 2020, 13:21
by Amar
Hi,
piModbusMaster running on connect uses libmodbus.Your requirement for fimware-upgrades requires a customized Application using Modbus Master and a customized Modbus Slave Application. It does not cover this feature as it is very application specific.
You can however write your own application using the libmodbus available in RevPi Connect to tailor your needs.

libmodbus
https://libmodbus.org/documentation/

Info: Our latest Stretch 06/2020 Imageuses libmodbus 3.1.6 (instead of 3.0.6)
Download link for Image:
https://revolution.kunbus.de/shop/en/stretch

Some helpful Resources:

http://fastforward.ag/downloads/docu/FAST_EnergyCam-Protocol-Firmware-Update.pdf

http://www.fastforward.ag/downloads/docu/FAST_EnergyCam-Protocol-MODBUS-Slave.pdf

https://github.com/ffcrg/ecpi

Regards,
Amar