This is an old revision of the document!
LED indication
This article contains the description of LED indication, all device states and a device startup simulator.
Gate
Description of LED indicators
Label | Function | Meaning | Colour |
---|---|---|---|
PWR | On/Off | The controller is on/off | Red |
ACT | Blinking | Indication of the controller's state | Green |
ACT - customized | Selectable | Based on the settings (see the note below) | Green |
TX (RS485) | On | Indication of serial line broadcasting | Green |
RX (RS485) | On | Indication of serial line receiving | Green |
ETH port | On Off Blinking Off | Connection established Connection not established Communication in progress Connection not established | Green Yellow |
Note:
The Unipi Gate devices feature a freely programmable LED (marked as ACT) that can be controlled using standard Linux methods. In the OS the LED is available at /sys/class/leds/unipi-sysled-xh and is set to “timer” mode by default.
Description of the individual device states
This chapter contains a description of all LED states for Unipi Gate, including the normal state or a troubleshooting guide if the device is in a mode for too long. Next to the state description is a picture showing the status of LED indicators.
All LEDs are off
PWR is on
PWR + ACT are on
PWR is on, ACT blinks rapidly
PWR is on, ACT is on with short blinks
PWR is on, ACT is on with short blinks, TX and RX are blinking
PWR is on, the rest is blinking (600 ms)
PWR is on, the rest blinks rapidly (80 ms)
Device startup modes
By default, the Unipi Gate can be started in two modes - the regular mode and the service mode. Each mode has its own LED indication. A device startup simulator is available below including a LED frequency table for both modes. The simulator demonstrates the startup process all the way from plugging in the power supply to the device's start. The simulation also includes the SERVICE button state for any non-default mode. The simulation can be started by the Plug in power button under the device's picture.
Regular mode
Watch the ACT diode during a regular startup. The “uboot” OS bootloader will start first, indicated by the diode turning on. The finish of the bootloader start is indicated by the diode turning off with a short blink. After few moments the OS boot will start, indicated by two short blinks of the diode.
The device is ready when the ACT diode is continuously ON and repeatedly turns off for a short time.
Behaviour description | Meaning | Off | On | Off |
---|---|---|---|---|
ACT is on | Bootloader start (uboot) | 3000ms | 1750ms | |
ACT blinks once | The bootloader is running | 250ms | 75ms | 1000ms |
ACT blinks twice | The controller's OS is booting | 250ms | 75ms | |
ACT is continuously on and repeatedly turns off for a short time | The OS is running, the device is ready for use | 50ms | 2000ms |
Service mode
If you are looking up for a guide on how to enter and use the service mode, please visit the this article.
The SERVICE button is pressed and held before plugging in the power supply. Then watch the ACT diode. After plugging the power supply in, the “uboot” bootloader will start first, indicated by the diode switching on. Roughly 4 seconds later, you can release the button - the diode will stay on. The finish of the bootloader start is indicated by the ACT diode turning off with a very short blink. After few moments the OS boot will start, indicated by two short blinks of the diode.
Behaviour description | Meaning | Off | On | Off |
---|---|---|---|---|
ACT is on | Bootloader start (uboot) | 3000ms | >5000ms | |
ACT blinks once | The bootloader is running | 250ms | 75ms | 1000ms |
ACT blinks twice | The controller's OS is booting | 250ms | 75ms | |
ACT and all TX and RX diodes blink slowly | The device is in service mode | 600ms | 600ms |
Special functions of the service mode - flashing the OS from a USB drive
If you are looking for a guide how to flash the OS, please visit this article.
The USB drive is inserted into the device and the SERVICE button is pressed and held before plugging in the power supply. Next states of LEDs and the button are identical to the service mode until the OS is started.
After a while the OS boot will start, indicated by very short blinks of the ACT diode and all TX, RX diodes. The controller will reboot after finishing the process.
Behaviour description | Meaning | Off | On |
---|---|---|---|
ACT and TX, RX diodes blink quickly | Flashing the OS | 80ms | 80ms |