Can someone please explain me the correct process for using PHY_INIT partition? I can set the flag CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION in idf.py menuconfig and also create the partition in the partition table. However, when flashing, a version of the PHYINIT is automatically saved to this position in the memory, although the documentation says otherwise.
https://docs.espressif.com/projects/esp ... ables.html
The additional flag CONFIG_ESP_PHY_DEFAULT_INIT_IF_INVALID is not set.
When starting the controller and loading the WiFi driver, I get the following entry via the LOG messages:
Code: Select all
I (1697) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
D (1707) phy_init: loading PHY init data from partition at offset 0xe000
D (1717) phy_init: PHY data partition validated
V (1857) wifi:ht20 freq=2412, chan=1
D (1857) wifi:filter: set rx policy=0
I (1867) wifi:mode : sta (24:0a:c4:da:da:dc)
I (1867) wifi:enable tsf
D (1867) wifi:filter: set rx policy=1
D (1867) wifi:connect status 0 -> 0
Furthermore, I have completely deleted (00) the area inside the PHY_INIT partition (except for the PHYINIT at the beginning and at the end) in the expectation that the values are useless and the driver cannot be loaded correctly.
The result of the LOG is the same as the previous one:
Code: Select all
I (1697) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
D (1707) phy_init: loading PHY init data from partition at offset 0xe000
D (1717) phy_init: PHY data partition validated
V (1877) wifi:ht20 freq=2412, chan=1
D (1877) wifi:filter: set rx policy=0
I (1877) wifi:mode : sta (24:0a:c4:da:da:dc)
I (1877) wifi:enable tsf
D (1877) wifi:filter: set rx policy=1
D (1877) wifi:connect status 0 -> 0
Is a default version now loaded in the background and no LOG message is generated?
I want to use this to make sure that the settings of all modules are the same as used for CE certification.
Have I misunderstood the procedure here or forgotten something?
My setup:
ESP32-WROOM-32D
ESP-IDF: v4.4
example project: wifi->station
BR