sachink321@gmail.com wrote:
> Hi Ray
> im using CF for only Mass storage
> it does not have to be read by PC
> the problem is to address a particular sector
> will LBA make it easier to address?
> how do i do this addressing?
> how does this thing work?
>
LBA makes it easier. Basically you give it a sector number, which is an
address to one of the sectors. It will access one sector at at time,
each sector is 512 bytes, presented two bytes at a time. In order to be
successful accessing it you really have to pick up the Compact Flash
specification and study that. I can't adequately describe the interface
in a post. You'll need either a state machine or a small
microcontroller to sequence the commands to it. For basic access,
you'll need at least the identify, read sector and write sector commands.