Stamp to Compac Flash, Smart media, USB Flash Drive
Archiver
Posts: 46,084
Does anyone have info about interfacing a stamp with Compac Flash,
Smart media, USB Flash Drive. I need to write a text based log file
to be downloaded to a PC at a later date.
Thanks,
Tom
Smart media, USB Flash Drive. I need to write a text based log file
to be downloaded to a PC at a later date.
Thanks,
Tom
Comments
I have done that using the I2C bus. Although for the Javelin it could be
used by a basic stamp as well.
http://f3.grp.yahoofs.com/v1/MGXQPxDtSABLRojKgx25tXH2urhkrPWCpRnmPL0_O5IEqGyWwPw\
cvJTYOfU5NNRC4Xq1e1Hm2DWYX97Wxdq_a3MsIWC_pNHaudQ/Javelin%20Stamp%20IDE/lib/stamp\
/peripheral/memory/compactflash/I2C-CF-interface.pdf
All info is available at the javelin forum list
http://groups.yahoo.com/group/javelinstamp
You must join this group to access the files.
Go to the files section.
The info is located at: Javelin stamp
ide/lib/stamp/peripheral/memory/compactflash
Access using I2C is slow but doable. Problem with the basic stamp is lack of
memory because the CF requires
512 bytes for sector storage. You need to process read data as you read it
unless you temporarily store it
in eeprom or ram. Writing must be done per 512 bytes.
Or you could use the MVS stamp drive.
http://www.star.net/people/~mvs/SDRVSPEC.TXT
This only provides sector read and write.
When you browse through the javelin files section you find a simple fat16
program.
The easiest way would be to create a fixed size file in the root (after
format) of the CF using the PC.
Then you can culculate the LBA of the first sector of the file. Sector
numbers are adjacent so you
could write directly to the sectors without using the FAT.
Or perhaps Parallax can provide an RS232 memory stick.
See my next post about the Stache.
regards peter
Original Message
From: "tip32a" <tip32a@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, December 05, 2003 6:15 AM
Subject: [noparse][[/noparse]basicstamps] Stamp to Compac Flash, Smart media, USB Flash Drive
> Does anyone have info about interfacing a stamp with Compac Flash,
> Smart media, USB Flash Drive. I need to write a text based log file
> to be downloaded to a PC at a later date.
>
>
> Thanks,
>
> Tom
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>