Skip to contentSkip to conversation

Cf Card vs DiskOnChip

DISCUSSION Ramya Ravichandran 8 participants 15 messages Jan 26, 2002 – Jan 28, 2002 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines
Quoted 1 line

Doesn't the ROM needed depend on the application

than

Quoted 2 lines

runs on Linux?

you said "serial application". Doesn't seem like
much to me

Right now I am trying to find out the price of DOC. I tried the serach words "DiskOnChip" and "DiskOnChip Price" . The search results explain DOC but don't give the price.
If the price of DOC is less than the CF+IDE
adapter or CF + PCMCIA-CF adapter then I guess we will settle for DOC.
Also I dont know which adapter to go for PCMCIA or
IDE for CF as I am not a h/w person.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

#2 lore raw
Quoted 9 lines · Ramya Ravichandran
Quoted 8 lines
Quoted 1 line

Doesn't the ROM needed depend on the application

than

Quoted 1 line

runs on Linux?

you said "serial application". Doesn't seem like
much to me

Quoted 10 lines

Right now I am trying to find out the price of DOC. I tried the serach words "DiskOnChip" and "DiskOnChip Price" . The search results explain DOC but don't give the price.
If the price of DOC is less than the CF+IDE
adapter or CF + PCMCIA-CF adapter then I guess we will settle for DOC.
Also I dont know which adapter to go for PCMCIA or
IDE for CF as I am not a h/w person.

If the CF is "embedded" and you are not going to remove it while it is powered up (ie. use it like you would a DOC) then you quite likely do not need any PCMCIA adapter chips I've seen a few designs using CF this way.

If you have an IDE bus/port on your board, then the following link also has an appnote on interfacing to that too.

See http://www.sandisk.com/tech/oem_design/cf_dc.asp for some app notes on doing this kinda thing.

NB Though... CF has no wear levelling and might give some product lifetime issues (it's really a consumer technology designed with a Kleenex mentality).

-- Charles

#3 lore raw
Quoted 7 lines

If the CF is "embedded" and you are not going to remove it while it is
powered up (ie. use it like you would a DOC) then you quite likely do not
need any PCMCIA adapter chips I've seen a few designs using CF this way.

You have a desktop system and in this desktop system I just want to remove the HD and replace it with the CF card or DOC .Do you need adapters for this. IF DOC then can it be directly embedded in the motherboard.

Please help.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

#14 lore raw
In reply to Ramya Ravichandran
Quoted 2 lines · [email protected] said:

If the price of DOC is less than the CF+IDE adapter or CF +
PCMCIA-CF adapter then I guess we will settle for DOC.

OOI, why is it not an option to just use flash chips?

Quoted 2 lines

Also I dont know which adapter to go for PCMCIA or IDE for CF as I
am not a h/w person.

PCMCIA mode is likely to be cheaper - CF cards contain an IDE controller, which you can use in PCMCIA mode. No need to have another one one your board.

--
dwmw2

#4 lore raw
In reply to Ramya Ravichandran
Quoted 3 lines · Ramya Ravichandran

You have a desktop system and in this desktop system I just want to remove the HD and replace it with the CF card or DOC

I thought you said you were building an industrial embedded system?

This doesn't sound like it's going to be embedded *or* industrial.

kira.

#15 lore raw
In reply to Ramya Ravichandran

http://www.m-sys.com

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Ramya Ravichandran
Sent: Saturday, January 26, 2002 1:29 AM
To: Russ Dill; [email protected]; [email protected]
Subject: Re: Cf Card vs DiskOnChip

Quoted 8 lines
Quoted 1 line

Doesn't the ROM needed depend on the application

than

Quoted 2 lines

runs on Linux?

you said "serial application". Doesn't seem like
much to me

Right now I am trying to find out the price of DOC. I tried the serach words "DiskOnChip" and "DiskOnChip Price" . The search results explain DOC but don't give the price.
If the price of DOC is less than the CF+IDE
adapter or CF + PCMCIA-CF adapter then I guess we will settle for DOC.
Also I dont know which adapter to go for PCMCIA or
IDE for CF as I am not a h/w person.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#5 lore raw
In reply to Ramya Ravichandran
Quoted 8 lines · Ramya Ravichandran
Quoted 7 lines

If the CF is "embedded" and you are not going to remove it while it is
powered up (ie. use it like you would a DOC) then you quite likely do not
need any PCMCIA adapter chips I've seen a few designs using CF this way.

Quoted 5 lines

You have a desktop system and in this desktop system I just want to remove the HD and replace it with the CF card or DOC .Do you need adapters for this. IF DOC then can it be directly embedded in the motherboard.

m-systems also has ISA card adapters for DOC's

#6 lore raw
In reply to Ramya Ravichandran
Quoted 7 lines · Ramya Ravichandran
Quoted 6 lines

If the CF is "embedded" and you are not going to remove it while it is
powered up (ie. use it like you would a DOC) then you quite likely do not
need any PCMCIA adapter chips I've seen a few designs using CF this way.

Quoted 6 lines

You have a desktop system and in this desktop system I just want to remove the HD and replace it with the CF card or DOC .Do you need adapters for this. IF DOC then can it be directly embedded in the motherboard.

Please help.

OK so if I understand you correctly, you want to take a normal x86 system, throw away the hand disk and put int a CF instead.

If that is what you want to do then the sandisk link shows how. All you need is a very simple cable that goes from a standard IDE connector to a CF socket. My understanding, which might be off, is that if you look inside a Sandisk Flashdrive then that is what you'll find.

For all you nay-sayers, there are some good reasons to do this. One good reason to do this over a DOC-based solution is that you don't have to load special DOC access software or have a specail DOC-friendly BIOS. The system can't tell the difference between a CF and a rotating disk. It's a nice easy way to get from A toZ, especially for an exploratory product or an "embedded PC" that's going into a vehicle or other high vibration scenario that will shake a disk to death.

kira I reckon you're being a bit rude! An honest question deserves a useful answer - not abuse. Help or shut up. IMHO.

-- Charles

#7 lore raw
Quoted 4 lines

OK so if I understand you correctly, you want to take a normal x86 system,
throw away the hand disk and put int a CF instead.

Quoted 8 lines

If that is what you want to do then the sandisk link shows how. All you need
is a very simple cable that goes from a standard IDE connector to a CF socket.
My understanding, which might be off, is that if you look inside a Sandisk
Flashdrive then that is what you'll find.

Thanks for all the help. I want to understand PCMCIA , IDE , connectors , adapters,BIOS, hot-swapping, CF socket, wear levelling ... all these terms were used by you guys when u were helping me but being a newbie I don't understand these terms. Can anyone suggest some resources for me to understand these things.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

#9 lore raw
In reply to Charles Manning
Quoted 1 line · Charles Manning

kira I reckon you're being a bit rude!

I'm sorry, I just don't have much respect for people who say things like 'cost is more important than reliability'. Probably becasue I've cleaned up their messes so often.

I also don't understand the point of fitting an unreliable Flash to replace the hard disc in an ordinary PC. It's not as if it will be any faster (CF is much slower than a rotating IDE disc) or last any longer (since CFs tend to drop dead unexpectedly). Neither can you build a system free of moving parts, since it will still need a cooling fan or two. The only thing you can say is that the power supply requirements will be a bit smaller- but if you were really worried about that, why would you be using a big chunky x86 35-amps-at-two-volts processor?

When designing an embedded system it's important to start by looking at your application rather than by looking at what technologies you understand and kludging the design to make it all fit.

I think someone needs to tell us what they actually need from a storage device, and then we can help them, rather than saying 'I need 128M of somethign exactly like a hard disc' which is clearly a specification derived from trying to make a desktop system embedded.

kira.

#10 lore raw
Quoted 7 lines

When designing an embedded system it's important to start by looking at
your application rather than by looking at what technologies you
understand and kludging the design to make it all fit.

Quoted 8 lines

I think someone needs to tell us what they actually need from a storage
device, and then we can help them, rather than saying 'I need 128M of
somethign exactly like a hard disc' which is clearly a specification
derived from trying to make a desktop system embedded.

What we wnat is an application that takes about 100-120 MB disk storage space and 128MB memory footprint on top of linux. This communicates with a microcontroller which does some image procesing etc. The criteria for doing image processing is input from the user to the appln. on linux which inturn gives it to the microcontroller. All this in a dusty industrial environment.Amy I have ur sugesstions.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

#12 lore raw
In reply to kira brown
Quoted 5 lines

(since CFs tend to drop dead unexpectedly). Neither can you build a
system free of moving parts, since it will still need a cooling fan or
two.

What about the CF cards used in the pocket PC's may I know why u say they need a cooling fan?My friend has been using a CF card in his pocket PC and is happy with it that is why I am considering one for my need.

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

#13 lore raw
In reply to kira brown
Quoted 3 lines

I'm sorry, I just don't have much respect for people who say things like 'cost is more important than reliability'. Probably becasue I've cleaned up their messes so often.

This guy is just asking about how to use flash. He isn't going to include the entire cost/benefit analysis of his project in the posting, so he just summarizes it by saying "cost is more important". There is no reason to assume that he hasn't thought of the implications of the decision, or even that he has any other choice. If you make your product so expensive that nobody buys it, it is a failure no matter how reliable it is. Cost is always an important factor.

Quoted 3 lines

When designing an embedded system it's important to start by looking at your application rather than by looking at what technologies you understand and kludging the design to make it all fit.

But don't forget labor costs. If I use a system that I already know everything about, I don't have to spend time learning about it. Lots of embedded industrial systems are just desktop PCs or ruggedized desktop PCs for exactly that reason. They work just fine, and for a lower cost than some of the alternatives.

Quoted 4 lines

I think someone needs to tell us what they actually need from a storage device, and then we can help them, rather than saying 'I need 128M of somethign exactly like a hard disc' which is clearly a specification derived from trying to make a desktop system embedded.

I don't think that is clear at all. You can't tell the architecture of a system solely by looking at storage requirements. Maybe he just has a lot of data.

Mark S.

#8 lore raw
In reply to Ramya Ravichandran
Quoted 8 lines

Thanks for all the help. I want to understand PCMCIA , IDE , connectors , adapters,BIOS, hot-swapping, CF socket, wear levelling ... all these terms were used by you guys when u were helping me but being a newbie I don't understand these terms. Can anyone suggest some resources for me to understand these things.

Most of these are outside the scope of this discussion list.... you might want to call on uncle Google.

IDE (loosely) is the way most hard drives are hooked up. Most drives are "IDE drives".
Compact Flash is a sub-set of PCMCIA. CF (and ATA-style PCMCIA cards) just look like a PCMCIA version of an IDE drive. Because they are PCMCIA capable yo can use extra pins to find out details about what the card is. This is used so that when you plug the card the system can tell the difference between a flash card and a modem - or whatever - and use the correct driver.

When you hook up a Compact Flash to the IDE bus, then you are not using those extra pins. It just looks like a disk drive. Hint: don't try hook up a modem to the IDE bus!

Flash has a limited number of times it can be erased. Somewhere between 1000 and 1000,000 is typical depending on the technology, temperature, voltage. This is termed the "endurance". Because a disk drive/file system tesnds to erase/write some areas more often than others (eg. your program files will very seldom be written but data files and temporary files will get written a lot) some parts of the flash will wear out faster than others. Thus, maybe one file area might wear out long before the device wears out. To stop this happening, (or at least reduce it), wear levelling algorithms are used to move stuff around and level out the wearing. Some devices do not apply wear levelling (eg. Compact Flash and SmartMedia). Some do (eg. full-size PCMCIA cards, DOC, JFFS).

The rest of what you ask is definitely beyond the scope of this discussion - try Google for a start.

Maybe an MTD FAQ/glossary could be useful?

-- Charles

#11 lore raw
In reply to Ramya Ravichandran

From: "Ramya Ravichandran"

Quoted 11 lines

What we wnat is an application that takes about 100-120 MB disk storage space and 128MB memory footprint on top of linux. This communicates with a microcontroller which does some image procesing etc. The criteria for doing image processing is input from the user to the appln. on linux which inturn gives it to the microcontroller. All this in a dusty industrial environment.Amy I have ur sugesstions.

Please take care that if such huge application always have enough memory and don't need to swap data to disk since flash disk is probably too slow for this job.
Did you evaluate to remote it using an X-terminal, or mounting an NFS partition?

Alessandro Staltari
staltari(a)geocities.com