- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have an Altera Cyclone V gx starter kit board, and I wanted to test some of the demonstrations provided. One of them, C5G_SD_DEMO, is supposed to provide an example of how a micro-sd card is read. I have a 2gb micro-sd card, that says it is a FAT32 File System when I connect it with my PC. However, when I try to run the .bat demo, I get the following error: [FAT]the partition type(12) is not supported. [FAT]Fat_Mount fail Failed to mount the SDCARD! Please insert the SDCARD into C5G board and press KEY3. This partition type comes up from one of the .c files included in the example, with the following code snippet: // check file system FirstPartitionEntry = 0x1BE; //PartitionType = szBlock[FirstPartitionEntry + 4]; PartitionType = szBlock[0x01C2]; if (PartitionType == PARTITION_FAT16){ FAT_DEBUG(("FAT16\n")); }else if (PartitionType == PARTITION_FAT32){ FAT_DEBUG(("FAT32\n")); }else{ FAT_DEBUG(("the partition type(%d) is not supported.\n", PartitionType)); return FALSE; // only support FAT16 in this example } So, does anyone know what I can do? Keep in mind, with my previous DE0 board, reading a regular (not micro) sd card, that was FAT16 format, I was able to do that succesfully using University Program IP cores. So, I am somewhat confused as to why this demo is not working with a micro-sd card.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone knows a solution to this? I have formatted a 16GB micro SD card to create a a sole 500MB FAT16 partition (ignoring remaining space). I am using a micro SD adapter to put it into the DE2 115 board. However, I get the "Failed to mount the SDCARD!" message. Pressing Key 3 just prints the same message again.
What is the workaround for this?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know this has been a year ago, but has anyone found a solution to this? I'm having the exact same problem. Seems like a lot of questions on this forum go unanswered.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page