Reply by sks_dsp December 22, 20032003-12-22
Phil,

While it's not quite what you are looking for We have developed a IDE daughtercard and a FAT32 file system for the
5510 (67xx coming soon):

http://focus.ti.com/catalog/docs/thirdpartysoftwarefolder.tsp?
softwareIdC84

We've implemented a version of fopen(), fclose(), fread() and
fwrite(). There is currently a one file open at a time limitation.
With a 5510 we can stream about 1Mbyte/sec to a hard drive. We have
no problems recording hours of 16 bit 48Khz stereo without glitches.
It is straight forward but not trivial to write the FAT32 code. Give
us a call if you would be interested in contracting this out.

We designed our daughtercard to allow harddisks (tested with 60G
2.5" drives) or compact flash cards (>2M). You can collect
data using the DSP and then plug the drive or card into your PC where
it is seen as a FAT32 drive.

Another nice feature we added to our daughtercard is a connector to
hold a small IDE<->USB converter card like you find in a usb external
harddisk. This probably isn't a big issue with the 5509 (which
has a usb interface) but with other DSPs it allows us to mux the bus
and access the drive via usb without opening the box to swap the
drive.

A few notes from our experience:

For streaming applications, we needed to be very careful with frame
rate and the size of the buffers. You must be aware of the hard disk
worst case seek times. You need to remember that not only are you
read/writing data to the drive, but you must also keep the FAT up to
date. We buffer complete sectors of data and our normal operation is
with an unfragmented drive. We restrict to one open write file so
the current FAT sector can be cached.

Once you've solved these problems, it changes your point of view
when you can capture gigabytes of real time data with your DSP.

Let us know if you'd like further info. You can reach me at my yahoo
e-mail ()

-Shawn Steenhagen
Software Specialist
Applied Signal Processing
www.appliedsignalprocessing.com --- In , "peejayblack" <peejayblack@y...> wrote:
>
> Anyone
>
> The 5509 supports MMC/SD.
> Has anyone implimented this?
> Any suggestions on a file system
> layer. I want to be able
> to read the card from a COT's
> card reader on my PC.
>
> 5509 MMC/SD File layer suggestion > Phil
> Black


Reply by Indrek Rebane December 12, 20032003-12-12
Hi Paul,

Paul Shepherd wrote:
> I am also very curious - is anyone else using the MMC and if
> so, are they having any problems???

We are using both, MMC and SD. There have been lots of problems in
past, but most of them are solved now. We are not using GIO
infrastructure as it became a major performance bottleneck for our
application. Also, native mode is used for accessing cards,
including 4 datalines for SD. Greatest improvements were after
getting DMA working. Also, documentation from TI is very
misleading and outdated.

Indrek

--
Indrek Rebane | Borthwick-Pignon
Electronics Engineer | Tartu Science Park
Phone: (+372) 7 302 641 | Riia 185, 51014 Tartu
Fax: (+372) 7 383 041 | Estonia
| www.bps.co.ee


Reply by Paul Shepherd December 12, 20032003-12-12
Hello Phil,

What timing you have - I just now have a reliable implementation of
something close to what you want!!

Here's where you need to start:

1) Get the DDK (version 1.1) from TI. You can get this using the
automatic update tool. This includes a IOM mini-driver for using
GIO commands to read/write to the mmc.

This will provide a mini-driver on which you can build a filesystem
driver.

I suggest you forget ALL OTHER APP NOTES and just use the DDK,
unless you don't want to use DSP/BIOS (in which case I can only
say "GOOD LUCK"). 2) TI has developed a FAT filesystem driver that sits above the
DDK. My understanding is that it is currently Beta only.
Therefore, you will not find it with automatic update. Ask your TI
FAE for a copy. 3) The above will actually not work TODAY, due to a bug in the DDK
that TI is working hard on as we speak. Actually, to be fair, the
routines DO work for me, but only for <= ~20,000 cycles and then
they hang. My current solution?? a) I wrote routines to interface with the mmc in SPI mode using GPIO
lines.
b) I wrote a simple filesystem layer above that.
c) I use "dd" on a pc to do a raw data dump from the mmc to my pc
using a card reader.
d) I wrote a pc program to implement the simple filesystem layer to
extract the raw data dumped with dd.

I am also very curious - is anyone else using the MMC and if so, are
they having any problems???

.... Good Luck, ..... Paul

--- In , "peejayblack" <peejayblack@y...> wrote:
>
> Anyone
>
> The 5509 supports MMC/SD.
> Has anyone implimented this?
> Any suggestions on a file system
> layer. I want to be able
> to read the card from a COT's
> card reader on my PC.
>
> 5509 MMC/SD File layer suggestion > Phil
> Black



Reply by peejayblack December 11, 20032003-12-11

Anyone

The 5509 supports MMC/SD.
Has anyone implimented this?
Any suggestions on a file system
layer. I want to be able
to read the card from a COT's
card reader on my PC.

5509 MMC/SD File layer suggestion Phil
Black