Forum Discussion
Altera_Forum
Honored Contributor
11 years agoSD card HAL driver cannot write large files correctly
Hi I'm using UP sd card interface and it is worked perfect till I write small files - I can open it on my PC and read. But if file size is more than about 4K I get Windows error when I try to open...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Hi, As I mentioned above, "University Program SD Card IP Core" is not working correctly with files size more than 5 sectors. Also it have issues with big sectors size and big drive size. So I recommend to use FatFS. You can find Nios II example for Altera DE-1 board in here http://www.emb4fun.de/fpga/fatfs/index.html. Best Regards Sergey Burenkov --- Quote End --- Thanks for your help! But how can I modify the project for my DE2-115 board? Or is there any other less complicated method I can try? Thank you very much!