Huzzah32 cannot init WiFi


#1

Hello,
We are evaluating the Zerynth environment using a Huzzah32 Feather board (ESP-WROOM-32).
Everything is set according to the guide and we are able to run successfully examples like Math Module and Blink.
All WiFi related examples fail on wifi_driver.auto_init() :

E (10806) wifi: wifi_init_in_caller_task 708 ret=4353
[Thread 1 exited with exception IOError @[0042:0005:0041:0005:0000:0022:0000:0000]](javascript:window.except(’@[0042:0005:0041:0005:0000:0022:0000:0000]’,'Thread 1 exited with exception IOError '))
E (10919) wifi: esp_wifi_stop 894 wifi is not init
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:3696
ho 0 tail 12 room 4
load:0x40078000,len:9928
ho 0 tail 12 room 4
load:0x40080400,len:5788
entry 0x400806c0
E (32) boot: OTA: -1/-1 -1/-1 -1/-4
E (33) boot: Invalid ota, returning default vm 0
E (33) boot: Starting vm 0

The library is loaded according to the example :

from wireless import wifi

import wifi support

from espressif.esp32net import esp32wifi as wifi_driver

We get similar results with every example using WiFi.
We are missing something ?


#2

hi @abrous3d
Could you try erasing the flash?
You have to click the info button and click the “Erase Flash” button - see in picture:

erase_btn
erase_btn.png781x400 41 KB

Once erasing procedure is done, you can virtualize and uplink again the wifi example.
Let me know if the error persists.