For a project, I have to talk to a CF card (we're using some 256MB card), and I'm using a TinyARM to control it. I read through the spec, but I still don't understand how to read from it and write to it.
My adapter can only do TrueIDE mode (there are only 3 address pins available... it doesn't tie pin 9 to GND, but I assume I'll have to). I get the impression from the spec that I have to load certain control control registers and then issue a "do it" command. What registers and values isn't clear. The list of possibilities is way too long 🙁. Do I have to use CHS mode, or can I treat it as a flat address range? Any help would be appreciated.
My adapter can only do TrueIDE mode (there are only 3 address pins available... it doesn't tie pin 9 to GND, but I assume I'll have to). I get the impression from the spec that I have to load certain control control registers and then issue a "do it" command. What registers and values isn't clear. The list of possibilities is way too long 🙁. Do I have to use CHS mode, or can I treat it as a flat address range? Any help would be appreciated.