Re: Compact flash programming and specs

From: Dirk Bruere at Neopax (dirk_at_neopax.com)
Date: 09/23/04


Date: Thu, 23 Sep 2004 18:19:32 +0100

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


Relevant Pages

  • Re: e2fsck problems :o
    ... a flash card. ... This has worked fine without any major problems. ... fsck, which would indicate that the device is mounted. ... long as you don't think of needing to use file system shrinking. ...
    (alt.os.linux)
  • File System On Flash Card
    ... I am working in workbench 2.5 and vxworks 6.3. ... the file system on the flash card and which type of file sytem. ... I am really confused bcz at present i dont have any flash cards to ...
    (comp.os.vxworks)
  • Old format version
    ... My problem is that I want to format a flashdisk with the ... I need to get the same file system that it is on win 95 ... on my flash card, because the robot system I need to use ... so is the robot system accepting the flash card. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Which processes are legitimate?
    ... I still encounter ADS ... File system forks are traditionally associated with Apple's Hierarchical ... Microsoft's NTFS they are known as Alternate Data Streams. ...
    (microsoft.public.security.virus)
  • Re: Copy This
    ... SummaryInformation alternate data stream ... Explorer can see can also have any number of ADS ... named SummaryInformation to store data on the Summary ... The ADS file system actually goes back to NT4. ...
    (microsoft.public.vb.general.discussion)