Hi Casper
There are quite a few tickets here on DevZone on SD card formatting. Please check out the following tickets:
FatFS not working in nRF52840 (fixed by formatting).
Using exfat micro SD card .
The FatFs example not working in SDK v14…
Dear ,
With nRF connect SDK, is there a way to check if the SD card is formatted with the correct file system, i.e. FATFS? If it's not in FATFS, how can we format it via the program (NOT from PC via USB)? I can see relevant posts using nRF52 SDK but…
Okay, the pin configuration and voltage should be fine then
Is the SD card formatted (FAT32 or FAT)? What value does the disk_state have in main.c at the point when the "Disk initatilzation failed" message is printed? Try comparing this to the values…
I also checked the SD card is formatted OK (MS-DOS (FAT16)) and that I can write to it via PC.
I have two SD cards and get the same error with both and they take 3.3v not 5v.
Hi Rakshita,
Could you verify whether your sd card is formatted and working correctly? Maybe verify this by using the sd card in another device. This is just because the error SDMMC -116 may suggest a sd card issue or that the sd card is not accessed…
Hi,
I'm trying to reproduce the fatfs example on a nrf52840 DK and Sandisk micro SD card that's plugged into a Sparkfun Transflash breakout board. I can't seem to mount the micro SD card in the sample example (I've confirmed that the micro SD card is…
Hi All,
I'm trying to interface a SD Card with nRF52840 DK.
I've got a SD Card socket and a FAT32 formatted 8GB sd card.
When I run, fatfs example , I get following error
<info> app: FATFS example started. <info> app: Initializing disk 0 (SDC…
Hello,
What I don't understand is that the issue is always related to the reply from the SD card reader, meaning that either the issue is from the SD Card reader itself, or it is an issue in the SD card (SD card worn out?).
Or do you mean that there…
Hi Einarh,
I took the lsdir function from ncs example "fat_fs". So I guess it should be alright. I am using this function basically just to create some traffic on the SD card to recreate the bug. You can use any other SD card call to get that error…
Hi,
I am using adafruit micro-sd breakout board and kingston micro sd card 8GB which is formatted to FAT32 Filesystem.
Connections are as follow:
SCK (Pin 11) -> CLK
MOSI (Pin 12) -> DI
MISO (Pin 13) -> DO
CS (Pin 10) -> CS
Picture of the…