EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Accessing Compact flash ???????

Started by Unknown April 7, 2006
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

sachink321@gmail.com 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
Google for compact flash, or have a look at the sandisk site. Rene *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
<sachink321@gmail.com> wrote in message 
news:1144384004.578263.292040@i40g2000cwc.googlegroups.com...
> > 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
This looked like a good place to start. I'm still reading it myself though http://www.compuphase.com/mbr_fat.htm#BOOTSECTOR

The 2024 Embedded Online Conference