FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2006, 05:33 AM
sachink321@gmail.com
Guest
 
Posts: n/a
Default C H S in a Compact flash

How do i know how many cylinders, drives and sectors
a particularr compact flash has??????

i have a 256mb sandisk compact flash

Reply With Quote
  #2 (permalink)  
Old 04-07-2006, 09:57 AM
pbdelete@spamnuke.ludd.luthdelete.se.invalid
Guest
 
Posts: n/a
Default Re: C H S in a Compact flash

sachink321@gmail.com wrote:
>How do i know how many cylinders, drives and sectors
>a particularr compact flash has??????


>i have a 256mb sandisk compact flash


The concept of CHS is since long outdated. But..
It depends in what context you use it. If it's an old machine with x86-BIOS
you usually enter <cylinders> heads=63 sectors=255
There are three translation modes for x86-BIOS calls (INT 13h) to physical
sectors CHS, LBA, and Large. Try to use LBA if that won't work use Large or as
last resort CHS mode.

If you build a system that is free from x86 baggage then LBA is the mode
to use.

Furhter reading:
* http://averstak.tripod.com/fatdox/physical.htm
* http://www.boot-us.com/gloss11.htm

640k ram & 512M hdd ought to be enough for anyone..

Reply With Quote
  #3 (permalink)  
Old 04-07-2006, 01:43 PM
Ray Andraka
Guest
 
Posts: n/a
Default Re: C H S in a Compact flash

sachink321@gmail.com wrote:

> How do i know how many cylinders, drives and sectors
> a particularr compact flash has??????
>
> i have a 256mb sandisk compact flash
>

Issue the identify command to the card and parse the sector worth of
data that it returns. It's all in there.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing compact flash????????? sachink321@gmail.com FPGA 5 04-10-2006 12:33 AM
Accessing compact flash????????? sachink321@gmail.com FPGA 3 04-07-2006 03:21 PM
Accessing compact flash????????? sachink321@gmail.com FPGA 0 04-07-2006 05:27 AM
WIFI Compact Flash eziggurat@gmail.com FPGA 2 02-17-2006 02:09 AM
Interfacing Compact Flash with Spartan 3 George Mercury FPGA 3 03-11-2005 10:00 PM


All times are GMT +1. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved