- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am Using cy8ckit-059 kit. I want to read/write data from a file present in the SD card. for that I am using FATfs file system.
I am trying one example from here
https://github.com/hackingchips/PSoC_FatFs/tree/master/Examples/PSoC5LP_FatFs
But I am getting this error
error: (FR_NOT_READY) sdcard not ready.
has anyone used FATfs library for ( micro SD card ~8gb) ? or is there any working example available with Fatfs file system
Please suggest me to resolve this error.
Thanks
Solved! Go to Solution.
- Labels:
-
PSOC5 LP MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Abhi-san,
I tried with a 8GB micro-sd card and got
==================
PSoC FatFs. PSoC 5LP FatFs Test/Demo.
Hacking Chips. 12/2015.
(A) - Show 'root' directory listing.
(B) - Create directories, create files.
(?) - Show menu.
Select test :>a
error: (FR_NOT_READY) sdcard not ready.
==================
Then I tried with a 4GB micro-sd card and got
==================
Select test :>A
Volume label: USB4G
SPOTLI~1 <DIR>
FSEVEN~1 <DIR>
TEMPOR~1 <DIR>
HELLO.C 87
_HELL~1.C 4096
Total sectors: 7764032
Free sectors: 7758592
Drive space: 3882016
Free space: 3879296
==================
So, I would think that the program (or hardware?) is not supporting a 8GB micro-sd card.
Please try with one which is 4GB or smaller.
Best Regards,
9-Jan-2021
Motoo Tanaka