SDcard - heads up

General support questions and announcements for MS3. See also www.ms3efi.com for MS3 information

Moderators: jsmcortina, muythaibxr

SDcard - heads up

Postby jsmcortina » Sun Apr 29, 2012 1:11 pm

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 supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 28217
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: SDcard - heads up

Postby protomor » Sun Apr 29, 2012 4:59 pm

they sell 128mb SD cards?
-Yoshi-
protomor
Experienced MS/Extra'er
 
Posts: 367
Joined: Wed Feb 28, 2007 7:13 pm

Re: SDcard - heads up

Postby piledriver » Thu Aug 02, 2012 8:06 pm

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.
piledriver
Super MS/Extra'er
 
Posts: 1134
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: SDcard - heads up

Postby xrattiracer » Fri Aug 03, 2012 9:34 pm

probably, but not really practical with the infestation of windows machines nowadays...
xrattiracer
Experienced MS/Extra'er
 
Posts: 212
Joined: Fri Aug 01, 2008 2:25 pm

Re: SDcard - heads up

Postby piledriver » Fri Aug 03, 2012 11:19 pm

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.
piledriver
Super MS/Extra'er
 
Posts: 1134
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: SDcard - heads up

Postby jsmcortina » Sat Aug 04, 2012 4:35 am

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 supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 28217
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK


Return to MS3 General Support

Who is online

Users browsing this forum: mill383 and 3 guests