Page 1 of 1

SDcard - heads up

Posted: Sun Apr 29, 2012 1:11 pm
by jsmcortina
Working on the SDcard code today for a new feature for the 1.1 code I found something.

If a small capacity card (128M in this case) is formatted with FAT32 instead of FAT then the card will be in such as state that the MS3 can only write a small number of files to the card. This card started with a limit of only 16 files, a second format gave it 32. Formatting as FAT instead allows 512 files.

Technically this is due to the way the MS3 SDcard code accesses the card. I need to work with Phil to get a way to make this file number limit visible in TunerStudio.

The new feature auto-erases the oldest log on the card if the directory is "full." (NB, the MS3 can consider it full even if it isn't due to the complexity of reading FAT32 directories.)

James

Re: SDcard - heads up

Posted: Sun Apr 29, 2012 4:59 pm
by protomor
they sell 128mb SD cards?

Re: SDcard - heads up

Posted: Thu Aug 02, 2012 8:06 pm
by piledriver
A fully documented filesystem like EXT2 never an option?

Re: SDcard - heads up

Posted: Fri Aug 03, 2012 9:34 pm
by xrattiracer
probably, but not really practical with the infestation of windows machines nowadays...

Re: SDcard - heads up

Posted: Fri Aug 03, 2012 11:19 pm
by piledriver
There are ext2/ext3 drivers for windows... just sayin.

Another robust option might be a big raw tar archive, it was made for serial seeking, after all. (Tape ARchive)
Just observations, seems to work fine, or will once I can lay my hands on a RTC.

Then I'll get it in the car and replace my current MS2 sequential setup.

Re: SDcard - heads up

Posted: Sat Aug 04, 2012 4:35 am
by jsmcortina
Using FAT means that the files can be read on pretty much all systems with zero drivers required.

If you want to try the EXT2/3 route on your MS3 then you have the source and can try it.

James