EmbDev.net

Forum: ARM programming with GCC/GNU tools chan's fat read problem at 4096 bytes


von Peter Staelens (Guest)


Rate this post
useful
not useful
Hi,

I'm experimenting with the chan's fat system on a sam7X.  I am reading a 
rather big file in segments in a buffer of 512 bytes, when the file 
pointer arrives at 4096 bytes the read stops and the clust long in the 
f_read function retrieved from the get_cluster function is 0xFFFFFFFF. 
anyone seen this before?

thanks,

Peter

von Peter Staelens (Guest)


Rate this post
useful
not useful
Looks like I was working on an old version, I'l port the latest version 
and see...

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.