Compact flash programming and specs

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

  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,

    Bernie
    Bernie, Sep 23, 2004
    #1
    1. Advertising

  2. Bernie

    Tim Wescott Guest

    Bernie wrote:

    > 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,
    >
    > Bernie


    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.

    --

    Tim Wescott
    Wescott Design Services
    http://www.wescottdesign.com
    Tim Wescott, Sep 23, 2004
    #2
    1. Advertising

  3. Tim Wescott wrote:

    > Bernie wrote:
    >
    >> 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,
    >>
    >> Bernie

    >
    >
    > 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.


    You might try looking at the open source drivers used by Linux

    --
    Dirk

    The Consensus:-
    The political party for the new millenium
    http://www.theconsensus.org
    Dirk Bruere at Neopax, Sep 23, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mad Scientist Jr

    compact flash pinout question

    Mad Scientist Jr, Apr 19, 2004, in forum: Electronic Basics
    Replies:
    9
    Views:
    578
  2. Abe Cd

    Compact Flash interface

    Abe Cd, Jan 6, 2005, in forum: Electronic Basics
    Replies:
    0
    Views:
    306
    Abe Cd
    Jan 6, 2005
  3. Puneet

    Compact flash connectors

    Puneet, Oct 14, 2004, in forum: Electronic Components
    Replies:
    0
    Views:
    277
    Puneet
    Oct 14, 2004
  4. VN

    Interfacing to compact flash port

    VN, Feb 27, 2006, in forum: Electronic Components
    Replies:
    1
    Views:
    311
    William P.N. Smith
    Feb 27, 2006
  5. a
    Replies:
    3
    Views:
    393
Loading...

Share This Page