-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP32-CAM test crashes in 2.0.2- OK in 1.0.6 #6526
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
Comments
Simpler testcase with no wifi webserver. Only take a picture, save it in SPIFFS
|
Hello. is the error the same for 2.0.3-RC1? |
The test sketch is not working.
|
Don't know how to install 2.0.3-RC1 |
decoding those exceptions can also help much. (And it is a requirement) https://github.com/me-no-dev/EspExceptionDecoder |
Well: there is no stack in the output, just "Backtrace:0x400ea765:0x3ffbee0c |<-CORRUPTED" |
@Jason2866 : no problem in Arduino IDE. |
In general there is no problem with the webcam. We have a webcam build with Tasmota and it worked never so stable as with core 2.0.x |
Test done with 2.0.3-RC1:
Doesn't occure if the picture is save on the SD card instead of the SPIFFS Here is a log (no more information if compiled with debug level "debug")
|
I just see you mentioned ESPAsyncWebServer problems, it can be probably related to this issue? #6502? |
The mix SPIFFS + ESPAsyncWebServer have a strange behavior. |
Hello, Due to the overwhelming volume of issues currently being addressed, we have decided to close the previously received tickets. If you still require assistance or if the issue persists, please don't hesitate to reopen the ticket. Thanks. |
Board
ESP32-CAM
Device Description
"Simple" (?) ESP32-CAM module here from Banggood
Hardware Configuration
No other connection.
Powered by FTDI on an USB port of the PC or with an external 5v power supply. (FTDI only for upload /debug)
Version
v2.0.2
IDE Name
Arduino IDE 1.8.19
Operating System
Windows 10
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
921600
Description
When compiled with release 1.0.6 the test case run as expected.
With exactly the same hardware (same PC, same FTDD, cable ....;) but with release 2.0.2 it crashes very often, with ramdom (??) causes.
The code is exactly this one from a tutorial at randomnerdtutorials.com
Raw code is here.
Small websever (using ESPAsyncWebServer) with a web page allowing to take a picture (always under the same name), save it in SPIFFS and display it on demand.
(I am aware of the need of config.grab_mode = CAMERA_GRAB_LATEST; for this kind of application in 2.02)
The original demo turns off the brownout detection, but even with the brownout detection enabled the results are bad and there is no explicit crash for brownout detection. Does not seem to be a power supply problem. Tests were also done wih external power supply.
Same test adapted to use the SD card instead of the SPIFFS run perfectly in 2.0.2
For this adaptation I just changed the #include and the .begin
ESPAsyncWebServer version 1.2.3
Code compiled for AI Thinker ESP32-CAM board or ESP32 Dev Kit with psram enabled. Same results.
Sketch
Debug Message
Other Steps to Reproduce
Test OK with 1.0.6
Test OK in 2.0.2 if SD card is used instead of SPIFFS
In fact I see other crashes than the ones reported here, but could not reproduce at capture time :-<
Crashes not the same with debug level none. (see the 2 logs , separted with ++++++++++++++++++)
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: