Page 1 of 1

SDFileSystemVersion2 missing?

Posted: Thu Jan 31, 2008 3:39 pm
by dman776
What happened to the wiki User Module section: SDFileSystemVersion2 ??

All I get is a blank page.

Posted: Thu Jan 31, 2008 5:12 pm
by David Barker
There seems to be a problem with the code beautifier for large code blocks. I'll see if I can fix it. In the meantime, I've uploaded the SDFileSystem as a *.zip file which you can download.

Posted: Thu Jan 31, 2008 5:57 pm
by dman776
Thanks David. It's looking good now. that was quick!

Posted: Thu Jan 31, 2008 6:05 pm
by Steven
I'll have version 3 up on the wiki in the next few days, so watch this space. The main improvement is the ability to use SDHC cards also (although still only those reformatted with FAT16). It also uses improved code for initialising the card, using the SD specific commands.

New features include a function to obtain card type (MMC/SD/SDHC), and one to obtain the serial number from the CID register of the card.

It will definitely be a BETA with limited testing though, so be warned... Keep a copy of the old version!

Regards,

Steve

P.S. Code size is higher, due to more complex Init routine, but maximum read/write speeds using MSSP for SPI are slightly improved if that's a pay-off!!

Posted: Thu Jan 31, 2008 6:21 pm
by David Barker
Steven

Just a quick note - I split the SD library code

=code [=
...
=]

markers as it appears anything over (approx) 100K stuffs the wiki beautifier. When you post an update, just do the same...

Posted: Thu Jan 31, 2008 6:43 pm
by Steven
Thanks Dave. Perhaps it would make sense for me to leave the new version as a zip download only?

Posted: Thu Jan 31, 2008 6:59 pm
by David Barker
It's entirely your call...It's easy to copy, even when the tags split the code

Posted: Thu Jan 31, 2008 11:02 pm
by dman776
ok, I must be blind..
(i know... I can't tell the diff between <> and = ) right Steven!

Where is the zip file download of the SDFileSystem module?
I don't see any downloads on the Wiki.

Posted: Thu Jan 31, 2008 11:19 pm
by Steven
I think that Dave has replaced it with a fixed version of the code in the wiki page itself - simply copy and paste the code into a new file and save as SDFileSystem.bas in your user directory.

Posted: Sat Feb 02, 2008 3:06 am
by ohararp
Steven, Holy %@#$%#@....you are the man! SDHC and from a previous thread possibly FAT32? Pretty amazing...keep up the great work!

Posted: Sat Feb 02, 2008 7:53 am
by Steven
And maybe even multiple file support after that... Thanks Ryan. :wink:

Posted: Sat Feb 02, 2008 7:49 pm
by dman776
Steven!

YOU...

ARE...

THE...

MAN!


;-)

Posted: Fri Feb 15, 2008 9:54 am
by Steven
Just an update for those interested: it's taken me longer than I first thought to implement FAT32, but I'm nearly there now. A new version of the SD module will be available soon with FAT32 and support for SDHC cards.

Regards,

Steve

Posted: Fri Feb 15, 2008 2:22 pm
by ohararp
Steven,

I am always up for any beta testing if you need help.

Posted: Fri Feb 15, 2008 3:08 pm
by Steven
Thanks, that would be very much appreciated - I'll hopefully get you a copy of the new module in the next few days.

Steve