-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
ESP32-CAM in boot loop (flash read err, 1000) #6164
Comments
Been having fun with the same issue. From what I have read you need to add a pull-up resistor to pin 2 after flashing. I have also seen a few reference to people adding a resistor after flashing, some adding a transistor to control power. You could try OTA, but I think it will suffer the same issue. |
Arduino version 1.0.6 library works correctly From those I compared the 1.0.6, 2.0.0, 2.0.2 versions of the sd_diskio.cpp, and benchmarked the performance.From 2.0.0->2.0.2 function “ff_sd_status” has the following added (near line 610) #6103 recommends removing these lines.
|
@P-R-O-C-H-Y PTAL on the speed issues |
Hi @TheVisionariesInk Table of testing the read speeds.
|
I have updated the source and tested. Thank you for your efforts |
Thank you and thanks for testing that @TheVisionariesInk ! |
@P-R-O-C-H-Y Sorry I'm cross-posting here, but #6456 is breaking reads when mixing small and large chunks. The code is in Berry but the mapping is striaghtforward. Scenario 1:
Scenario 2:
In scenario 2, the read is above 128 ans the result is wrong. The result looks like garbage - not content from the file, and it often crashes right after as a hint of memory corruption. I have some questions:
|
@s-hadinger Hi, its OK :) I can answer all your questions there. So more people can see that. Thank you for understanding! |
@rtek1000 Does your issue still persist? Or we can close this one :) |
Issue appears to be resolved. thank you |
Board
ESP32-CAM Ai-Thinker
Device Description
ESP32-CAM with camera attached and SD card inserted
Hardware Configuration
ESP32-CAM with camera attached and SD card inserted
Version
v1.0.6
IDE Name
Arduino IDE 1.8.19
Operating System
Xubuntu 20.04
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
115200
Description
ESP32-CAM in boot loop
Sketch
Debug Message
Other Steps to Reproduce
Inserting the SD card causes the problem
Note: I didn't see the Troubleshooting Guide, it would be nice to have a link to that along with the warning when opening the issue.
But on the Internet I didn't find anything directly related to ESP32-CAM either.
Since this board model already has an SD card socket, it would be interesting to have a way to allow firmware uploads to be carried out even with the presence of the SD card. Otherwise, I have to remove the SD card and then upload the firmware via the serial port.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: