Posted: Sat Jul 27, 2013 8:33 am Post subject: AVR-DOS max
Hi
Anyone know what the maximum number of files are in the root of an SD card for AVR-DOS to be able to handle?
And maximum file size for a text file to open for append?
Joined: 17 Jun 2004 Posts: 269 Location: Austria, Hard
Posted: Sat Oct 26, 2013 7:59 pm Post subject:
Hi,
in the root-directory of a FAT16, you have a maximum of 512 directory entrys. This limit is defined in the Partition Boot sector. In a FAT16 subdirectory there is a limit of 65535 (2^16 - 1) entries. This Limit depends of the type of the directory entry pointer used in AVR-DOS and can not be increased.
On a FAT32 Partition you have in all kind of directories (Root and Sub) the limit of 65535 entries like the FAT16 Subdirectory.
Please take into account, that long-File-Name Entries will use more than one Directory-Entry depending on the length of the file-name.
So if you use a card with files created on a PC, there a normally more Directory Entries used, than the count of file names. _________________ regards Josef
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum