Connect with us

Compact flash programming and specs

Discussion in 'Electronic Design' started by Bernie, Sep 23, 2004.

Scroll to continue with content
  1. Bernie

    Bernie Guest

    Can someone help me out with finding specs/protocol for programming
    compact flash. I am logging data with an A/D and need to save it to a
    compact flash card which will be read by a card reader on a laptop. I
    read another thread that talked about needing to use the FAT32
    protocol for MS Windows. I don't know how to do that either, but also
    need info on connections and reading/writing to Compact Flash cards.

    Thanks in advance,

  2. Tim Wescott

    Tim Wescott Guest

    You've searched the web?

    As far as I know any flash card will come to you as a mass of blank
    storage. I don't know if the standard is for NAND flash only or if it
    supports NOR flash -- but that should be on the web. Either way, if you
    want it to be readable as a disk you need to impose a file system on it.
    Generally with DOS-derived machines this is done by treating the
    memory as if it were a disk and writing the usual sectorized data (with
    a FAT in the case of a Windows system). I've forgotten the details of
    FAT-16 and never learned the details of FAT-32 but again -- this should
    be on the web.

    You'll find that writing the FAT 32 file system requires reading lots of
    picky, poorly documented details (remember this is Microsoft you're
    dealing with). You can, however, buy file system software from various
    vendors. I know that US Software sells this, but I don't know their
    current name. You _can_ search the web for this, but you'd be better
    off to buy a copy of some magazine that addresses the embedded systems
    marketplace (Embedded Systems Programming, Nuts & Volts, etc.) and look
    at the ads in the back. Embedded Systems is hard to get subscriptions
    to, so you might want to see if you can find ads on their website.
  3. You might try looking at the open source drivers used by Linux


    The Consensus:-
    The political party for the new millenium
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day