View Single Post
  #3 (permalink)  
Old 04-08-2006, 12:58 AM
[email protected]
Guest
 
Posts: n/a
Default Re: Accessing compact flash?????????


Ray Andraka wrote:
> [email protected] wrote:
>
> > Environment in which system works:
> >
> > Microblaze softcore processor on spartan 3 fpga board
> > compact flash, acting as a mass storage.
> >
> > How to access the compact flash in embedded applications
> > write to and read from the compact flash? how to access the FAT table?
> > to which sector i need to write, which address?
> >
> > which mode of addressing is easy way out
> > CHS or LBA??
> >
> > I got no clue how to access, it would be great help if i could
> > understand in and out of doing tht becoz i need to write a code in C
> >
> > Thanks in advance
> >

>
> http://www.compactflash.org/faqs/faq.htm You can register for free and
> download the CF3 spec from there.
> If you are just using the CF for mass storage that does not have to be
> read by a PC, then you needn't format it with a PC file structure. In
> that case it is simply a matter of converting your address to a sector
> and offset into the sector. There is a bit less bookkeeping if you use
> LBA, but either one is relatively easy.



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?

Reply With Quote