-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cam freezes after some time and then restarts #36
Comments
Hello @bin101 . Yes, this is RAM issue. The current software version 1.0.3-rc2 should already solve these problems |
@johnyHV It got better but still not 100% reliable:
|
Can you send me fuul log ? From MCU start to MCU reboot ? My camera running an hour without a problem. |
@johnyHV send it to your Gmail address |
@bin101 I analyzed your logs. Video streaming is generally a complex task, especially when combined with sending photos to the backend. It uses a large amount of RAM and computational CPU performance. In the latest version of the firmware that I just released, the issues you had in the logs should be resolved. Currently, ESP IDF 4.7 is being used. There is a newer version, ESP IDF 5.1, which I works to update to, but minor adjustments to the source code are needed. I anticipate that upgrading to ESP IDF 5.1 will increase the stability and reliability of the device, as I suspect that ESP IDF 4.7 has significant memory leaks that I unfortunately cannot control. |
Hello @bin101 I published new release, 1.1.0-rc1. In this version is used new ESP IDF library, and new version of ESPAsyncWebServer. This changes make better performance and stability. Can you tested it please ? |
I will |
@johnyHV uptime seems to be improved without memory related reboots but now I have Wifi issues:
|
@bin101 can you send me please fuul log ? |
@johnyHV send the logs to your gmail address |
@bin101 Thank you for the logs. I looked through them, and it looks strange. It might be issues with your internet connection or an unusual error with the library. A new version of ESP-IDF has just been released, so I will try to release rc2 in the near future. Maybe that will help resolve your problem. |
@johnyHV with 1.1.0-rc2 I now reached an uptime of 22hours still counting. Let's see if it stays this way ;) |
@johnyHV I noticed one new condition for reboots: Every time the Maximum log file size is reached it will restart. So the log ends with e.g.
|
Hello @bin101 . Thank you for the report, but I can't simulated same issue. Can you try another micro SD card ? Or Format the micro SD card ? |
Hi @johnyHV did you try excessive logging in verbose mode? For now I switched to another SD card, maybe this will solve it already. |
Hello @bin101 , Yes I tried verbose log level, and nothing. But I had a problem with one SD card. If I had it inserted micro SD card in the camera, the MCU couldn't boot and was stuck in a strange boot loop. |
Hi @johnyHV, send you another log via mail. I think now there is just a wifi issue left which could cause a software reset due to exception/panic but I am not really sure. Using a better SD card definitely helped for most of the reboots. |
Hello @bin101 . Here is new, experimentaly FW. Can you test it please ? |
@johnyHV Cannot see the wifi issue so far anymore, but random reboots without any hints, send you the logs anyway. |
Hello @bin101, could you please attach the logs here? Please ensure that all sensitive content, such as passwords and tokens, is hidded. It will help me navigate through the issues more easily. Thank you very much |
@johnyHV Sure here it is: |
@johnyHV any findings? |
The problem is most likely to be reproduced in stream mode, but it also occurs in snapshot mode under circumstances unknown to me. The higher the resolution selected, the faster the cam freezes and then restarts by itself. I therefore suspect memory problems?
The cam is connected via an external wifi antenna. I have re-soldered the resistor accordingly.
Perhaps my PSRAM is faulty
Version used: 1.0.3-rc1
Logs:
Settings:
The text was updated successfully, but these errors were encountered: