Port, board and/or hardware
WTDKP4C5-S1(ESP32-P4 with with WIFI module of external ESP32C5)
MicroPython version
MicroPython v1.28.0 on 2026-04-06; Generic ESP32P4 module with WIFI module of external ESP32C5 with ESP32P4
Reproduction
- Flash the ESP32P4 main chip with GENERIC_ESP32P4C5 firmware (MicroPython v1.28.0).
- Flash the on-board ESP32C5 co-processor with matching ESP32C5 MicroPython v1.28.0 firmware.
- Connect to the board's serial REPL.
- Run the following minimal code:
import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True) # RuntimeError occurs at this line
Expected behaviour
Expected the WiFi interface to activate successfully without throwing an error.
The WLAN.active(True) call should return True and allow subsequent operations like connecting to a WiFi network.
Observed behaviour
When calling wlan.active(True), a RuntimeError is raised immediately:
Traceback (most recent call last):
File "", line 2, in
RuntimeError: Wifi Unknown Error 0xffffffff
Additional Information
- Board: WTDKP4C5-S1(ESP32P4 + on-board ESP32C5 WiFi co-processor,product page: https://en.wireless-tag.com/product-item-76.html)
- Both chips were flashed with MicroPython v1.28.0 (GENERIC_ESP32P4C5 for P4, matching ESP32C5 build for C5)
- Hardware connections between P4 and C5 follow the official board schematic
- Basic GPIO and UART functions are working, ruling out major hardware failure
- The error occurs immediately at
wlan.active(True), before any network connection attempt
Code of Conduct
Yes, I agree
Port, board and/or hardware
WTDKP4C5-S1(ESP32-P4 with with WIFI module of external ESP32C5)
MicroPython version
MicroPython v1.28.0 on 2026-04-06; Generic ESP32P4 module with WIFI module of external ESP32C5 with ESP32P4
Reproduction
Expected behaviour
Expected the WiFi interface to activate successfully without throwing an error.
The WLAN.active(True) call should return True and allow subsequent operations like connecting to a WiFi network.
Observed behaviour
When calling
wlan.active(True), a RuntimeError is raised immediately:Traceback (most recent call last):
File "", line 2, in
RuntimeError: Wifi Unknown Error 0xffffffff
Additional Information
wlan.active(True), before any network connection attemptCode of Conduct
Yes, I agree