Module Firmware Update

You can update the firmware of your IO and Gateway modules yourself.

You require:

  • RevPi Connect
  • IO module or Gateway module

Let”s go!

  • Switch your system off.
  • Remove all I/O or Gateway modules except for the module that you want to update.
  • Connect your IO module or Gateway module with the PiBridge to the PiBridge connector.
  • Switch your system on.
  • Adapt the configuration in PiCtory so that it also contains only one RevPi Connect and the I/O or Gateway module.
  • Reset the driver via the menu or in the command line using piTest -x.
  • Check which firmware version your module has before the update. You can enter the following command:

piTest -d

Found 2 devices:

 

Address: 0 module type: 95 (0x5f) RevPi Connect V1

Module is present

input offset: 0 length: 6

output offset: 6 length: 5

 

Address: 32 module type: 98 (0x62) RevPi DO V1.0

Module is present

input offset: 11 length: 70

output offset: 81 length: 18

 

In this example, a DO module is connected with Version 1.0.

  • Enter the following command to update your module‚Äôs firmware.

$ sudo apt-get update

$ sudo apt-get install revpi-firmware

$ piTest -f

update firmware: 1.0 --> 1.3

 

Perfect, the version was updated!

Note: On an MIO, DIO, DI or DO around 20 seconds elapse between the piTest -f being called and the update firmware being output. It can take up to a minute when the firmware for a Gateway is being updated. Please be patient.

  • Switch off your RevPi Connect with the following command:

sudo shutdown

  • Disconnect your RevPi Connect and your module from the power supply.
  • Wait a few seconds.
  • Switch both devices back on.

Enter this command again to check that the version was updated:

piTest -d

Found 2 devices:

 

Address: 0 module type: 95 (0x5f) RevPi Connect V1

Module is present

input offset: 0 length: 6

output offset: 6 length: 5

 

Address: 32 module type: 98 (0x62) RevPi DO V1.3

Module is present

input offset: 11 length: 70

output offset: 81 length: 18