esp-hosted icon indicating copy to clipboard operation
esp-hosted copied to clipboard

RF testing and upgrade

Open linchanghe123 opened this issue 2 years ago • 5 comments

Hello @mantriyogesh

Is there currently a method for RF testing using hosted_ng mode? In addition, does the current code include an upgrade channel for esp32c3 firmware?

thanks

linchanghe123 avatar Nov 30 '23 11:11 linchanghe123

Hello @linchanghe123 ,

The ESP-Hosted-NG relies in ESP-IDF Wi-Fi and RF. You can use the ESP-IDF independent example for RF at: https://github.com/espressif/esp-idf/tree/release/v5.1/examples/phy/cert_test

In addition, does the current code include an upgrade channel for esp32c3 firmware?

I did not understand, do you mean OTA update?

mantriyogesh avatar Nov 30 '23 11:11 mantriyogesh

Hello @mantriyogesh,

Uploading image.png… We want to upgrade the firmware of esp32c3 through SPI,not OTA. Is there any relevant mechanism currently?

linchanghe123 avatar Nov 30 '23 11:11 linchanghe123

That is what we say OTA. Firmware upgrade over ESP-Hosted transport is supported in ESP-Hosted-FG. but NG doesn't have that capability yet.

We are planning to add such supportin NG, but may take some time..

mantriyogesh avatar Nov 30 '23 12:11 mantriyogesh

Hello @mantriyogesh, When is the NG mode expected to support firmware upgrade functionality? Can we also port the upgrade process of FG to NG? Is this approach feasible and does it require a significant amount of work?

linchanghe123 avatar Dec 25 '23 07:12 linchanghe123

FG actually works over serial interface and handles all the host requests as RPC over this serial (character) driver.

Such character driver is not present by design in NG. NG might take little different approach, still unclear. If nothing else effective or easy, we will fall back to FG way of OTA for NG.

If you need urgently, you can try FG upgrade and satisfy you, you can add youself, as NG upgrade may take some time. If you thing direct serial flashing (not OTA) works by the time, You can also stick with that for now.

NG OTA will definitely be supported, but might take considerable time.

mantriyogesh avatar Dec 26 '23 02:12 mantriyogesh