CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

compact flash card development

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
desertkids



Joined: 30 Nov 2008
Posts: 8

View user's profile Send private message

compact flash card development
PostPosted: Fri Aug 07, 2009 2:23 am     Reply with quote

Hi, currently I am doing a system deal with compact flash card. Does anybody have done any related project with CF card? Can share with me?Thanks in advance.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Fri Aug 07, 2009 10:42 am     Reply with quote

Have you tried Google?
In the first hit I found Circuit Cellar - PIC a CompactFlash Card Which looks like a very promising start.

Most people programming for the PIC are using SD cards as these can be accessed using SPI as opposed to the parallel ATA interface for the Compact Flash cards.
SPI = 4 I/O pins
ATA = 17 I/O pins....
ratgod



Joined: 27 Jan 2006
Posts: 69
Location: Manchester, England

View user's profile Send private message

PostPosted: Fri Oct 30, 2009 8:07 pm     Reply with quote

I'm currently working on a project that has an IDE hard disk connected to a PIC18F4523, I based it on the text from this page:

http://www.pjrc.com/tech/8051/ide/wesley.html#8255ide

so far I can read the drive specifications, power down/up the drive, and read a sector.

I know its not CF but CF and IDE are supposed to be almost identical.

I can post my schematic and code if its any help, but keep in mind its far from finished.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Sat Oct 31, 2009 2:00 am     Reply with quote

Nearly everything above the read/write sector level can be copied from a SD card project. For the CF card access in true IDE mode, you have an option to use a 8-Bit data bus that's not available with hard drives. So you can save 8 data lines.

However, a few CF products have problems with true IDE mode. Sometimes, the issues arised with a known product, when the maufacturer changed the CF controller chip without notice.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group