Page 1 of 1

what will cause reboot issue

Posted: Thu Jun 28, 2018 8:56 am
by alvin_xie
I power off the ESP32 for 5 sec. and then power on it.
But the ESP32 will always reboot.

here is the log:

Code: Select all

...
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (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:2
cmd len -1
ets_main.c 371 
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (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:2
cmd len -1
ets_main.c 371 
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (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:2
cmd len -1
ets_main.c 371 
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5772
load:0x40078000,len:0
load:0x40078000,len:13804
csum err:0xe6!=0xc8
ets_main.c 371 
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (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:2
cmd len -1
ets_main.c 371 
ets Jun  8 2016 00:22:57
...
what will cause this issue?

Re: what will cause reboot issue

Posted: Thu Jun 28, 2018 10:39 am
by chegewara
Maybe this?

Code: Select all

csum err:0xe6!=0xc8

Re: what will cause reboot issue

Posted: Thu Jun 28, 2018 2:06 pm
by WiFive
0x33 means you have gpio12 pulled up and should have 1.8v flash (wrover or d2wd), do you?

Re: what will cause reboot issue

Posted: Fri Jun 29, 2018 4:02 pm
by Pibbotley
As above, disconnect pin 12 and try again. I avoid pin 12 if I can.

Re: what will cause reboot issue

Posted: Sat Jun 30, 2018 1:39 pm
by ESP_igrr
Alternatively, use espefuse.py to set flash voltage to 3.3V. Then the state of GPIO12 will not matter.

Re: what will cause reboot issue

Posted: Sat Jun 30, 2018 4:52 pm
by Pibbotley
I've learned something, thanks

Re: what will cause reboot issue

Posted: Mon Jul 16, 2018 2:02 am
by alvin_xie
ESP_igrr wrote:Alternatively, use espefuse.py to set flash voltage to 3.3V. Then the state of GPIO12 will not matter.

Code: Select all

use espefuse.py to set flash voltage to 3.3V.
how to do this?

Re: what will cause reboot issue

Posted: Wed Jul 18, 2018 9:54 am
by ESP_igrr