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 agoJust FYI, may be it help someone)
I could not fix UP SD_card interface, I tried this solution http://www.alteraforum.com/forum/showthread.php?t=28162&p=134801#post134801 , but not successful. So I refused to use UP_SD_card and replaced it by the FatFS library http://elm-chan.org/fsw/ff/00index_e.html. I have found Nios II example for Altera DE-1 board in here http://www.emb4fun.de/fpga/fatfs/index.html. There is no problems to port in on my custom board. Works perfect! Best Regards Sergey Burenkov