nayan kumar wrote:
Hi Tim Philip kluger
i apologize if i made you confuse.what ever
method i mention in my previous post that was my view to acomplish
that assigned task. as i told you i am unware about this, my view may
be wrong.the task that i have to acomplish is as follows.
After intializing the SD Memory card if i will send CMD 17 with Arg 0
then i will get the data block of 512 byte .This 512 byte of data will
contain the information such asBytes Per Sector 11 2
Sectors Per Cluster 13 1
Reserved Sectors 14 2
FATs 16 1
Root Entries 17 2
Small Sectors 19 2
Media Descriptor 21 1
Sectors Per FAT 22 2
Sectors Per Track 24 2
Heads 26 2
Hidden Sectors 28 4
Large Sectors 32 4
Much of that information will only be present if the memory card is
formatted with a FAT file system. Not all of them are.
some field of BPB. after this i will get either name of the file as a
input or address of any data as a result of communication with SD
memory card .Based on input either that address or file name i will
have to jump at that particular address and read the data from that
address.this is the task that i have to complete if you can guide me what i
should do to acomplish this and how i should proceed it would be great
help.
Sure. To accomplish this task, you should forget completely about
writing a driver, and instead let the standard operating system drivers
mount the card and assign a drive letter. Then, use the standard
operating system features to find your file. That’s what those drivers
are THERE for.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.