LPC54628 SD Card example not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54628 SD Card example not working

Jump to solution
673 Views
mateuszkiełbasa
Contributor III

Hi,

I'm trying to run `fatfs_sdcard` example from LPC54628 SDK. I\m running the example without any modyfications. When debugging mounting (f_mount) and selecting drive (f_chdrive) works fine. But when creating directory the program exits, beacuse the function returns code `FR_NOT_READY`. I have read some information and people say that maybe it's low level problem. I'm using 8GB KINGSTON class 4 SD card with adapter. It's the problem with the card? Maybe I have to format it properly? Now it's formatted using Windows as FAT32 module with default allocation unit. Maybe have I change something in the project?

Labels (1)
0 Kudos
1 Solution
568 Views
mateuszkiełbasa
Contributor III

Deleting f_mkfs function call solved the problem

View solution in original post

0 Kudos
2 Replies
568 Views
soledad
NXP Employee
NXP Employee

Hi,

thank you for share your solution. 

Have a nice day!

0 Kudos
569 Views
mateuszkiełbasa
Contributor III

Deleting f_mkfs function call solved the problem

0 Kudos