SDcard - heads up

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

Post Reply
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

SDcard - heads up

Post 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
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
protomor
Experienced MS/Extra'er
Posts: 367
Joined: Wed Feb 28, 2007 7:13 pm

Re: SDcard - heads up

Post by protomor »

they sell 128mb SD cards?
-Yoshi-
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: SDcard - heads up

Post by piledriver »

A fully documented filesystem like EXT2 never an option?
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
xrattiracer
Experienced MS/Extra'er
Posts: 301
Joined: Fri Aug 01, 2008 2:25 pm

Re: SDcard - heads up

Post by xrattiracer »

probably, but not really practical with the infestation of windows machines nowadays...
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: SDcard - heads up

Post 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.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: SDcard - heads up

Post 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
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Post Reply