Mervis on Unipi Gate

Each Unipi Gate device contains Debian-based OS and is supplied with a pre-installed Node-RED software solution by default. The OS can be however reflashed for any other compatible software you wish to install. This guide describes the installation of Mervis on the Unipi Gate device.

Gate

To upload OS into the Unipi Gate through its service interface, you need to access the service mode first. To enable it, follow instructions in this article.

  1. Enter the device's IP address into a web browser. Upon confirmation, you will be connected to the Unipi Gate service interface
  2. In the service interface, drag and drop the archive.swu file extracted from the OS image archive into the Software update dialogue window
  3. The flashing process is indicated by rapid blinking of ACT, TX and RX diodes (demonstration here)
  4. Wait until the device finishes the process. Its progress can be monitored in a dialogue window under the Messages label
  5. Finishing the process is indicated by diodes going off and a reboot of the device
  1. Prepare a USB flash disk in FAT32 format with a capacity of at least 2 GB
  2. Copy the content of the ZIP archive onto the flash disk
  3. Unplug the power supply from the device and insert the flash disk into the device's USB port
  4. Press and hold the SERVICE button on the device's face side
  5. Plug the power supply back. Unipi Gate will automatically start the OS flashing process indicated by rapid blinking of ACT, TX and RX diodes (demonstration here)
  6. You can now release the SERVICE button
  7. Finishing the process is indicated by diodes going off and a reboot of the device

If the USB flash disk is not compatible, Unipi Gate will not start the OS flashing and reboots. In that case, you need to use a different flash disk or the above-mentioned flashing through the service interface.

Download the latest version of Mervis from our download section and run the installation package.

The installation process displays the welcome screen, which you can confirm by clicking on Next.

In next dialog, you have to confirm the License agreement and click on Next

In next dialog, we can select parts of Mervis for installation. The IDE is the editor, in which we will create and debug programs for Unipi unit. The Windows RT is a simulator of a unit, if you don't have one. Typically, you will need only the IDE.

In older Mervis version, there was also option for installing HMI editor. In current version, the HMI editor has been merged into IDE.

Last two dialogs are just for confirmation of the installation process and finishing it. Just hit Install and then Finish.