Skip to content

STEVAL-MKSBOX1V1 SDIO broken under STMduino STM32SD 1.3.0; works under 1.2.3 #60

Closed
@gemelko

Description

@gemelko

A new project that I created using the STM32duino STM32SD library would not access any SD card on the sensortile box (STEVAL-MKSBOX1V1). I also had a previous project which used to work however was now failing.

So then tried several of the included examples (listfiles, CardInfo, etc) and I found that none of them worked either. It does one of two things: hangs for a long time then fails on the SD.begin() call, or in the case of CardInfo, it sometimes passes the card.init() call but then fails the fatFs.init() call and reports that the card is not formatted. I tried this with several different SD cards, formatted to either FAT16 or FAT32: all had the same problem.

I realized that I had upgraded to library version 1.3.0 recently, and so I removed 1.3.0 and installed 1.2.3. Now all of the examples and my code work properly for all cards. I did not dig into the library or causes any further.

Glenn

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions