Waveshare ESP32-P4 & ESP_Hosted for Wifi, error on using WiFi

tjey68
Posts: 3
Joined: Thu Nov 20, 2025 12:20 pm

Waveshare ESP32-P4 & ESP_Hosted for Wifi, error on using WiFi

Postby tjey68 » Thu Nov 20, 2025 12:38 pm

I'm using a Waveshare ESP32-P4-WIFI6-DEV-KIT board (https://www.waveshare.com/wiki/ESP32-P4-WIFI6-DEV-KIT), with the lastest pioarduino (Arduino Release v3.3.4 based on ESP-IDF v5.5.1.251106) , and I'm getting the following message in the log when I wifi.begin, wifi.status, etc.

Code: Select all

waiting for Wifi ***
sdio_mempool_create free:34099576 min-free:34094304 lfb-def:33030132 lfb-8bit:33030132

Version on Host is NEWER than version on co-processor
RPC requests sent by host may encounter timeout errors
or may not be supported by co-processor
I've assumed that this means that I need to flash an updated version ESP_Hosted on the ESP32-C6 that the board uses as the WiFi/Bluetooth coprocessor.

Interesting, WiFi does seem to work (i.e. I can get connected to a WiFi network, start a web server which seems to work, etc.)

I've also tried checking the coprocessor firmware version by calling esp_hosted_get_coprocessor_fwversion, but it always errors out, so I'm not sure which version is on the ESP-C6 already.

I've found examples of using the esp_hosted_slave_ota_* APIs, but I'm not sure which version of the firmware I should be flashing. Is https://github.com/espressif/esp-hosted/releases the latest one, and is it compatible with ESP-IDF v5.5.1.251106? Should I be using the FG release or the NG release?

Thanks in advance

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: Waveshare ESP32-P4 & ESP_Hosted for Wifi, error on using WiFi

Postby lbernstone » Fri Nov 21, 2025 12:46 am

It looks to me like there is a "hosted" directory in the tools/esp32-arduino-libs folder. That has smallish binaries that get pushed out to your wifi devices on every boot. Ask in the issues page for pioarduino. The maintainer there should have a good understanding of that, perhaps his CI just isn't grabbing the latest file.

tjey68
Posts: 3
Joined: Thu Nov 20, 2025 12:20 pm

Re: Waveshare ESP32-P4 & ESP_Hosted for Wifi, error on using WiFi

Postby tjey68 » Fri Nov 21, 2025 1:31 am

Thanks. I've tried the pioarduino discord channel. They seem to prefer that to issue reports, at least for the first go around.

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: Waveshare ESP32-P4 & ESP_Hosted for Wifi, error on using WiFi

Postby lbernstone » Fri Nov 21, 2025 4:34 pm

There are a lot of functions included in the core for hosted. I'm not seeing anything in the code to automatically push that across to the captive device, so maybe it is intended to be a manual thing that you code. I'll play around with it a bit.

tjey68
Posts: 3
Joined: Thu Nov 20, 2025 12:20 pm

Re: Waveshare ESP32-P4 & ESP_Hosted for Wifi, error on using WiFi

Postby tjey68 » Fri Nov 21, 2025 5:31 pm

I did get a response from the pioarduino team.

It's something you have to explicitly update, either by using the OTA apis, or by connecting to the UART on the ESP32C6.

They also don't recommend using anything lower than version 2.6.6 due to some issues, but I'm not sure if the issues are exclusive to pioarduino or in general.

I'll be ordering ESP-Prog board to recover in case the OTA update goes wrong.

Who is online

Users browsing this forum: No registered users and 3 guests