-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
[WiFiGeneric.cpp:715] espWiFiStart(): esp_wifi_start 257 (IDFGH-8777) #10209
Comments
hello, @kraa965, can you provide more details? like whic which chip, the IDF version and the error log |
Chip: esp32dev I uploaded the access point data to the wificonfig.json file, the data is read, but when they get into wifi.begin(witiconfig.ssid, wificonfig.password), the espWiFiStart() error appears: esp_wifi_start 257, and a hang occurs |
@Xiehanxin I calculated the memory it turned out like this
but now this error occurs, I used to fix it with TFT_eSPI v2.3.70, and now it has reappeared, I don't know how to fix it
|
I was able to achieve a little success, now at least it does not crash when starting wifi, but I still get an error
updated the sections, now it looks like this
can you tell me what else I need to fix so that wi-fi starts running? |
hi @kraa965 , I'm not sure what exact memory you need, but it seems you even don't have the enough memory for RX buffer, you can print the remain memory when you start the wifi? you can use ESP.getMinFreeHeap or esp_get_minimum_free_heap_size() at when you start wifi to get it. |
hi @Xiehanxin
the esp_get_minimum_free_heap_size() function shows
I have BLE running all the time, when I click on the screen, BLE stops and the access point with the web server starts CODE:
|
hi @kraa965 sorry for late reply, I think it is caused that your BLE running all the time which take too much memory. can you provide your sdkconfig? maybe you divide much resource to the wifi, what's more, you can use esp_get_free_internal_heap_size to get internal free heap which is allocated for wifi |
@Xiehanxin thanks for the solution with ble |
when starting wi-fi in STA mode, it tries to connect, but freezes, tell me, what could be the problem?
The text was updated successfully, but these errors were encountered: