Forum Discussion
Altera_Forum
Honored Contributor
13 years ago65536 allocation units requires FAT32, the max for FAT16 is a few less than 2^16 (0, 1 and 0xffff are definitely reserved).
The maximum allocation unit size is 64k (but has been 32k - signed byte issues!), so the max size of a FAT16 fs is somewhat larger. OTOH the altera code mught not support large allocation units (or might require too many allocation-unit sized buffers for the memory footprint). You might be able to use a raw partition to store the data. But reading them on windows might be 'tricky'. Keeping a small FAT partition might help the OS keep the USB stick active. The FAT fs format is also quite well documented, updating the FAT16 code to support FAT32 instead probably isn't that difficult. Even writing it from scratch isn't that hard.