ESP32 reboot loop after supply with 5V by VIN pin

DavidN
Posts: 4
Joined: Thu Apr 04, 2019 10:56 pm

ESP32 reboot loop after supply with 5V by VIN pin

Postby DavidN » Sat Apr 06, 2019 2:07 pm

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.

commando_j
Posts: 27
Joined: Tue Feb 05, 2019 5:26 pm

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

Postby commando_j » Wed Apr 10, 2019 4:41 pm

So you powered it with 5V, programmed the board, then it went into a boot loop?

DavidN
Posts: 4
Joined: Thu Apr 04, 2019 10:56 pm

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

Postby DavidN » Sat Apr 13, 2019 8:45 pm

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

commando_j
Posts: 27
Joined: Tue Feb 05, 2019 5:26 pm

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

Postby commando_j » Mon Apr 15, 2019 1:54 pm

- Are you able to erase the flash?
- Is this a sample program from ESP-IDF?
- Did it originally work with just USB power?

DavidN
Posts: 4
Joined: Thu Apr 04, 2019 10:56 pm

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

Postby DavidN » Tue Apr 16, 2019 3:30 am

- 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.

commando_j
Posts: 27
Joined: Tue Feb 05, 2019 5:26 pm

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

Postby commando_j » Tue Apr 16, 2019 4:36 pm

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?

chegewara
Posts: 2210
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Tue Apr 16, 2019 8:09 pm

It can be brownout, are you sure you power supply is good enough?

commando_j
Posts: 27
Joined: Tue Feb 05, 2019 5:26 pm

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

Postby commando_j » Tue Apr 16, 2019 8:44 pm

No current limit set on the power supply?

glal12
Posts: 1
Joined: Fri Apr 24, 2020 10:37 pm

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

Postby glal12 » Fri Apr 24, 2020 10:41 pm

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.

Who is online

Users browsing this forum: No registered users and 93 guests