TS-4710 LEDs: Difference between revisions
From embeddedTS Manuals
(Added syscon register reference per customer request to handle LEDs via register instead of tshwctl.) |
(Change from Macrocontroller to SoM) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
On all of our baseboards we include 2 indicator LEDs which are under software control. You can manipulate these using | On all of our baseboards we include 2 indicator LEDs which are under software control. You can manipulate these using <code>tshwctl --greenledon --redledon</code> or <code>tshwctl --greenledoff --redledoff</code>. The LEDs have 4 behaviors from default software. The LEDs are also controllable via the Syscon register at offset 0x12. | ||
{|class=wikitable | {|class=wikitable | ||
Line 20: | Line 20: | ||
| Off | | Off | ||
| Off | | Off | ||
| The FPGA is not able to start. Typically either the board is not being supplied with enough voltage, or the FPGA has been otherwise damaged. If a stable | | The FPGA is not able to start. Typically either the board is not being supplied with enough voltage, or the FPGA has been otherwise damaged. If a stable 5 V is being provided and the supply is capable of providing at least 1 A to the System-on-Module (SoM), an [https://www.embeddedTS.com/support/rma RMA] is suggested. | ||
|- | |- | ||
| Blinking about 5ms on, about 10ms off. | | Blinking about 5ms on, about 10ms off. | ||
| Blinking about 5ms on, about 10ms off. | | Blinking about 5ms on, about 10ms off. | ||
| The board is receiving too little power, or something is drawing too much current from the | | The board is receiving too little power, or something is drawing too much current from the SoM's power rails. | ||
|} | |} |
Latest revision as of 17:54, 12 June 2023
On all of our baseboards we include 2 indicator LEDs which are under software control. You can manipulate these using tshwctl --greenledon --redledon
or tshwctl --greenledoff --redledoff
. The LEDs have 4 behaviors from default software. The LEDs are also controllable via the Syscon register at offset 0x12.
Green Behavior | Red behavior | Meaning |
---|---|---|
Solid On | Off | System is booted and running |
Solid On | On for approximately 15s, then off | Once the system has booted the kernel and executed the startup script, it will check for a USB device and then determine if it is a mass storage device. This is used for updates/blasting through USB. Once it determines this is not a mass storage device the red LED will turn back off. |
On for 10s, off for 100ms, and repeating | Turns on after Green turns off for 300ms, and then turns off for 10s | The watchdog is continuously resetting the board. This happens when the system cannot find a valid boot device, or the watchdog is otherwise not being fed. This is normally fed by tshwctl once a valid boot media has started. See the #Watchdog section for more details. |
Off | Off | The FPGA is not able to start. Typically either the board is not being supplied with enough voltage, or the FPGA has been otherwise damaged. If a stable 5 V is being provided and the supply is capable of providing at least 1 A to the System-on-Module (SoM), an RMA is suggested. |
Blinking about 5ms on, about 10ms off. | Blinking about 5ms on, about 10ms off. | The board is receiving too little power, or something is drawing too much current from the SoM's power rails. |