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

von Peter Staelens (Guest)

Rate this post
0 useful
not useful

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?



von Peter Staelens (Guest)

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


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.