Recording Application on USB Lost Data
Hello. I am a new programmer on an embedded Linux project. I have an application we add to the image that records Audio and Video. It works great on USB sticks 2GB or less (FAT16) but it drops some audio frames on larger USB sticks (FAT32). It looks like sometimes the writes to the USB are momentarily blocked causing lost audio data not being read in time. Has anyone any ideas on what the problem could be? On the FAT32 sticks the block sizes are smaller and the allocation table is much larger, could it be a cache problem? I am new to Linux so can someone explain how to increase the cache on embedded Linux or provide any ideas on what the problem may be? Any help greatly appreciated.