Page 1 of 1

fat16

Posted: Fri Jun 15, 2012 1:55 pm
by frankmortensen
why can I not write more than approx. 255 sectore (16KB) to an SD card ?
I've made a great program for logging 24 temperetursensore, I attach a small test file that also can not write more than the 255 sector ,although I try to write 600 sector?
6. Data_Logger_Sector_Fasttest.fcf
(14.56 KiB) Downloaded 389 times

Re: fat16

Posted: Fri Jun 15, 2012 2:51 pm
by frankmortensen
Maybe I should just write a bit more about hardware.
I use a ECIO40 Processor and a EB37 card my SD card is a Transcend SD 1GB ultra industrial.
and I use Flow Code versions, v4.5.18.74 pro

Re: fat16

Posted: Fri Jun 15, 2012 4:42 pm
by Benj
Hello Frank,

The FAT component in v4 had issues due to an issue converting bytes to longs and visa versa which means that at a file size of 16K there were issues.

We have fully fixed this issue in v5 of Flowcode so upgrading to this could be one option for you.

The other option is to customise the FAT16 component C file using code customisation or by editing the C file to give you the more reliable functionality.

Let me know what you want to do and I will help where I can.

Re: fat16

Posted: Sun Jun 17, 2012 9:51 pm
by frankmortensen
Thanks for answers
I just upgrade to v5, I would do it anyway, so it's ok.