I was able to successfully complete all of Module 1. I am not sure how to diagnose or work-around this issue.
What I see in the Serial monitor:
Initializing the camera module…Ok!
Initializing the MicroSD card module… Starting SD Card
E (1534) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
SD Card Mount Failed
End of Setup
Any ideas?
Hi.
What is the microSD card that you’re using?
Did you format your microSD card as FAT32 before starting?
Regards,
Sara
Hey Sara – thanks for the reply.
I am using a FAT32 formatted SanDisk 512 mb. However, I am getting this same error if there is no card in the device.
I thought from the code – which makes 2 checks – one to mount the SD card, and one that checks its cardType that I would get a different answer if there was no SD card present.
I should be receiving some new SD cards today sometime, and I will retest with those.
Any idea what I am doing wrong?
Thanks,
- Billy
Hi.
I’m not sure…
Can you check the SD card with this example sketch?
https://raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/ESP32/MicroSD_Card/ESP32_SD_Test_Pins.ino
You only have to modify the following lines with the pins used by the microSD card:
#define SCK 17 #define MISO 19 #define MOSI 23 #define CS 5
I hope this helps figure out what’s wrong.
Regards,
Sara
Hi,
Have you tried “SDFormatter” to format your SD card?
Suggest reading: “Format Large SD Cards FAT32”
Author of the article has used up to 64 GB. Let us know if you are successful using full capacity of your 512 GB card.
I believe; “Microsoft” FAT32 has a limit of 32 GB. FAT32 may have a limiting size of 32 GB formatted.
Regards,
William