Skip to content

ESP32 keeps reboot #3036

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

Closed
bensenq opened this issue Jul 27, 2019 · 17 comments
Closed

ESP32 keeps reboot #3036

bensenq opened this issue Jul 27, 2019 · 17 comments

Comments

@bensenq
Copy link

bensenq commented Jul 27, 2019

I have two ESP32 DEVKIT V1. One has been runnig well since I purchased it. The second one, that I just got in the mail, keeps rebooting even if I load the same code and all the same. Even with empty code, keeps rebooting.

Here a copy of the serial interface:
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:9232
load:0x40080400,len:6400
entry 0x400806a8
ets Jun 8 2016 00:22:57

It repeats forever. I'm programming with Arduino IDE. I do the same in both ESP32's, one runs fine, the other continuously resets.
On my second purchase, I bought 5 esp32. When first plugged, they list all parameters on the Serial interface, and no rebooting. Once I load a program with the Arduino IDE, they enter the continuous reboot regardless of the code uploaded. All the ones from the second purchase do the same.

Your help will be much appreciated.

@lbernstone
Copy link
Contributor

Open a command prompt and run: python esptool.py chip_id from the esp32/tools folder.
Make sure your image is smaller than the flash size listed.
Use the 'esp32 dev module' entry in boards, then set to the lowest common denominator flash settings (DIO/40MHz/no PSRAM/115200 baud).
Make sure your loop function has something in it, even if just a delay.

@bensenq
Copy link
Author

bensenq commented Jul 28, 2019

@lbernstone it works, thank you very much. There must be some difference bettween two boards.
After using lowest setting (DIO/40MHz/no PSRAM/115200 baud), program is download successfully.

@mmashraf
Copy link

mmashraf commented Aug 5, 2019

I was unable to find chip_ID using commands. Secondly how and where to use this command on windows command prompt i.e esp32 dev module. please let me guide further on
how to check and find "Make sure your image is smaller than the flash size listed"
and how to reduce the image size

. Connecting.....
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 3c:71:bf:f1:1d:64
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: 3c:71:bf:f1:1d:64
Hard resetting via RTS pin...

@lbernstone
Copy link
Contributor

@wonnachai2
Copy link

@lbernstone Following #3129 I run on windows 10. I have searched but i dont found ESPtool.

@wonnachai2
Copy link

@lbernstone Now I do it follow you but it still have same poblem.
Capture2

@thylive
Copy link

thylive commented Aug 30, 2019

@lbernstone Now I do it follow you but it still have same poblem.
Capture2

have you solved the problem?

@thylive
Copy link

thylive commented Sep 1, 2019

could you tell me how to slove the problem like this ?
and how to set " no PSRAM " ?

@mmashraf
Copy link

mmashraf commented Sep 1, 2019

go into tools and select PSRAM: "Disabled" for your ESP board

@tonys0
Copy link

tonys0 commented Oct 15, 2019

This actually helped me to solve the problem with continuous reboot.

In Arduino IDE: click Tools, Board, Board Manager.
After the dialog is loaded type ESP32 and look for:
esp32 by Espressif Systems ...
if it is installed
Press Update button (in my case to version 1.0.4)
if it is not installed, I can not see how you got here to find the continuous reboot problem.
But do not worry, just press Install button.

Try this before you go for 160MHz CPU frequency, 40MHz flash, DIO flash mode, PSRAM disabled etc.
not to mention the resistor and capacitor on EN input.

@Kashyapkoshti
Copy link

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371

I am getting this error in my esp32 devkit v1
How to solve it?
I am using arduino IDE for programming the esp32.

@masterq-star
Copy link

i remove esp32 library and download version other .
and it works

@Kashyapkoshti
Copy link

Kashyapkoshti commented Dec 3, 2020

@quytran01 can you provide which version you are using? and which board you are using?

@masterq-star
Copy link

@Kashyapkoshti i am using esp32 version 1.0.3, it works but i think maybe the error is due to your hardware

@masterq-star
Copy link

@Kashyapkoshti Please try with other esp32 to be sure the fault is due hardware or software

@lukbieli
Copy link

In my case reinstalling esp32 hardware library helped

@pranjals94
Copy link

pranjals94 commented Jan 5, 2024

(esp-idf) yap i tried in a different board it worked, but ESP32 seems to be power hungry in its full resolution of camera ... :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants