Sorry, I relied more on the article to explain what was going on, than comments in the code. The method of access I described in the article is the "common memory" mode, which was the only way to access the card with 8-bit data, in the interest of saving I/O on the PIC. However, all modes of access follow a pretty similar scheme... load the appropriate registers with a particular location, load a command register with a particular command, and away you go! -Mark At 10:32 AM 10/15/02 +0000, you wrote: >Hi everyone, > >I am trying to interface a compact flash card to a Pic for some cheap large >storage. I've read the article here: > >http://www.chipcenter.com/circuitcellar/february01/c0201ms1.htm > >But the code is badly commented :-( > >And downloaded the Compact flash technical document from here: > >http://www.compactflash.org/ > >But, i'm still a bit lost. There are three ways to interface to a compact >flash card, and I'm not sure which to use. Has anyone on this list used >Compact Flash in a design? It strikes me as a cheap and easy, not to mention >redily available storage media. Has anyone any comments on using it (e.g. >Just do this it s easy . Or don t bother it too much for a little PIC!). > >Thanks for reading my post, > >Graham North > >_________________________________________________________________ >Join the world s largest e-mail service with MSN Hotmail. >http://www.hotmail.com > >-- >http://www.piclist.com hint: The list server can filter out subtopics >(like ads or off topics) for you. See http://www.piclist.com/#topics > > ------------------------------------------- Mark Samuels ARMA Design Tel:(858) 373-1320 Fax:(858) 373-1325 Email: mark@armanet.com Web: www.armanet.com The information contained in this electronic message is private and may contain privileged, confidential or inside information. Any distribution, copying or forwarding or use of this communication by anyone other than the intended recipient(s) is strictly prohibited and may be unlawful. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics