Micro SD Card issue
Posted: Fri Jul 28, 2017 4:18 pm
Hi guys, I'm trying to use the micro SD card with SPI for my system (a ESP32 DevKit from doit)
I've followed the wiring diagram and used the provided example code from this link but failed to get the card to work.
I tried the following ways (with either Arduino IDE or platform IO on VisualCode):
1. Using the Micro SD card module
2. Wiring the Micro SD card directly to the ESP32 (via a SD card adapter)
None of them work and I always get the error when mounting the cards, the result is as follows:
The platformio.ini file is:
I don't think the problem comes from the card because I tried with different ones.
So what should I do now to solve this?
Many thanks
I've followed the wiring diagram and used the provided example code from this link but failed to get the card to work.
I tried the following ways (with either Arduino IDE or platform IO on VisualCode):
1. Using the Micro SD card module
2. Wiring the Micro SD card directly to the ESP32 (via a SD card adapter)
None of them work and I always get the error when mounting the cards, the result is as follows:
Code: Select all
[W][sd_diskio.cpp:137] sdCommand(): no token received
[W][sd_diskio.cpp:137] sdCommand(): no token received
[W][sd_diskio.cpp:137] sdCommand(): no token received
[W][sd_diskio.cpp:479] ff_sd_initialize(): APP_OP_COND failed: 255
[E][sd_diskio.cpp:721] sdcard_mount(): f_mount failed 0x(3)
Code: Select all
[env:esp32doit-devkit-v1]
platform = espressif32_stage
board = esp32doit-devkit-v1
framework = arduino
monitor_baud = 115200
So what should I do now to solve this?
Many thanks