11
\$\begingroup\$

Does anyone know how to create a cf controller in order to read data from cf card?

\$\endgroup\$
1
  • 1
    \$\begingroup\$ What's your platform? FPGA or microcontroller? \$\endgroup\$
    – geschema
    Commented Apr 15, 2010 at 16:05

3 Answers 3

11
\$\begingroup\$

Look at Sparkfun's compact flash breakouts here and here and check out this article on interfacing with a compact flash card.

\$\endgroup\$
4
\$\begingroup\$

I assume you are looking for an embedded solution, since you could easily get a reader for a desktop or laptop computer.

People have written SPI IDE interfaces, which you might be able to run on an AVR. I will link to one that runs on an ATMega32. It may be too big for an ATMega168, but it should fit on a 328, though it may need a bit of cleanup to account for the Arduino bootloader if you go that route: http://forum.6502.org/viewtopic.php?p=8343&sid=a06dc948bd456b223cf8a93d175d37e1

I have seen a lot of work on this for the PIC series of microcontrollers as well. A simple search on PIC and CF should return plenty of details, though the hardware and article linked above by zklapow should be more than sufficient to complete the project. I just wanted to add in an AVR solution for those who are looking since I know there is a big Arduino community here.

\$\endgroup\$
2
\$\begingroup\$

I'm told that compact flash has an interface very similar to IDE, that being said IDE is not trivial to communicate over. The easiest way is to do as zklapow recommends, buy a pre-made control chip. Sparkfun has boards that even have filesystem support builtin.

\$\endgroup\$
1
  • 2
    \$\begingroup\$ Actually IDE is pretty trivial to communicate over. It's only slightly more complicated than talking to your typical parallel interface microprocessor peripheral chip. Sure there are all sorts of options and speedups and legacy modes, but you don't have to get into those. \$\endgroup\$ Commented Feb 7, 2011 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.