-
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
ESP-32 Cam on a restart loop #3033
Comments
Got exactly the same here on a brand new ESP32Cam while tinkering with the TenDollarWebcam project:
(etc) Seems to be triggered by the wireless though, since before I hacked out the AutoWifi/Smartconfig stuff it would wait there for SmartConfig. (could not get that to work on my phone, so I hacked it out in favor of a 'normal' WiFi.begin(); call, after which this started to occur) |
Any solutions you came across? Mine is just anything that is uploaded, even a blank script comes across this issues and I'm not entirely sure if its a software or hardware problem. Clearing the flash seems to not do anything, but I'm not sure if its because of the FTDI adaptor I have or if the product itself is faulty. The reason I'm leaning against a hardware problem is because on closer inspection, all SMD components seem fine and all three came faulty, which would rarely happen if they did any QA testing |
Reboots during WiFi initialization are typically power issues. Powering through the USB is very often inadequate to provide the peak power needed to fire up the radios. Different manufacturers use different components, especially the power regulators, which may not get enough current from a computer USB port. |
Thanks, just setting the flash to 40MHz worked for me. . Do you know any way I can replace the power regulators if possible? |
https://www.youtube.com/results?search_query=desoldering+components+from+pcb |
Same issue here, I'm driving from a 3amp ldo linear regulator. rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
Hello @kbickham , You can try and change the flash frequency to 80 MHz also(instead of 40MHz as suggested by @lbernstone ) and see if it works for you. Here are the outputs of
I tried measuring the power difference between the two boards during power-up and I could not notice any differences. When I changed the build configuration to 80 Mhz, and uploaded the generated binary for the board with reboot issues now functions flawlessly. Hope it helps. |
This works perfect with ESPRESSIF ESP32CAM. Most probably power issues. |
I bought 4 esp32cam. one came with this loop defect. I installed the 3 in the store aisles, but 2 boards came to burn for a peak of energy burned the source, then the 3.3V regulator (esp32cam) shorted at 2 passing the peak of energy, shorted the CI Esp32 and burned the 2 cameras. Testing the boards I found that the memories were OK, so I decided to change the memory of the board with the loop defect. And OK the board is back up and running, already programmed with the configuration of the other board. Then I re-uploaded the program and OK. I discovered that the defect is in the CI 25Q32 J 1932 AS01173, under the metal shield. The 3 boards have this CI from different manufacturers (the ones that were good were XTX and BoyaMicro). I hope it helps. I lost a few hours on this problem and now I can say that it is a hardware problem. |
#2763 # Hardware:
Board: ESP32-Cam AI Thinker Module
Core Installation version: 1.8.9
IDE name: Arduino IDE
Flash Frequency: 80Mhz
PSRAM enabled: Yes
Upload Speed: 921600
Computer OS: Windows 10
Description:
Trying to upload code onto a ESP-32 Cam, and it uploads fine either as a Wrover board or a AI Thinker ESP-32 CAM. However, the serial output is in a constant loop of restarting. Weirdly enough, it only happens to certain esp32 modules that I received recently, while my original module works completely fine. I've also tried clearing the flash memory on the chips that aren't working, but the problem still persists. Tried my other YP-05 programmer and the same results still appear. The module is running on 5v USB port on my monitor, and my USB tester is not showing any power consumption, so brownouts is not likely an issue here. I also tested the continuity of the reset switch, and it works fine. I might suspect this is a manufacturer defect, as all three modules I had ordered from them suffers from the issue I am detailing (but still had good reviews), while the one that works was one I ordered a while back. Strangely enough, the code uploads on these boards without needing to press the reset switch on the bottom, so I'm guessing there could be a possible short on the switch
Using
esptool.py flash_id
, the one that doesnt works returns:While the module that does work returns:
Sketch:
Debug Messages:
Enable Verbose and Debug, no additional information was given in the serial monitor
The text was updated successfully, but these errors were encountered: