tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.
MIT License
664 stars 217 forks source link

Board resetting #17

Closed rgarciaotc closed 5 years ago

rgarciaotc commented 6 years ago

I am trying to run the example code on an esp32 and the board is resetting. The code I get is this:

I (224) cpu_start: App cpu up.
I (254) heap_init: Initializing. RAM available for dynamic allocation:
I (261) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (267) heap_init: At 3FFB9378 len 00026C88 (155 KiB): DRAM
I (273) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (279) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (286) heap_init: At 40090188 len 0000FE78 (63 KiB): IRAM
I (292) cpu_start: Pro cpu start user code
I (11) pm_esp32: Frequency switching config: CPU_MAX: 240, APB_MAX: 240, APB_MIN: XTAL, Light sleep: DISABLED
I (12) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
http_server: waiting for start bit
wifi_manager: Start DHCP client for STA interface. If not already running
I (68) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (68) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
free heap: 248116

Brownout detector was triggered

ets Jun  8 2016 00:22:57

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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5744
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:13992
entry 0x40079008

What am I doing wrong?

Thank you

alfredomrh commented 5 years ago

Hello, uncheck the Hardware brownout detect & reset box in the component config->esp32-specific of the menuconfig. In the wifi config, uncheck NVS. In the Greetings,