Hi,
I ran into a issue with the SDFileSystem Library and I am not quite sure what is going on. It seems that if you have a SD Card formatted as FAT and try to read a file > 640K using the EOF marker that it quits when it reaches 640K. Is there a work around to this so that it will read a file past 640K ? I have tried it with the latest releases of the 4.xx Library
Thanks
FAT or FAT32
Moderators: David Barker, Jerry Messina
I forgot to mention that I am aware that FAT file size limitation is suppose to be 4GB. I am only seeing this using the SDFilesystem library, and when I stick my SD card into windows it sees the card and opens the file just fine. I am hoping it is just something silly I am doing.
Thanks
Limitations of FAT and ISO9660
As a information exchange format, FAT has these limitations:
The maximum file size is 4GB minus 1 byte, a serious limitation for video files.
The maximum volume size Windows XP can format is 32GB, very small compared to many removable hard drives.
Maximum about 4 millions files per volume.
Maximum 65,534 files per directory.
Does not support symbolic links.
Does not support hard links.
Does not support sparse files.
Does not support many attributes such as permission.
Does not support extended attributes.
Does not support long file names and unicode names natively.
Is not suitable for optical media.
Thanks
Limitations of FAT and ISO9660
As a information exchange format, FAT has these limitations:
The maximum file size is 4GB minus 1 byte, a serious limitation for video files.
The maximum volume size Windows XP can format is 32GB, very small compared to many removable hard drives.
Maximum about 4 millions files per volume.
Maximum 65,534 files per directory.
Does not support symbolic links.
Does not support hard links.
Does not support sparse files.
Does not support many attributes such as permission.
Does not support extended attributes.
Does not support long file names and unicode names natively.
Is not suitable for optical media.
Hi Steven,
I am pretty sure it is something stupid I am doing. Listed below is a sample code snippet that should work. I just wanted someone to give me a sanity check so I know where to go looking for my problem. I had switched over to the latest SD File Library, and started having issues. Unfortuneately I did not save the old SDFileSystem.bas file so I could not go back. Please take a look and let me know you agree I should be able to read past a filesize of 640K using the EOF marker.
Thanks
If SD.OpenFile("test.bin") = errOK Then
Repeat
ByteHolder = SD.ReadByte()
USART.Write(ByteHolder)
Until EOF
SD.CloseFile
I am pretty sure it is something stupid I am doing. Listed below is a sample code snippet that should work. I just wanted someone to give me a sanity check so I know where to go looking for my problem. I had switched over to the latest SD File Library, and started having issues. Unfortuneately I did not save the old SDFileSystem.bas file so I could not go back. Please take a look and let me know you agree I should be able to read past a filesize of 640K using the EOF marker.
Thanks
If SD.OpenFile("test.bin") = errOK Then
Repeat
ByteHolder = SD.ReadByte()
USART.Write(ByteHolder)
Until EOF
SD.CloseFile