mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-09 13:06:56 +03:00
Remove redundandant infos
This commit is contained in:
@@ -1,40 +1,13 @@
|
|||||||
# Error Debugging
|
# Error Debugging
|
||||||
|
|
||||||
## Rebooting
|
|
||||||
|
|
||||||
##### General Remark
|
|
||||||
|
|
||||||
1. Due to the rather complex code with a lot of external libraries and the limited availability of memory a reboot of the device from time to time is "normal". Background are memory leakages and therefore running out of free memory.
|
|
||||||
|
|
||||||
2. The hardware of the ESP32CAM has a varying quality. I have one and the same hardware with a reboot range from every 5 detection runs to up to 250 detection runs.
|
|
||||||
|
|
||||||
##### Getting deeper inside
|
|
||||||
|
|
||||||
Have a look into the log file (``/log/message/...``).
|
|
||||||
|
|
||||||
* If the log file is very short you need to enable a enhanced logging in the ``config.ini`` (Debug --> ``logfile = true``) .
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Analyze the debugging output of the serial interface
|
|
||||||
|
|
||||||
* Connect a serial to USB interface (like for flashing) and make a logging of the serial communication
|
|
||||||
* There are a lot more intermediate information and the lines before the reboot tell you, where the firmware fails
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**If you make an issue about this, please post these two information additionally**
|
|
||||||
|
|
||||||
**Don't forget to remove your WLAN password in the serial log**
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Often observed problems
|
## Often observed problems
|
||||||
|
|
||||||
### Hardware failure
|
### Hardware failure
|
||||||
* Camera not working --> check the interface, test another module
|
* Camera not working --> check the interface, test another module
|
||||||
* Low cost module with only 2MB of PSRAM instead of 4MB --> image taking will fail first. This will never work due to too low memory
|
* Low cost module with only 2MB of PSRAM instead of 4MB --> image taking will fail first. This will never work due to too low memory
|
||||||
|
|
||||||
|
More information in terms of hardware, component and basic configuration issues can be found here: [Reboot reasons](https://jomjol.github.io/AI-on-the-edge-device-docs/Frequent-Reboots/)
|
||||||
|
|
||||||
### ROI misaligned
|
### ROI misaligned
|
||||||
|
|
||||||
<img src="https://user-images.githubusercontent.com/108122193/188264361-0f5038ce-d827-4096-93fb-5907d3b072b4.png" width=30% height=30%>
|
<img src="https://user-images.githubusercontent.com/108122193/188264361-0f5038ce-d827-4096-93fb-5907d3b072b4.png" width=30% height=30%>
|
||||||
|
|||||||
Reference in New Issue
Block a user