Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Hello Tiakumosan! Thank you for your help! I was using a hardware from altera, but i couldn't get any response from sd card! So I create my own hardware (following the instructions from the PDF from University Program), and Its detecting the SD Card! Now I can use all the functions describe in the PDF! But... But I am having problems with the FAT16, because the Core isn't detecting correctly the FAT16 file system. The function "lt_up_sd_card_is_FAT16" always return false! How did you format your SD Card? I formatted a 128Mb using "cmd" in windows (format E: /FS:FAT /A:2048 /V:SDCARD), doing it I get 2048bytes in each allocation unity and 65536 allocation units. But I will need to store a large data, maybe I will need to use a bigger SD. PS: Im using the 11.0 Altera UP! --- Quote End --- I have a 256mb card and used MiniTool Partition Wizard Home Edition to format it. Although the card was opened correctly, alt_up_sd_card_find_next and alt_up_sd_card_read did not work right until I changed them, like I said earlier. alt_up_sd_card_is_FAT16 worked right here, only when I used fat32/exfat/ntfs cards it returned false, as expected.