-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-C6 WiFi Station Error (wifi:m f null
) (IDFGH-13991)
#14817
Comments
wifi:m f null
)wifi:m f null
) (IDFGH-13991)
Looking at other similar issues, there was a suggestion in #11615 (comment) to log the result of
This provides the following results which show free memory usage stabilizing to ~252 KB:
|
@fuzeman |
Thanks for the response. See the statis dump below. Note that this is esp-idf v5.3.1 with the
|
Out of interest, I've also captured a statis dump from esp-idf v5.2.1 with power-save disabled (e.g. esp_wifi_set_ps set to
|
Are there any more details or tests which would be helpful to resolve this issue? Do you think it's related to the access point configuration? Also, note that these issues aren't present in another project instead utilizing the ESP32-S3, so at this stage, it appears to be specific to the ESP32-C6. |
Answers checklist.
IDF version.
v5.3.1
Espressif SoC revision.
ESP32-C6 (QFN40) (revision v0.0)
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
ESP32-C6-DevKitC-1
Power Supply used.
USB
What is the expected behavior?
WiFi Station connects to an Access Point and continues operating normally without errors.
What is the actual behavior?
WiFi Station connects to an Access Point, receives an IP Address , and after a 30 seconds starts logging "wifi:m f null" continuously blocking other tasks from operating.
Steps to reproduce.
examples/wifi/getting_started/station
with ssid + password, and upload to board.wifi:m f null
to start being printed.Debug Logs.
More Information.
I've tested various wifi configurations and versions of esp-idf to narrow down this issue and discovered
esp_wifi_set_ps
may have some impact on this issue, with esp-idf <= 5.2.1 working as long asWIFI_PS_MIN_MODEM
orWIFI_PS_MAX_MODEM
is used.Noticeably esp-idf v5.3+ has a longer delay (30 seconds) before this issue presents allowing STA_GOT_IP to be emitted, but
esp_wifi_set_ps
has no effect with all power saving modes eventually returning the samewifi:m f null
errors.(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
(m f null, wdt)
#12488, #12464, #11615 report similar
wifi:m f null
issues, but all appear to have fixes implemented or were caused by memory exhaustion outside of the esp-idf framework.The text was updated successfully, but these errors were encountered: