Status LEDs / LED Control Lines

Top  Previous  Next

BASIC/C-programmable devices supplied by Tibbo have one or two pairs of LEDs (or lines to control them).

 

Devices with 2 pairs of LEDs

On such devices, the first LED pair is comprised of green (SG) and red (SR) status LEDs, the second pair — of green (EG) and yellow (EY) Ethernet LEDs.

 

Status LEDs have multiple functions:

When the device is in the firmware upgrade mode, these LEDs indicate the status of the firmware upload process.

When the device is under TiOS firmware control and Tibbo BASIC/C application is not running, these LEDs show current  Tibbo BASIC/C application status.

When the Tibbo BASIC/C application is running, status LEDs are under the control of the pat. object.

 

The following table summarizes predefined status LED patterns:

 

Firmware upgrade mode

pat_ok

Green LED blinks slowly

File upload completed successfully.

pat_commerr

One long and one short "blink" of red LED

Communications error encountered during the serial file transfer.

pat_flfail

One long and two short "blinks" of red LED

FLASH memory failure.

Normal operation, Tibbo BASIC/C application not running

pat_cserr

Fast-blinking GRGRGR... pattern

TiOS firmware not loaded or corrupted.

pat_neram

Fast-blinking BBBB... pattern (B= red and green together)

Tibbo BASIC/C application loaded but cannot run due to insufficient variable (RAM) memory

pat_app_loaded

Fast-blinking G-G-G-... pattern

Tibbo BASIC/C application loaded but not running.

pat_app_not_loaded

Fast-blinking R-R-R-... pattern

Tibbo BASIC/C application not loaded or corrupted.

 

Ethernet LEDs indicate the following:

Link/Data LED (green) is turned on when live Ethernet cable is plugged into the device. The LED blinks whenever an Ethernet packet is received.

100BaseT LED (yellow) is turned on when the device links with the hub at 100Mb. The LED is off when the link is established at 10Mb.

 

Devices with a single LED pair

On such devices, there are green (SG) and red (SR) status LEDs (or lines to control them). They function just as described above, but with one caveat: the brightness of these LEDs is indicative of the current Ethernet link state. When live Ethernet cable is not plugged into the device, the LEDs "play" patterns at a reduced brightness. When live Ethernet cable is plugged into the device, the LEDs "play" patterns at full brightness.

On devices with a single LED pair, there is no indication for the 100BaseT/10BaseT connection mode.

Some such devices feature a single third LED (or line to control it). This LED indicates current Ethernet link status: it will be on when live Ethernet cable is plugged.