From 4162380f3a4da3698238d209136560995ef986cc Mon Sep 17 00:00:00 2001 From: EmbeddedMan Date: Tue, 21 Feb 2023 21:41:38 -0600 Subject: [PATCH] Added documentation for EBB LED blink patterns --- docs/ebb.html | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/docs/ebb.html b/docs/ebb.html index 03fec23..947cd50 100644 --- a/docs/ebb.html +++ b/docs/ebb.html @@ -2888,6 +2888,75 @@ ul.no_bullets { For the example above. ((15000 - 10000) * .024)/100 = 1.2 seconds.

+

+ Q2) What do the LED patterns mean? +

+

+ A2) There are two applications that live on the EBB: The bootloader and the main EBB firmware. They each have different LED blink patterns. There is a green power LED labeled 3.3V which is always lit as long as either the USB or barrel jack connector is receiving power. It is located next to the large electrolytic capacitor. +

+

+ The LED timing mechanism used by both bootloader and main EBB applications is sensitive to the commands currently being executed. For example, the timing of the alternating LED pattern when the bootloader is running will change as a new EBB firmware application is being actively programmed. +

+

+ Bootloader When the bootloader is running (only used to update main EBB firmware), the two LEDs between the USB and barrel jack connectors can take on two different states: + + + + + + + + + + + + + + + + + + + + + +
PatternDescriptionUSR/RedUSB/Green
IdleWaiting for USB connection with hostOffOn
AlternatingUSB connection established to host200 ms on, 200 ms off, alternating with Green200 ms on, 200 ms off, alternating with Red
+

+

+ Main EBB Firmware When the main EBB firmware is running (normal operating mode) the two LEDs between the USB and barrel jack connectors can take on three different states: + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PatternDescriptionUSR/RedUSB/Green
Fast BlinkNo connection to USB hostOn60 ms on, 60 ms off
Slow BlinkConnected to USB host but not enumeratedOn750 ms on, 750 ms off
Short Long BlinkFully enumerated and communicating with USB hostOn365 ms on, 365 ms off, 1.25s on, 365 ms off
+ The Fast Blink pattern is almost never seen in practice, since the USB host normally enumerates the EBB immediately upon connection with a USB cable. However, if proper drivers are not installed on the host or if there is some other problem with the USB enumeration process the Fast Blink pattern can be observed and used as a debugging aid. +

+