Documentation for DFATFS/DFILE?

Post Reply
GrahamM242
Posts: 65
Joined: Fri Feb 21, 2014 6:48 pm

Documentation for DFATFS/DFILE?

Post by GrahamM242 » Fri Nov 18, 2016 7:05 pm

Hi all,

Other than reading the code, is there any documentation for DFILE?

Ta!

User avatar
majenko
Site Admin
Posts: 2165
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Documentation for DFATFS/DFILE?

Post by majenko » Fri Nov 18, 2016 8:38 pm

Code and examples basically I'm afraid.

Oh, and behind it all is FatFS: http://elm-chan.org/fsw/ff/00index_e.html which can give you clues about how it works under the hood.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

GrahamM242
Posts: 65
Joined: Fri Feb 21, 2014 6:48 pm

Re: Documentation for DFATFS/DFILE?

Post by GrahamM242 » Sat Nov 19, 2016 11:50 am

Thanks - took me a little while to realise I need to pass fsread the max number of sectors to read as well as number of bytes to read! I wondered why when I went over 512 bytes it stopped liking me. :)

Post Reply