cancel
Showing results for 
Search instead for 
Did you mean: 

FR_NO_FILESYSTEM, (13) There is no valid FAT volume

NOVAL_______BOBY
Associate

res = disk_initialize(0);

printf("disk_initialize returned: %d\n", res);

if (res != RES_OK) {

printf("Disk initialization failed!\n");

v = 8;

} else {

fres = f_mount(&fs, "", 1);

printf("mount returned: %d\n", fres);

if (fres == FR_OK) {

printf("Filesystem mounted successfully!\n");

v = 5;

} else {

printf("Filesystem mount failed!\n");

v = 9;

}

}

 

got intiailization correct and i tryed f_mks and format the flash ic .

but still occur filemount issue. got no idea where the issue come from . no bug or error .
i see this on debug window

Thread #1 [main] 1 [core: 0] (Suspended : Signal : SIGINT:Interrupt)
main() at main.c:135 0x80003a4
i am using nucleo f302r8 board and w25q64 winbond flash ic

anyone have any idea?

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

Yes. Read here in forum -> search ... sd

& also my posts, how to begin and avoid basic errors/problems .

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
AScha.3
Chief III

Yes. Read here in forum -> search ... sd

& also my posts, how to begin and avoid basic errors/problems .

If you feel a post has answered your question, please click "Accept as Solution".

i dont get it .

see: your not the first, to have this problem. 

So look, what are the steps, to get it working: correct hardware setup, etc.

 

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=sd

-> 4,000 results !  a lot to read...

 

Its "normal" - in my sd-card tests it never worked instantly , just by connecting some wires and any sd-adapter.

So "standard" is not working, at start...

If you feel a post has answered your question, please click "Accept as Solution".