Troublshooting ESP32-S3 WiFi AP

Will_L
Posts: 2
Joined: Tue Nov 07, 2017 7:10 pm

Troublshooting ESP32-S3 WiFi AP

Postby Will_L » Tue Dec 05, 2023 7:45 pm

Having trouble getting a WiFi Access Point to work on a custom S3 board. Identical code on an ESP32-S3-DevKitC-1U works fine. Looking for any suggestions on ways to troubleshoot either hardware or software.
  1. #include <Arduino.h>
  2. #include <WiFi.h>
  3.  
  4. const char *ssid = "ESP32";
  5. const char *password = "PASSWORD";
  6.  
  7. void setup() {
  8.     Serial.begin(115200);
  9.     Serial.println("Configure access piont");
  10.     WiFi.softAP(ssid, password);
  11.     IPAddress myIP = WiFi.softAPIP();
  12.     Serial.print("AP-IP Address");
  13.     Serial.println(myIP);
  14. }
  15.  
  16. void loop() {
  17. }
Development is PlatformIO running on top of Visual Studio Code for editing/building, then flashing using the "ESP32S3 FLASH DOWNLOAD TOOL V3.9.5" utility. For the dev kit I'm using the same source code as above but build/flash using the Arduino 1.8.19 IDE.

Code appears to run fine based on serial prints, but the AP never shows up for either my Windows or Ubuntu laptops. Same code on the dev kit shows up just fine.
  1. ESP-ROM:esp32s3-20210327
  2. Build:Mar 27 2021
  3. rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
  4. SPIWP:0xee
  5. mode:DIO, clock div:2
  6. load:0x3fce3808,len:0x3ac
  7. load:0x403c9700,len:0x9b4
  8. load:0x403cc700,len:0x2908
  9. SHA-256 comparison failed:
  10. Calculated: c0cf91409b6e8a9ebb3be9aa4bc24145a18278e6c7411fcfc5fd4816f574b49b
  11. Expected: ccbdf521f90ffa902a0f72b4d1bdaa90e077361003a1c152131c93a62b8a7c0e
  12. Attempting to boot anyway...
  13. entry 0x403c98bc
  14. E (233) esp_core_dump_flash: No core dump partition found!
  15. E (233) esp_core_dump_flash: No core dump partition found!
  16. Configure access piont
  17. [   273][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 0 - WIFI_READ
  18. Y
  19. [   316][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 10 - AP_START
  20.  
  21. [   321][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 11 - AP_STOP
  22. AP-IP Address192.168.4.1
  23. [  1064][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 10 - AP_START

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: Troublshooting ESP32-S3 WiFi AP

Postby lbernstone » Wed Dec 06, 2023 4:36 am

Is the module mounted on a corner with the right side of the antenna exposed, and nothing underneath it? A quick read through the design guide is a good idea before making a custom board.
Are you able to connect out as a STA to an AP? What sort of RSSI do you get if you run a scan?

Who is online

Users browsing this forum: No registered users and 75 guests