Update StatusLED-BlinkCodes.md

This commit is contained in:
Slider0007
2023-03-08 09:28:32 +01:00
committed by GitHub
parent 513adeb5ed
commit bea37b6f72

View File

@@ -8,15 +8,15 @@ The effective error codes can be found [here](https://github.com/jomjol/AI-on-th
* 500ms defined LED off
* 250ms blink code to identify error / status code
* 1,5s LED off to signal repetition
* Either repeat infinite for critical errors or repeat the status / warning blink code 2x
* e.g. 3x blinks | 500ms LED off | 2x blinks --> error: SD card not found
| **source** | source blink count| error / status | status blink count| repeat infinite |
| **source** | source <br> blink count| error / warning / status | status <br> blink count| repeat <br> infinite |
| ------------- | ----------------- |---------------------------------------| ---------------- | -----------------|
| FLASHLIGHT | N/A | LED on when flashlight is on (lowest prio) | solid, no blinking
| WLAN_CONN | 1 | Disconnected (No Access Point) | 1 |
| WLAN_CONN | 1 | Disconnected (Authentication failure) | 2 |
| WLAN_CONN | 1 | Disconnected (Timeout) | 3 |
| WLAN_CONN | 1 | Disconnected (Error code, misc error) | 4 |
| WLAN_CONN | 1 | Disconnected (further reasons) | 4 |
| WLAN_INIT | 2 | WLAN.ini empty or not readable | 1 | X
| WLAN_INIT | 2 | SSID or password empty | 2 | X
| WLAN_INIT | 2 | WIFI init error (details console) | 3 | X
@@ -35,28 +35,95 @@ The effective error codes can be found [here](https://github.com/jomjol/AI-on-th
| TIME_CHECK | 7 | Missing time sync (check every round) | 1 |
| OTA_OR_AP | 8 | OTA process ongoing | 1 | X
| OTA_OR_AP | 8 | Soft AP started | 2 | X
| FLASHLIGHT | N/A | LED on when flashlight is on (lowest prio) | solid, no blinking
From here -->TODO!!!
## Error
Those errors make the normal operation of the device impossible.
Most likely they are caused by a hardware issue!
# ERROR / WARNING
### `0x00000001` PSRAM bad
Your device most likely has no PSRAM at all or it is too small (needs to have at least 4 MBytes)!
See [Hardware Compatibility](../Hardware-Compatibility).
## Source WLAN_CONN: WLAN disconnected
Usually the log shows something like this:
```
psram: PSRAM ID read error: 0xffffffff
cpu_start: Failed to init external RAM!
```
!!! NOTE
Only warning indication, not blocking futher processing
## Status
Those Errors can be caused by an error during initialization. It is possible that the error has no impact at all or that a reboot solves it.
### `WLAN disconnected (No Access Point)`
WLAN connection is interrupted due to no AP in range.
### `0x00000100` Cam Framebuffer bad
The firmware was unable to initialize the Camera Framebuffer.
The firmware will continue to work, but other consequential error might arise.
A reboot of the device might help.
### `WLAN Disconnected (Authentication failure)`
WLAN connection is interrupted due to an authentication failure. If error repeats check WLAN config (username, password)
### `WLAN Disconnected (Timeout)`
WLAN connection is interrupted due to an timeout because no beacon from AP is received in a timely manner. Most probably AP is not available anymore or connection is not reliable.
### `WLAN Disconnected (Further reasons)`
WLAN connection is interrupted due to further reasons. Disconnect reason is printed in waring message. Please check serial console output or logfile from sd card (using another device to retrieve logfile /sdcard/log/message/). Please refer to this page to have additional infos in terms of WLAN disconnect reasons.
## Source WLAN_INIT: WLAN initialization
!!! NOTE
Critical error, normal boot not possible.
### `WLAN.ini empty or not readable`
The WLAN.INI file is present but content is either not readable or no content present. Please check for further errors in terms of SD card readability or content of WLAN.INI which is located in /sdcard (most top folder od SD card)
### `SSID or password empty`
The mandatory parameters SSID (name of WIFI network) and / or password is empty. Please configure those parameters and try again.
### `WIFI init error (details console)`
A general WIFI initialization error occured. Please check serial console output or logfile from sd card (using another device to retrieve logfile /sdcard/log/message/)
## Source SDCARD_INIT: SD card initialization
!!! NOTE
Critical error, normal boot not possible.
### `SD card filesystem mount failed`
Failed to mount FAT filesystem on SD card. Check SD card filesystem (only FAT supported) or try another card.
### `SD card not found (Error code 0x107)`
SD card init failed. Check if SD card is properly inserted into SD card slot or try another card.
### `SD card init failed (details console)`
A general SD card initialization error occured. Please check serial console output or logfile from sd card (using another device to retrieve logfile /sdcard/log/message/)
## Source SDCARD_CHECK: SD card basic check
!!! NOTE
Critical error, normal boot not possible.
### `File creation / write error`
A basic check of SD card is performed at boot. Failed to create the test file or writing content to the file failed. Most likely SD card is defective or not supported. Please check for further errors or try another card.
### `File read / CRC verfication error`
A basic check of SD card is performed at boot. Failed to read the test file or CRC of read back content failed. Most likely SD card is defective. Please check for further errors or try another card.
### `File delete error`
A basic check of SD card is performed at boot. Failed to delelte the test file. Most likely SD card is defective. Please check for further errors or try another card.
### `Folder / File presence failed`
!!! NOTE
Reduced WebUI is going to be loaded for further diagnostic possiblities or redo firmware update.
A basic check of SD card is performed at boot. One or more menadatory folder / file are not found on SD card. Please check logs with logfile viewer in redurced web interface or serial console output.
## Source CAM_INIT: Camera initialization
### `Camera init failed (details console)`
!!! NOTE
Critical error, normal boot not possible. Reduced WebUI is going to be loaded for further diagnostic possiblities or redo firmware update.
A general camera initialization error occured. Please check logs with logfile viewer in redurced web interface or serial console output.
### `Camera framebuffer check failed`
The framebuffer of the camera was not readable. The firmware will trying to continue regular boot, but further errors can occur which block regular processing
TODO --> from HERE