2016-07-11 02:27 AM
Hi All
I am Using STM32F207VC And Micro SD Card With SDIO Interface And Fatfs Library When I Debug And Trace Code, SDIO Routine Response This Error: /*!< Card is not V2.0 complient or card does not support the set voltage range */ What Is Mean? What Do I Do For debug This Error? #fatfs #sdio #sdio #stm32f207 #dma-config-for-sdio2016-08-08 01:25 PM
Hi,
A possibility is that if the disk has not been formatted, e.g. f_mkfs not been called, then f_open will not find a filesystem and will return the error you have.
Al
2016-08-08 02:06 PM
That is a possibility, but I think it is more probable that there is read issue with the MBR or BPB sectors. One could confirm the viability of the card in a PC, but most come preformatted. One could also inspect the data read from sector 0 and subsequent traversal of the partition table.
I've always recommended proving the SDIO layer out prior to integration with FatFs and the use of instrumentation to understand what is going on where.