DFU over Modbus

Topics about the Software of Revolution Pi
Post Reply
jobijobi
Posts: 12
Joined: 08 Jul 2020, 01:24
Answers: 0

DFU over Modbus

Post by jobijobi »

Any implementations from raspberry -> target (arm cortex) do run a DFU/firmware update via modbus?
User avatar
dirk
KUNBUS
Posts: 1942
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: DFU over Modbus

Post by dirk »

Hi jobijobi, could you be so kind to explain your idea a bit more detailed?
jobijobi
Posts: 12
Joined: 08 Jul 2020, 01:24
Answers: 0

Re: DFU over Modbus

Post 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?
Amar
KUNBUS
Posts: 157
Joined: 15 Jul 2019, 12:58
Answers: 4

Re: DFU over Modbus

Post 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
KUNBUS
Post Reply