Altera_Forum
Honored Contributor
14 years agoSD-CARD reads first few files correctly, then the remaining wrong!
Hi,
I have used the SD-CARD music player example from the DE2-70 CD to read files from the SD-card, it reads the first few files correctly, when I attempt to read the 4th or 5th files the data loaded into memory is wrong. I have tried to read the same file multiple times, the first couple of times it is read correctly, the third and on are wrong !! Sometimes the first 3 or 4 reads are correct then it goes nuts!! What could be the problem? P.S. opening files, reading files always return success as TRUE The SD-CARD is formatted as FAT16 with default allocation size in Windows 7 64-bit! Thanks