ESP32 in client mode - init failure
Posted: Sat Sep 23, 2017 8:26 am
Hello all,
i have this module: http://www.ebay.com/itm/ESP32-ESP32S-4- ... 4d576bbc43. The board is based on ESP-WROOM-32 chip.
I can compile and run the https://github.com/cyoung/esp32-webserver, but it works just in the AP mode. When compiled with WIFI_MODE_STA (and having ssid and pwd of the wifi AP set in the code), then it fails to start. Here is an extract from the console output:
...snip...
I (6823) wifi: Init dynamic rx buffer num: 32
I (6827) wifi: Init rx ampdu len mblock:7
I (6830) wifi: Init lldesc rx ampdu entry mblock:4
I (6835) wifi: wifi power manager task: 0x3ffdfe28 prio: 21 stack: 2560
ESP_ERROR_CHECK failed: esp_err_t 0x5 at 0x401008b3
Backtrace: 0x40088c54:0x3ffd6310 0x40088fc9:0x3ffd6330 0x401008b3:0x3ffd6350 0x40100c05:0x3ffd6420 0x400d0cfe:0x3ffd6450
Rebooting...
In contrast, when in AP mode, the output looks like this:
...snip...
I (6823) wifi: Init dynamic rx buffer num: 32
I (6827) wifi: Init rx ampdu len mblock:7
I (6830) wifi: Init lldesc rx ampdu entry mblock:4
I (6835) wifi: wifi power manager task: 0x3ffdfe28 prio: 21 stack: 2560
[0;32mI (7516) phy: phy_version: 359.0, e79c19d, Aug 31 2017, 17:06:07, 0, 0[0m
I (7517) wifi: mode : softAP (30:ae:a4:02:b8:c1)
SYSTEM_EVENT_AP_START.
starting DHCP server.
etc....
Does anybody have any clue what can be reason for that ESP_ERROR_CHECK failed: esp_err_t 0x5 error?
thanks
Zdenek
PS. It's my first time experience with these wifi modules. Sorry if asking for something well known, but Google has not helped...
i have this module: http://www.ebay.com/itm/ESP32-ESP32S-4- ... 4d576bbc43. The board is based on ESP-WROOM-32 chip.
I can compile and run the https://github.com/cyoung/esp32-webserver, but it works just in the AP mode. When compiled with WIFI_MODE_STA (and having ssid and pwd of the wifi AP set in the code), then it fails to start. Here is an extract from the console output:
...snip...
I (6823) wifi: Init dynamic rx buffer num: 32
I (6827) wifi: Init rx ampdu len mblock:7
I (6830) wifi: Init lldesc rx ampdu entry mblock:4
I (6835) wifi: wifi power manager task: 0x3ffdfe28 prio: 21 stack: 2560
ESP_ERROR_CHECK failed: esp_err_t 0x5 at 0x401008b3
Backtrace: 0x40088c54:0x3ffd6310 0x40088fc9:0x3ffd6330 0x401008b3:0x3ffd6350 0x40100c05:0x3ffd6420 0x400d0cfe:0x3ffd6450
Rebooting...
In contrast, when in AP mode, the output looks like this:
...snip...
I (6823) wifi: Init dynamic rx buffer num: 32
I (6827) wifi: Init rx ampdu len mblock:7
I (6830) wifi: Init lldesc rx ampdu entry mblock:4
I (6835) wifi: wifi power manager task: 0x3ffdfe28 prio: 21 stack: 2560
[0;32mI (7516) phy: phy_version: 359.0, e79c19d, Aug 31 2017, 17:06:07, 0, 0[0m
I (7517) wifi: mode : softAP (30:ae:a4:02:b8:c1)
SYSTEM_EVENT_AP_START.
starting DHCP server.
etc....
Does anybody have any clue what can be reason for that ESP_ERROR_CHECK failed: esp_err_t 0x5 error?
thanks
Zdenek
PS. It's my first time experience with these wifi modules. Sorry if asking for something well known, but Google has not helped...