I've been working with the following SOPC example
I've built and compiled a nios processor along with the SD card interface using IP from the university program. My nios design works and runs on a FPGA, because I can control some blinking LEDs with it. Where my C program fails is trying to detect an SD card. This is the function that fails it:
I understand that the drivers were meant for a 2 Gig SD card. Right now I'm using a 32 Gig SD card.
Have you tried using the 2GB SD card to see if it work correctly?
Based on the design example, the current version of the driver supports only FAT16.
Also, based on my knowledge, the FAT32 driver is commonly used in cards for 4GB and 32GB, so I am unsure if you are able to use the 32GB SD card for this example.
I have not tried using a 2GB SD card, because I don't have one laying around. So, is the answer to my question NO, there are no updated HAL drivers to interface with a 32GB SD card?
If the answer is NO, what steps can I can I take to begin to interface with a 32 GB SD card?
The 2GB is a FAT16 file format, and the 32GB or 4GB is a FAT32 file format. Unfortunately, I could not find any information regarding an update HAL drivers to support FAT32 file systems, thus I would have to say no.
You could check from Rocketboards to try ramp up on booting via SD card etc., (select your desired board and Quartus version, then the task you are interested in_: