ESP32 - cannot initialize WLAN
While initializing a WLAN (on an ESP32 GENERIC_SPIRAM board) with:
>>> import network
>>> station = network.WLAN(network.STA_IF)
the following error occurs:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: Wifi Unknown Error 0x0101
MicroPython version used (build with ESP-IDF (stable) 4.3.1):
>>> import sys
>>> sys.implementation
(name='micropython', version=(1, 17, 0), mpy=10757)
ESP32-S3 Supermini reboots on attempt for Wifi in 'AP' mode
Port, board and/or hardware
ESP32-S3 Supermini
MicroPython version
Not sure where I can ask my question...
Attempting to connect to my ESP32-S3 supermini board running Micropython using 'AP' mode results in an immediate disconnection -- but 'STA' mode works just fine.
I am using the following Micropython firmware:
ESP32_GENERIC_S3-FLASH_4M-20241129-v1.24.1.bin
My other full-size ESP32-S3 development boards work just fine.
Reproduction
Connected to MicroPython at /dev/ttyACM0
Use Ctrl-] or Ctrl-x to exit this shell
MicroPython v1.24.1 on 2024-11-29; Generic ESP32S3 module with ESP32S3
Type "help()" for more information.
import network
ap = network.WLAN(network.AP_IF)
ap.active(True)
Truedevice disconnected
Expected behaviour
Note that 'STA' mode works just fine:
Connected to MicroPython at /dev/ttyACM0
Use Ctrl-] or Ctrl-x to exit this shell
MicroPython v1.24.1 on 2024-11-29; Generic ESP32S3 module with ESP32S3
Type "help()" for more information.
import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
True
Observed behaviour
Connected to MicroPython at /dev/ttyACM0
Use Ctrl-] or Ctrl-x to exit this shell
MicroPython v1.24.1 on 2024-11-29; Generic ESP32S3 module with ESP32S3
Type "help()" for more information.
import network
ap = network.WLAN(network.AP_IF)
ap.active(True)
Truedevice disconnected
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree