Closed carterghill closed 2 months ago
Hi @carterghill! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
@marekmatej
hi @carterghill I see the same behavior on S2 boards and we are looking for the fix.
Unfortunately, this has not fixed things on my end it seems. After "west update" (and then blobs), I verified that the changes made were present in clock_control_esp32.c, west.yml, and loader.c, yet after building and flashing the wifi sample code, I get the same results as above.
@carterghill We confirmed that was an issue with ESP32-S2 Wi-Fi exactly as you described. However, the fix provide was good. Is there any other ESP32-S2 devkit board you could give a second try? Do you have any changes in prj.conf?
@carterghill We confirmed that was an issue with ESP32-S2 Wi-Fi exactly as you described. However, the fix provide was good. Is there any other ESP32-S2 devkit board you could give a second try? Do you have any changes in prj.conf?
No changes to prj.conf. I tested several of our devices, and I actually managed to find one that was able to get wifi scan results. This was a bit surprising to me, because wifi had been confirmed to work on our boards a while ago using arduino. I will try to confirm that myself on the boards that are currently not getting results with zephyr.
Might be a silly question, was the fix tested on Saola boards specifically? I know there are different varieties of the S2 but I don't know if the differences would be significant.
In any case, probably the best thing to do is figure out what the difference is with our one functioning board. Thank you for your help!
Describe the bug The WiFi interface seems altogether non-functional on the S2 chip. Running "wifi scan" in the shell returns no results, and any attempts to connect always fail, through the code or the shell.
Sometimes it will actually show one or two of the nearby SSIDs, but it doesn't happen often. I would say 99% of the time it returns no results at all.
To Reproduce Steps to reproduce the behavior:
We are using a custom board that is most similar to the saola board, so for the purposes of reproducing the bug on your end I would point to esp32s2_saola or maybe esp32s2_devkitc. I believe the only difference between our board and the saola is the uart pin output
Expected behavior
When compiling the wifi sample code for another esp32 device, the expected output is shown:
Impact This is a show stopper, we need our devices to have functioning wifi.
Logs and console output
Given the inconsistent nature of the bug (the fact that it SOMETIMES shows an SSID) has made us think it might be a memory issue, so here's some kernel information that may or may not shed some light on the issue for you.
Max allocated does go up after the first scan, and then stays the same afterwards.