BalenaEtcher (flashing the OS)

Neuron Unipi 1.1

The OS image can be written to an SD card using the open-source BalenaEtcher tool (for Windows OS) and then run on Unipi devices.

You can download BalenaEtcher from official web pages.

Note:
Operating system images are available in the OS Images section.

Caution!
Extreme caution is essential when choosing a disc. Selecting the wrong storage medium could result in data loss on a storage other than the desired one.

Note:
For trouble-free Mervis OS usage on Unipi Neuron and Unipi 1.1 devices, you will need storage with capacity of at least 2 GB.
If you choose a different platform, we recommend using a storage with at least 4 GB capacity

We always recommend using industrial SLC or pSLC SD cards.

When running BalenaEtcher, there are three options in the main menu, selecting the first Flash from file will bring up a file explorer to select a disk image. This disk image can either be directly in *.img format, or it can be packaged in a ZIP archive.

After successful selection of the OS image, the next option Select target is possible to select a suitable storage. When selecting, please note the caution in the introduction of the article.

Flashing the OS image to storage will start after clicking on Flash!

BalenaEtcher also allows you to upload an OS image directly from a URL link to an .img or .zip file (with an OS image). In the main menu there is a choice of Flash from URL.

The field labeled Enter a valid URL (under the heading Use Image URL) is used to enter the address of the OS image.

OS image URL can be obtained by right click on “Download” button and selecting Copy Link from context menu.

If the image source requires a login credentials, a username and password can be entered in the Authentication section.

The selection of the suitable storage to which the OS image is to be written is possible by checking the checkbox. When selecting, please note the caution in the introduction of the article.

Flashing the OS image to storage will start after clicking on Flash!

The last option in BalenaEtcher is to clone the storage. Cloning is especially useful for creating a backup before the final placement of the Unipi device and start of operation. In the main menu, this is the third option Clone drive.

The selection of source storage will appear. When selecting, please note the caution in the introduction of the article.

To select a target storage (or multiple storages), click Select target. When selecting, please note the caution in the introduction of the article.

Flashing the OS image to storage will start after clicking on Flash!

After finishing the flash, or after the storage drive is reinserted into the PC, Windows OS may detect it as a new storage device that it cannot recognize and may request formatting. Close the formatting prompt by clicking on Cancel.

The Windows OS may also display notification that the storage is unavailable. This message can be ignored.

If the OS image has been successfully flashed, the storage will be identified with the name boot when re-inserted into the PC.

If the Mervis OS has been flashed on the storage, there is one last step possible: enabling SSH. The easiest way to do this is to create a file called ssh.txt, or just ssh without the suffix, in the main boot directory of the storage. Alternatively, SSH can be activated directly in the Mervis IDE by changing the RunTime configuration, see section Uploading a RunTime configuration (RT) - unipi specific. For non-Mervis OS, the SSH connection is enabled by default and does not need to be enabled in this way.

After SSH is enabled, you can connect with, for example, Putty.

If SSH is enabled, the operating system must be secured, otherwise unauthorized interference may occur!

At this moment, the OS is ready on a storage (with SSH enabled). After removing it from the computer, the storage can be inserted into the Unipi device.

Disk storage can ONLY be inserted when the device power supply is unplugged!

Insert the SD card back side up into the slot (i.e. the gold connectors towards the technician). Plug the power supply in.

Booting the device with the newly flashed OS will take a little longer - about 2 minutes. This is due to the necessary configuration of the OS.