I was getting started with tutorial – “ESP32: Guide to MicroSD Card Module using Arduino IDE”. When I attempted to compile and upload the sketch from the tutorial, it returned the following error message:
RNT_ESP32_Guide for MicroSD_Card_Module_using_Arduino_IDE.ino
In file included from C:\Users\Paul\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:67,
from C:\Users\Paul\Documents\Arduino\RNT_ESP32_Guide_for_MicroSD_Card_Module_using_Arduino_IDE\RNT_ESP32_Guide_for_MicroSD_Card_Module_using_Arduino_IDE.ino:5:
C:\Users\Paul\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.hpp:576:22: error: cannot declare field ‘EthernetWebServer::_server’ to be of abstract type ‘EthernetServer’
EthernetServer _server;
^~~~~~~
In file included from C:\Users\Paul\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.h:84,
from C:\Users\Paul\Documents\Arduino\libraries\EthernetWebServer\src/EthernetWebServer.h:58,
from C:\Users\Paul\Documents\Arduino\RNT_ESP32_Guide_for_MicroSD_Card_Module_using_Arduino_IDE\RNT_ESP32_Guide_for_MicroSD_Card_Module_using_Arduino_IDE.ino:5:
C:\Users\Paul\Documents\Arduino\libraries\Ethernet_Generic\src/Ethernet_Generic.hpp:532:7: note: because the following virtual functions are pure within ‘EthernetServer’:
class EthernetServer : public Server
^~~~~~~~~~~~~~
In file included from C:\Users\Paul\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32/Arduino.h:194,
from C:\Users\Paul\AppData\Local\Temp\arduino_build_329085\sketch\RNT_ESP32_Guide_for_MicroSD_Card_Module_using_Arduino_IDE.ino.cpp:1:
C:\Users\Paul\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32/Server.h:28:18: note: ‘virtual void Server::begin(uint16_t)’
virtual void begin(uint16_t port=0) =0;
^~~~~
Multiple libraries were found for “SD.h”
Used: C:\Users\Paul\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\libraries\SD
Not used: C:\Users\Paul\Documents\Arduino\libraries\SD-master
Not used: C:\Users\Paul\Downloads\arduino-1.8.18-windows\arduino-1.8.18\libraries\SD
Multiple libraries were found for “SPI.h”
Used: C:\Users\Paul\Documents\Arduino\libraries\SPI
Not used: C:\Users\Paul\Documents\Arduino\libraries\LGTSPI
Not used: C:\Users\Paul\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\libraries\SPI
This looks like a previous compile error with a differnt project; however that was resolved with a correction in the used library User_Setup file was not placed in the correct folder??????????
Hi.
What ESP32 board model are you using?
Make sure you update the ESP32 boards installation in your Arduino IDE.
Regards,
Sara
Well Sara, this is embarrassing; I had selected ESP32 DEVKIT V1 instead of ESP32 WROOM-DA Module???????
Yes and no? I was ablle to upload the sketch, but it returned the following message in the Serial Monitor:
18:37:22.807 -> Card Mount Failed
I am not sure what that means; does it think the Micro SD Card is not mounted in the Card Reader/Writer?
I followed the instructions on formatting the SD card prior to inserting it into the SD Card Reader/Writer. Attached is a screenshot showing the SD Card itself was listed on the explorer screen: ThisPC, BOOT(J)
https://imgur.com/a/ZTDjaGj
I tried uploading the sketch with out the SD Card Reader/Writer, the same response. There was no mention of downloading a driver for the SD Card Reader/Writer; could this be the problem?
Thank you for your patience with my newbe undertaking of such a project. You two are very good at teaching how to do those things we all want to do!
Paul
Just found this interesting discussion; looks like a few different things can effect the opereation of the SD Card Reader/Writer Module that could create the “Card Mount Failed”????
https://forum.arduino.cc/t/micro-sd-card-reader-only-works-with-some-sd-brands/1070258
Any suggestions?
I am using a 32GB Kingston Canvas Select Plus Micro card that appreantly is pre-configured?
I have ordered a Professional Ultra 16GB SanDisk to see how that works???????
Any suggestions?
Finally figured out the issue, the 3.3V was not sufficent, required 5.0V with the setup used in the tutorial.
I finally made contact with the SD Card Reader/Writer embedded on the Elecrow 3.5in. ILI9488 TFT Display using a 32GB micro SD card, no problem.
https://imgur.com/a/FFvwjgq