Sd file system speification.
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Sd file system speification.

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
tedlawson@gmail.com
Guest





Posted: Sat Dec 18, 2004 4:24 am    Post subject: Sd file system speification. Reply with quote

Hello,

I am working on interfacing an SD card to a microcontroller.
I need to read the SD card filesystem speicification v1.01. If anyone
of you has it , could you please post it or email it to me ?
I would be grateful to you for the same.

Thanks in advance,
Ted
Back to top
dmm
Guest





Posted: Sat Dec 18, 2004 4:39 am    Post subject: Re: Sd file system speification. Reply with quote

On 17 Dec 2004 15:24:53 -0800, "tedlawson@gmail.com" <tedlawson@gmail.com> wrote:

Quote:
Hello,

I am working on interfacing an SD card to a microcontroller.
I need to read the SD card filesystem speicification v1.01. If anyone
of you has it , could you please post it or email it to me ?
I would be grateful to you for the same.

Thanks in advance,
Ted

Check out my last post to this ng. It has the websites for information
pertaining to SD cards.
Back to top
tedlawson@gmail.com
Guest





Posted: Sat Dec 18, 2004 4:54 am    Post subject: Re: Sd file system speification. Reply with quote

Hello,

I coudnt find the "Filesystem specification" in your postings. although
the files in your last posting were useful.
If you know where it is, could you post ti here?

Thanks in advance
Back to top
dmm
Guest





Posted: Sat Dec 18, 2004 7:56 am    Post subject: Re: Sd file system speification. Reply with quote

On 17 Dec 2004 15:54:36 -0800, "tedlawson@gmail.com" <tedlawson@gmail.com> wrote:

Quote:
Hello,

I coudnt find the "Filesystem specification" in your postings. although
the files in your last posting were useful.
If you know where it is, could you post ti here?

Thanks in advance

Look for a document on the Sandisk website called
"SDDK-05.R1.doc". It describes the SDDK for the SD driver
and filesystem used on the SD cards. It describes the functions
of the various libraries in the DDK, however does not give
any source code to those libraries. I priced the cost of the
full SDDK-05 early this year, and was quoted AU$10,000.

In an Atmel contest run by Circuit Cellar, some people built a
FAT16/32 filesystem driver for AVR.
http://www.circuitcellar.com/avr2004/distinctive.htm
Back to top
mark thomas
Guest





Posted: Sun Dec 19, 2004 3:10 am    Post subject: Re: Sd file system speification. Reply with quote

The artist formerly known as tedlawson@gmail.com wrote:

| Hello,
|
| I am working on interfacing an SD card to a microcontroller.
| I need to read the SD card filesystem speicification v1.01. If anyone
| of you has it , could you please post it or email it to me ?
| I would be grateful to you for the same.
|
| Thanks in advance,
| Ted

My suggestion would be to make a few test files to store on the SD card. If
there's only one filetype that you'll be storing (i.e. say you'll only be
putting .bmp images on it) make a few small test .bmp files of various sizes
and upload them on the SD card.

Then have the microcontroller read back the raw bits to your computer, and
analyze the result with a hex editor. See what sort of header
information/checksum info is stored. Since you know the filetype, you can
discard the header info, and if it's something that you can put up with a
few errors once and a while then you can discard the checksum too.

Anyone think this would work? Whatever you do, be sure to have a backup
plan (i.e. use MMC instead).

--
MT

To reply directly, take every occurrence of the letter 'y' out of my
address.
Back to top
Ted
Guest





Posted: Sun Dec 19, 2004 4:07 am    Post subject: Re: Sd file system speification. Reply with quote

Hi,

i want to write data onto an SD card without any filesystem at first.
i.e writing data onto an SD card without any filesystem driver.

My idea is like this

every sd card is paritioned into various sectores based on the below or
close to it.

0x0000 MBR ( or whatever)

0x3333 FAT
0X4444 SOMETHING ELSE
.....
.........
0x9999 DATA

what i want to do is to jump 0x9999 to write data there ...

I can seek that cluster /sector 0x9999 by doing this...

First i format the SD card usign an USB card reader and write the text
string "FREE" to all its data area until the card is full
+
then i search for the for the cluster from the beginning of the card
until i find the text string "FREE" on it..

Id like to hear from you if you have any better idea for just writing a
datastream onto an SD/MMC.. withoutu any filesystem...
Thanks in advance,
ted.
Back to top
mark thomas
Guest





Posted: Sun Dec 19, 2004 5:01 am    Post subject: Re: Sd file system speification. Reply with quote

The artist formerly known as Ted wrote:

| Hi,
|
| i want to write data onto an SD card without any filesystem at first.
| i.e writing data onto an SD card without any filesystem driver.
|
| My idea is like this
|
| every sd card is paritioned into various sectores based on the below or
| close to it.
|
| 0x0000 MBR ( or whatever)
|
| 0x3333 FAT
| 0X4444 SOMETHING ELSE
| ....
| ........
| 0x9999 DATA
|
| what i want to do is to jump 0x9999 to write data there ...
|
| I can seek that cluster /sector 0x9999 by doing this...
|
| First i format the SD card usign an USB card reader and write the text
| string "FREE" to all its data area until the card is full
| +
| then i search for the for the cluster from the beginning of the card
| until i find the text string "FREE" on it..
|
| Id like to hear from you if you have any better idea for just writing a
| datastream onto an SD/MMC.. withoutu any filesystem...
| Thanks in advance,
| ted.

Go here, http://www.bipom.com/datalogger.shtm

They have source code for writing to an MMC card. Download the .zip file
and have a look at MMC.lib and Log.bas.

The MMC.lib shouldn't be too difficult to convert to whatever architecture
you're using.

Goodluck!

--
MT

To reply directly, take every occurrence of the letter 'y' out of my
address.
Back to top
Ted
Guest





Posted: Tue Dec 21, 2004 11:23 pm    Post subject: Re: Sd file system speification. Reply with quote

HI all,
I found some links here...

http://www.sandisk.com/pdf/oem/SDDK-05.R1.pdf ( SD file system and
device driver )

http://www.sandisk.com/pdf/oem/SDDK-05.R1.pdf ( SD card Product manual
)

http://www.sandisk.com/pdf/oem/sddk-07.R1.pdf ( SD audio development
kit)


Hope they might be useful to you....
Back to top
mark thomas
Guest





Posted: Fri Dec 24, 2004 5:57 am    Post subject: Re: Sd file system speification. Reply with quote

The artist formerly known as Ted wrote:

| HI all,
| I found some links here...
|
| http://www.sandisk.com/pdf/oem/SDDK-05.R1.pdf ( SD file system and
| device driver )
|
| http://www.sandisk.com/pdf/oem/SDDK-05.R1.pdf ( SD card Product manual
| )
|
| http://www.sandisk.com/pdf/oem/sddk-07.R1.pdf ( SD audio development
| kit)
|
|
| Hope they might be useful to you....

I haven't gotten around to looking at these yet.

Have they been helpful?

--
MT

To reply directly, take every occurrence of the letter 'y' out of my
address.
Back to top
Ted
Guest





Posted: Sun Dec 26, 2004 6:42 am    Post subject: Re: Sd file system speification. Reply with quote

I guess they are useful in some way....
Back to top
Antonio Pasini
Guest





Posted: Sun Dec 26, 2004 1:08 pm    Post subject: Re: Sd file system speification. Reply with quote

<tedlawson@gmail.com> ha scritto nel messaggio
news:1103325893.581480.203780@z14g2000cwz.googlegroups.com...

Quote:
I am working on interfacing an SD card to a microcontroller.
I need to read the SD card filesystem speicification v1.01. If anyone

A "simplified" version of the official spec is downloadable free of charge
from SDCard.org website.

http://www.sdcard.org/sdio/Simplified%20Physical%20Layer%20Specification.PDF

Bye.
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB