Searching \ for ' [PIC] CompactFlash to PIC interface' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/memory.htm?key=flash
Search entire site for: 'CompactFlash to PIC interface'.

No exact or substring matches. trying for part
PICList Thread
'[PICLIST] [PIC] CompactFlash to PIC interface'
2001\02\14@123422 by Mark Samuels

flavicon
face
A while ago I mentioned that I had interfaced a 16F877 to a CompactFlash
Card, and that I was writing an article for Circuit Cellar Online Magazine
detailing it.  The article can be found at
http://www.chipcenter.com/circuitcellar/february01/c0201ms1.htm

-Mark


-------------------------------------------
Mark Samuels
ARMA Design
Tel:(858) 549-2531
Fax:(858) 549-2594
Email: spam_OUTmarkTakeThisOuTspamarmanet.com
Web: http://www.armanet.com



The information contained in this electronic message is private and may
contain privileged, confidential or inside information.  Any distribution,
copying or forwarding or use of this communication by anyone other than the
intended recipient(s) is strictly prohibited and may be unlawful.

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body


2001\02\14@133951 by M. Adam Davis

flavicon
face
YAY!!  YAY!!  YAY!!

Long live those who contribute!!

-Adam

P.S.  Just in case you couldn't tell, I'm rather pleased about this.  May
the roof over your head never leak until it rains gold.

Mark Samuels wrote:
{Quote hidden}

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email EraseMElistservspam_OUTspamTakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body


2001\02\14@141324 by R. Michael O'Bannon

picon face
----- Original Message -----
From: "Mark Samuels" <markspamspam_OUTARMANET.COM>
To: <@spam@PICLISTKILLspamspamMITVMA.MIT.EDU>
Sent: Wednesday, February 14, 2001 12:41 PM
Subject: [PICLIST] [PIC] CompactFlash to PIC interface


> A while ago I mentioned that I had interfaced a 16F877 to a
CompactFlash
> Card, and that I was writing an article for Circuit Cellar Online
Magazine
> detailing it.  The article can be found at
> http://www.chipcenter.com/circuitcellar/february01/c0201ms1.htm

Mark,

Thanks for a very useful article.  Is anyone able to read the .pdf
version?  When I download it, it locks up my system.

Best regards,
Michael

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email KILLspamlistservKILLspamspammitvma.mit.edu with SET PICList DIGEST in the body


2001\02\14@141730 by Stephen Holland

flavicon
face
No problems here...

{Quote hidden}

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email EraseMElistservspammitvma.mit.edu with SET PICList DIGEST in the body


2001\02\14@151207 by o-8859-1?q?SZE=20KEAT=20CHEE?=

picon face
Hello Micheal

  I got no problem to read up
the .pdf version.

Chee Sze Keat

--- "R. Michael O'Bannon" <RemoveMEmobEraseMEspamEraseMEMINDSPRING.COM> wrote:
> {Original Message removed}

2001\02\15@022534 by Peter Betts

picon face
Mark,

You discuss about FAT format files on the FlashCard. Eventually I would like
to be able to store a data file onto the FlashCard and then be able to read
it off as a simple file from the card in my PC or Laptop, for data logging
or something.

I'm about to order one of the dev kits but wondered if you we able
(copyright etc) to divulge the simplest method of PC and PIC file writing on
the FlashCard, you mention it and have subsequently captured my interest in
this as well?

Great article by the way. Something I've wanted to do for a long time but
the Flash specifications we just too daunting.

One other question. How did you configure the FlashCard to output it's data
in BYTEs, I see you read the port twice and I'm assuming this first puts the
first word on the high byte of the data bus and data on the low byte which
you cannot read and then the second read puts the 2nd byte of data on the
high byte of the data bus and then the third byte is on the low byte of the
data bus which you cannot read.

Is this how it works? Is there a configuration or pin you've held to force
8byte direct memory mode rather than the IDE mode? I couldn't spot that bit.

It might be easier to direct me to the relevant section in the spec and
where the spec is.

Thanks again.

Pete


> A while ago I mentioned that I had interfaced a 16F877 to a
> CompactFlash
> Card, and that I was writing an article for Circuit Cellar
> Online Magazine
> detailing it.  The article can be found at
> http://www.chipcenter.com/circuitcellar/february01/c0201ms1.htm

--
http://www.piclist.com hint: To leave the PICList
RemoveMEpiclist-unsubscribe-requestspam_OUTspamKILLspammitvma.mit.edu


2001\02\15@024915 by Peter Betts

picon face
I think I've just spotted it. Doh!

http://www.compactflash.org/specdl1.htm.

http://209.67.75.168/hardware/fatgen.htm

Sorry. Help if I read the references.

Even so a PIC programming view to all this FAT would be nice to hear :-)

Pete

> -----Original Message-----
> From: ext Peter Betts [RemoveMEext-peter.bettsTakeThisOuTspamspamNOKIA.COM]

> Mark,
>
> You discuss about FAT format files on the FlashCard.

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspamspamspamBeGonemitvma.mit.edu


2001\02\15@034819 by Ken Robertson

flavicon
face
----- Original Message -----
From: Peter Betts <RemoveMEext-peter.bettsKILLspamspamNOKIA.COM>
To: <PICLISTSTOPspamspamspam_OUTMITVMA.MIT.EDU>
Sent: Wednesday, February 14, 2001 11:25 PM
Subject: Re: [PIC] CompactFlash to PIC interface


> Mark,
>
> You discuss about FAT format files on the FlashCard. Eventually I would
like
> to be able to store a data file onto the FlashCard and then be able to
read
> it off as a simple file from the card in my PC or Laptop, for data logging
> or something.

You already can read a CompactFlash, and just about any other flash media,
from a PC/laptop.  My digital camera uses CF and I have a PCMCIA adapter to
plug into my laptop to read directly off the card as though it was another
drive.  Only cost $15 too.  They also make USB adapters for all the flash
medias, but they probably cost more.  I know SmartMedia USB and PCMCIA
adapters cost more.

Ken

--
http://www.piclist.com hint: To leave the PICList
spamBeGonepiclist-unsubscribe-requestSTOPspamspamEraseMEmitvma.mit.edu


2001\02\15@035714 by Peter Betts

picon face
This is exactly what I currently do but I was wondering how I could save
data onto the FlashCard in a format that would look like a FAT32 file under
windows etc. i.e. plug in the FlashCard to the PIC hardware, store my logged
data, then take it out and load it up to a PC by just dragging and dropping
the file from the FlashCard to the PC.

I also know I could just use WinHex or something similar to just suck up raw
data but Mark suggested that you could format the FlashCard in a PC and then
add to it with compatible FAT32 files rather than raw data in your PIC
hardware.

I tried posting this but the MailBox was full.

http://www.compactflash.org/specdl1.htm.

http://209.67.75.168/hardware/fatgen.htm

Regards,

Pete


{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestspamBeGonespammitvma.mit.edu


2001\02\15@065011 by o-8859-1?Q?K=FCbek_Tony?=

flavicon
face
...smoking...!

;-) ..just this morning I was laying the ground work
for a compact flash option to one of our products,
I almost fell of the chair.. :)

did I say thank you ?...

/Tony


Tony Kübek, Flintab AB            
²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²
E-mail: EraseMEtony.kubekspamEraseMEflintab.com
²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²

--
http://www.piclist.com hint: To leave the PICList
@spam@piclist-unsubscribe-request@spam@spamspam_OUTmitvma.mit.edu


2001\02\15@094138 by Thomas McGahee

flavicon
face
Sometimes you can come up with a subset of the specification
that is compatible enough to get the job done. For example,
in the bad old days of CP/M I wrote a routine for a
datalogger that allowed it to read and write data to a
SINGLE file that had a FIXED name and even a fixed starting
position on the disk. Since this was the ONLY file on the
disk, the file allocation table was easy to build and use,
as I basically stored the data in sequential blocks. This made
the writing of the file at the datalogger side very simple.
The cpu used for the datalogger was a Z80, and I used a
Western Digital floppy controller chip for the interface.

I kept things standard enough that a computer running CP/M
could read the single file with no problems. The CP/M
computer was also used for creating the formatted disk
and placing the initial empty file onto the disk.

This resulted in a minimum amount of hassle, and a product
that was standard enough to be useable on any CP/M
machine that was equipped to read 5 1/4" disks.

I would think that a single file on a datalogger would
be OK for most applications. Does anyone know if the
RAM buffer in the CF cards is addressable by the host?
If so, you would not need too much RAM on the PIC side.
If not, then you might still get away with minimal ram
so long as you can feed the data in serial fashion to
the CF card's buffer as it is generated. Either way
I wouldn't think it would be too difficult to come up
with a subset of the file system that you could handle
on a PIC with relative ease.

Fr. Tom McGahee

{Original Message removed}

2001\02\15@111418 by Alan B. Pearce

face picon face
>This is exactly what I currently do but I was wondering how I could save
>data onto the FlashCard in a format that would look like a FAT32 file under
>windows etc. i.e. plug in the FlashCard to the PIC hardware, store my logged

why would you need a FAT32 file system? If it is using FAT12 or FAT16 it will be
readable by any version of windows. FAT32 will only use up more of the flash
card with FAT table space, thereby reducing the data space compared to FAT 12 or
FAT16.

--
http://www.piclist.com hint: To leave the PICList
spamBeGonepiclist-unsubscribe-requestspamKILLspammitvma.mit.edu


2001\02\15@112042 by Robert Shady

picon face
That is correct, but if you read the article,
he states that a Compact Flash card works
very similar to a hard drive, and with his
code he is reading & writing DIRECTLY to
specific sectors on the flash, which therefor
could not easily be read (as a FAT/FAT32) drive
on your PC, you would have to get a program that
would read very specific sectors...

-- Rob

--- Ken Robertson <.....kenspam_OUTspamQGYEN.NET> wrote:
> {Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...