Not yet, one of our guys has taken the unit away to make some measurements.= I should have it back in a few weeks. Thanks for the hint, Joe ________________________________________ From: piclist-bounces@mit.edu [piclist-bounces@mit.edu] On Behalf Of Tamas = Rudnai [tamas.rudnai@gmail.com] Sent: 28 March 2013 23:34 To: Microcontroller discussion list - Public. Subject: Re: [PIC] Partitioning an 8GB USB drive for use with Microchip Mem= ory Disk Drive File System Hi Joe, I have not use this library, but according to Microchip MDD: "Provides a method of interfacing to files and directories on FAT12, FAT16 and FAT32 file systems" http://www.microchip.com/stellent/idcplg?IdcService=3DSS_GET_PAGE&nodeId=3D= 2680&dDocName=3Den537999 Have you tried to format that SD to FAT32, and use the SUPPORT_FAT32 option and then "see what happens" ? Tamas On 28 March 2013 02:17, Joe McCauley wrote: > I've built system based on a SURE electronics clone of the PIC24F starter > kit & starter kit code. The program writes ASCII data to a USB flashdrive > at one second intervals. While it behaves well with a 2GB USB drive > installed, if I use an 8GB drive which has been partitioned down to 2GB a= nd > formatted as FAT16, I randomly get garbage written to the logging file > (when I look at the data, I see mostly the data that should be present, b= ut > with random blocks of 'binary'). Sometimes the drive becomes unreadable. > > I used EaseUS partition master to do the partitioning. > > I'm using the Microchip Memory Disk Drive File System to write to the > flash drive. My understanding was that that would only work with FAT16 > drives, but I see on the website that it claims to work with FAT32. Has > anyone used this library successfully with large FAT32 USB drives? > > Thanks for any pointers, > > Joe > > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- int main() { char *a,*s,*q; printf(s=3D"int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .