FATfs f_open function always returns FR_NO_FILESYSTEM

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Good morning,

i'm trying to run the  sd/mmc fatfs example coming with ASF for samd21 with no modifications, but the f_open functions always returns FR_NO_FILESYSTEM error. Iformatted the 8gb card FAT32 with windows 10. Im using atmel studio 7.

If i try to introduce the f_mkfs function he error becomes FR_DISK_ ERR.

I do not what to do.

Any hint will be appreciated.

 

Thank so much.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have the same problem but on SAM E70 Xplained board.

One way I found to work around the issue is to create an example with ASF 3.40.0. Even though it doesn't make use of f_mkfs it still works if you start the program with the SD card in. Looking at the diff of the examples show not that much difference so I'm unsure what fixes the issue.

 

I'm trying to verify HSMCI connections on a custom board but I can't seem to find how to get around FR_DISK_ERR and FR_NO_FILESYSTEM errors.