Re: FATxx on a Compact Flash



msg wrote:
Tim Wescott wrote:

I dimly remember an article in Circuit Cellar that showed a CF card being accessed via SPI, and using a FAT12 or FAT16 file system.

Has anyone had any recent experience with making this sort of thing work? Any good libraries out there to use?

I'm doing this right now using (my modified version of) Lewin's DOSFS
and bit-banged SPI handlers on the i8096 for an MMC card; I will post
a link to the code when it's done. Are you sure it was a CF card
that you saw in the article, over SPI? If so, do you remember if
Ciarcia built a custom controller for it?

Now that you mention it, no, I'm not sure if it was specifically CF or just one of them thar little memory cards -- I haven't had occasion to do one of these ever, so I've been happily ignorant of what's out there.

I was also looking at Lewin's file system, so I'll be interested to hear how it is working for you.

-- and it wasn't Ciarcia; his name isn't on the by-line of many articles in the magazine these days.

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Posting from Google? See http://cfaj.freeshell.org/google/

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html
.



Relevant Pages

  • Re: [PATCH] 4/5: Updates to SPI and mmc_spi: mmc_spi updated, kernel 2.6.19
    ... tarball that worked with a preliminary version of the SPI ... A given MMC transaction can ... didn't issue read-multiple commands to mmc_spi before. ... I don't know how card status changes were noticed. ...
    (Linux-Kernel)
  • Re: PCMCIA cards in laptops: do they need to be mounted/unmounted when installed/removed?
    ... mount/umount are file system management commands. ... mount - mount a file system ... If in need to check the current status of that PC card 1 I ...
    (Debian-User)
  • Re: power supply control
    ... For the small fraction of the cost of FPGA, you can have the very good DSP designed specifically for the power control applications. ... I think this would require parallel SPI buses from the DSP, as most SPI ADC's and DAC's that would work for me have max clock rate of 20MHz, unless they are all read sequentially on the same SPI bus I guess.. ...
    (sci.electronics.design)
  • Re: XD picture card reformatting?
    ... simpler file system version than current versions ... these cameras must have the card formatted in the ... camera, and generally, files must be created by the camera. ... formatting the card in the camera or formatting the card in the ...
    (rec.photo.digital)
  • Re: SPI driver for arm running linux
    ... have a SPI subsystem which allows to use SPI in a way similar ... talk to the connected slave devices via a consistent API. ... the low-level adapter driver and keep the client drivers ... The subsystem does control the chipselect lines on behalf ...
    (comp.os.linux.embedded)