This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sd card mounting using FATFS example

Hi,

I am  using NRF 52840 DK ,rev.1.0.0(2018.36).For development using  ubuntu 14 machine and segger IDE. Trying to use fatfs example with Transcend 4GB AND 8gb micro sd HC FAT32 formatted.But Always getting console output like below

info> app: FATFS started.
<info> app: Initializing disk 0 (SDC)...
<info> app: Capacity: 30 MB
<info> app: Mounting volume...
<info> app: Mount failed.ERROR CODE: 13.

error code 13 is FR_NO_FILESYSTEM.--There is no valid FAT volume,but cards are formatted with FAT32.

Also noted for different capacity sd cards,as always giving 30MB as Capacity.Also mount failed error.I did made changes to NRFX_SPIM_MISO_PULL_CFG  and frequencies.

Board details:

NRF 52840 DK ,rev.1.0.0(2018.36)

IDE:SEGGER Embedded Studio for ARM V4.1

sdk:nRF5_SDK_15.2.0_9412b96

Result is always same.Please help me to proceed further.Attaching connection picture

.board connection

Thanks,

Sam

Related