- Hi,
- 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. Different manufacturer; one has a black on the back side and the other is white, both ESP32 DEVKITV1
- Your help will be much appreciated.
SW_RESET continuous reboot
SW_RESET continuous reboot
- Attachments
-
- esp32_after_loading_code.txt
- Continuous reboot. This shows at the serial interface
- (1.08 KiB) Downloaded 1486 times
-
- esp32_when_new.txt
- Info the ES32 displays on serial interface when out of the box
- (3.8 KiB) Downloaded 1245 times
Re: SW_RESET continuous reboot
Hi!
I have exactly the same problem with my first ESP32 Devkit (Black backside)
I then bought another board (white backside) to verify that im not the fool here, which i was not.
I wasn't able to trace the issue further down, did you?
Just guessing this is not a common issue given the few information on the internet on this topic...
I have exactly the same problem with my first ESP32 Devkit (Black backside)
I then bought another board (white backside) to verify that im not the fool here, which i was not.
I wasn't able to trace the issue further down, did you?
Just guessing this is not a common issue given the few information on the internet on this topic...
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: SW_RESET continuous reboot
Hard to say... does the module still do this if you supply it with an external 3.3V source?
Re: SW_RESET continuous reboot
I have exactly same problem. Did you solve this problem?
I try to test external 3.3V power with FTDI serial board. but the result is the same with old.
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
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
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
I try to test external 3.3V power with FTDI serial board. but the result is the same with old.
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
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
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
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: SW_RESET continuous reboot
What board do you use? What did you flash to the ESP32, and how? What power supply and cables are you using?
Re: SW_RESET continuous reboot
i have the same thing.. it is driving me nuts !
Any clue before they send me to an institution....
Regards
Any clue before they send me to an institution....
Regards
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: SW_RESET continuous reboot
jmasdeu: What board do you use? What did you flash to the ESP32, and how? What power supply and cables are you using?
Re: SW_RESET continuous reboot
I’m experiencing the exact same problems as posted by Alfalf in the opening post.
They are (I guess) some kind of NodeMCU clones and have an EN button and a BOOT button that seem to work fine. Perhaps worst mentioning that entering uploading mode doesn’t require me to press any buttons.
I have tried uploading the sketch above using both PlatformIO in VSCode and the original Arduino software and tested numerous upload settings: 40Mhz flash speed, different upload baudrates and flash modes (DIO, DOUT, QIO, QOUT)
But it just doesn’t work and the ESP32 just keeps resetting spewing out the same messages as in Alfalf’s post. Also tried with different cables and power supplies, another ESP32 dev board from a different supplier works just fine!
I don’t believe they are completely unsalvageable though since as mentioned by Alfalf when connecting a dev. board they I haven’t uploaded anything to it shows the 2nd stage bootloader is running, which I assume means the esp32 was at least able to read from flash before I started uploading my own code.
They are (I guess) some kind of NodeMCU clones and have an EN button and a BOOT button that seem to work fine. Perhaps worst mentioning that entering uploading mode doesn’t require me to press any buttons.
Code: Select all
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println(“Hello World!”);
delay(1000);
}
But it just doesn’t work and the ESP32 just keeps resetting spewing out the same messages as in Alfalf’s post. Also tried with different cables and power supplies, another ESP32 dev board from a different supplier works just fine!
I don’t believe they are completely unsalvageable though since as mentioned by Alfalf when connecting a dev. board they I haven’t uploaded anything to it shows the 2nd stage bootloader is running, which I assume means the esp32 was at least able to read from flash before I started uploading my own code.
Re: SW_RESET continuous reboot
Recently i got the same or similar logs as @rudals. In my case it was binary which size exceeded factory partition size and disabled logging.
Re: SW_RESET continuous reboot
hi guys
make a full flash erase
windows tool : (erase),
esptool: erase_flash
and then flash it again with arduino ide or like you want.
do not forget to config in arduino the partion option.
i get this in the past if i come from esp-idf to arduino or arduino to esp-idf
if you use different settings in the menuconfig from each in the bin file
then this happens time to time -
also there can be a wrong setup in the spi clk also in the spi mode
or set a bit / old key data format ...
so - clean the flash and it should go on.
best wishes
rudi
make a full flash erase
windows tool : (erase),
esptool: erase_flash
and then flash it again with arduino ide or like you want.
do not forget to config in arduino the partion option.
i get this in the past if i come from esp-idf to arduino or arduino to esp-idf
if you use different settings in the menuconfig from each in the bin file
then this happens time to time -
also there can be a wrong setup in the spi clk also in the spi mode
or set a bit / old key data format ...
so - clean the flash and it should go on.
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Who is online
Users browsing this forum: No registered users and 160 guests