Page 1 of 1

ESP32 reboot loop after supply with 5V by VIN pin

Posted: Sat Apr 06, 2019 2:07 pm
by DavidN
Hi everyone.

I've got an ESP32 DevKit V1 and I tried to supply by VIN with 5V (the ESP has regulator), after that the ESP32 goes into a reboot loop even with USB supply.

Thanks in advance.

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Wed Apr 10, 2019 4:41 pm
by commando_j
So you powered it with 5V, programmed the board, then it went into a boot loop?

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Sat Apr 13, 2019 8:45 pm
by DavidN
I uploaded a program, then feed with 5V and it didn't work so i decided to take a look to the monitor serial and i got this

rst:0xc (SW_CPU_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:956
load:0x40078000,len:0
load:0x40078000,len:13256
entry 0x40078a90

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Mon Apr 15, 2019 1:54 pm
by commando_j
- Are you able to erase the flash?
- Is this a sample program from ESP-IDF?
- Did it originally work with just USB power?

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Tue Apr 16, 2019 3:30 am
by DavidN
- I was trying to flash it but I didn't understand the part of the bin files.
-No, I'm working with Arduino IDE.
-Yes, the ESP32 worked fine with USB power.

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Tue Apr 16, 2019 4:36 pm
by commando_j
Well you are right that it should work with 5V, since it should have a diode between USB power and the 5V input, at the input of the LDO.
I'm just trying to see if you have too much confidence in your code, that would be causing the reset.

I haven't used the Arduino IDE. I assume though that there are sample programs like Hello World?

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Tue Apr 16, 2019 8:09 pm
by chegewara
It can be brownout, are you sure you power supply is good enough?

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Tue Apr 16, 2019 8:44 pm
by commando_j
No current limit set on the power supply?

Re: ESP32 reboot loop after supply with 5V by VIN pin

Posted: Fri Apr 24, 2020 10:41 pm
by glal12
I dont know why but if the PSU for the ESP is 5V or more and the 3.3V rail is at 3.3V the ESP does not want to upload. Lowering the voltage to 4.9V or 4.8V solved my problems. Try it your self.