Title: Slow USB data logger [Print this page] Author: breckjensen Time: 2017-12-4 19:53 Title: Slow USB data logger Hello guys,
PIC 24FJ256GB106 MPLAB 8.92 MLA _v2013-06-15
Using 16GB Verbatim, formatted to 4096 Allocation Unit Size.
The FSconfig is set for #define MEDIA_SECTOR_SIZE 512.
After approximately 5MB of drive usage the opening and creating of files starts to take a long time. For instance a 304 byte file would take 2 minutes. There is no corruption of data, just really slow to complete the task.
When i replace the thumb drive with an empty stick of the same type and format, it saves the file as per normal.
I appreciate there's not much to go on here, but if anyone has seen anything like this, I can provide more info to discuss further.