Closed TahaNokia closed 1 year ago
@TahaNokia - Does it work correctly when the sketch is simplified to only use the SDCard (no WiFi)?
@SuGlider - Yes, it does work without wifi
@P-R-O-C-H-Y - Can you please take a look at this issue? Thanks!
Hi @TahaNokia, I have no issues to run both WIFI + SD card as your example.
I just did not use any of external libraries so I edited:
ESP32WebServer server(80);
to WebServer server(80);
and included:
#include <WebServer.h>
#include <ESPmDNS.h>
Log from serial output:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13964
load:0x40080400,len:3600
entry 0x400805f0
Initializing SD card...Card initialised... file access enabled...
HTTP server started
any updates @TahaNokia?
Closing as expired, if needed you can reopen. Thanks.
I encountered a similar issue, and it appears that it is only not working when launching an access point:
WiFi.softAP("FHD", "123456789");
The SD card functions well as long as no AP is used. Do you have any idea what's going on here?
Board
ESP32S
Device Description
Hardware Configuration
define SCK 18
define MISO 19
define MOSI 23
define CS 5
Version
latest master (checkout manually)
IDE Name
Arduino
Operating System
Windows 10
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
11520
Description
I am using the microSD card module with esp32s, it is well work but when connect the esp32s to server wifi in the same code the micrSD card disconnect. Can you tell me why and how to Solve it.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide