Module Firmware Update

You can update the firmware of the following RevPi expansion modules:

  • RevPi I/O modules
  • RevPi Gateways

Your base module, RevPi Connect or your RevPi Core, must be connected to a network.

The network must be connected to the internet.

  • Switch off your Revolution Pi system with the command sudo shutdown.
  • Remove all expansion modules except for the module that you want to update.
  • Connect the expansion module via the PiBridge connector with your base module.
  • Turn on your Revolution Pi system.
  • Adjust the configuration in PiCtory so that it also only contains your base module and the expansion module.
  • Reset the driver via the menu or on the command line using piTest -x.
  • Check which firmware version your expansion 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 RevPi DO 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

Note: It can take up to a minute between the command piTest -f and the output update firmware.

  • Switch off your Revolution Pi system with the command sudo shutdown.
  • Disconnect your Revolution Pi system from the power supply.
  • Wait a few seconds.
  • Switch your Revolution Pi system 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