Skip to content

RuntimeError: Wifi Unknown Error 0xffffffff on ESP32-P4 with WIFI module external ESP32-C5 #19217

@hatsuneIridium

Description

@hatsuneIridium

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

  1. Flash the ESP32P4 main chip with GENERIC_ESP32P4C5 firmware (MicroPython v1.28.0).
  2. Flash the on-board ESP32C5 co-processor with matching ESP32C5 MicroPython v1.28.0 firmware.
  3. Connect to the board's serial REPL.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions