Skip to content

Upgrading to 2.0 breaks SD function #5701

Closed
@rayb12

Description

@rayb12

I just upgraded from 1.06 to 2.0 of the ESP32 Arduino core. Using 1.06 all Sd functions were working properly. After upgrading to 2.0 SD fails to begin. This is a custom board and SD is connected as per the standard SD connections (as in the picture in the Sd library folder).

I copied the Sd example from the Sd library here and it does the same thing, fails to mount SD card.
As a test, I switched back to ver# 1.06 and all SD functions work properly again. Am I missing something?

I searched this forum but could not find anything specifically related to my problem. I'm using the SD library, not the SDMMC library.

System: Arduino IDE
Board Selected in Arduino IDE: ESP32 Dev Module

Code:
if(!SD.begin(){
Serial.println("Card Mount Failed");
return;
}
Code above always returns failed.
I also tried the following code:
if(!SD.begin(5){
Serial.println("Card Mount Failed");
return;
}
I also changed SD cards just in case, but still same problem.

Hope this is enough info. Any help is greatly appreciated!!!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions