EmbeddedRelated.com
Forums

maximum uart speed

Started by cm June 18, 2003
Hi,

> I am interested in your comment about MMC + SD
cards though. Sometime
> in the near future we will be wanting to datalog and these cards
> would be ideal. Is it easy to buy the sockets for them, and is the
> software easy? - Perhaps there are examples out there somewhere?

after completing the software for reading and writing data and register it is
easy. But it took me 2 weeks and the help from TI to do it because the cards
even from sandisk are not doing what the standard says; the timing diagrams from
sandisk do not show the real behaviour. 
The people at TI found out that the cards in some situations do need more than
255 dummy cycles, which means more than 2040 clock cycles.
And some commands can kill the card although the standard says this is not
possible.

TI will release an Application Report in a few months.
You can find the code from TI here:
http://www.mikrocontroller.net/attachment.php/28829/kartenleser.zip

Regards 

Rolf F.



Beginning Microcontrollers with the MSP430

Hi Rolf,

Thanks for the info. I opened the zip file and read the comments - 
early days yet! We won't be doing anything with the datalog bit 
until we get some other items completed, probably in 4-5 months 
time. Perhaps I will bug you again later!

Thanks again.

Graham G.

> > I am interested in your comment about MMC +
SD cards though. 


Hi,

> I am interested in your comment about MMC + SD
cards though. 

the most card readers are mass storage class compatible. The card can be used
like a scsi-disk with this readers. You can read and write with dd (Linux/Unix
or Cygwin + MS-Windows):

dd if=/dev/sdb of=outfile.1
dd if=infile.2 of=/dev/sdb

and if the card has a valid partition table you can mount the partitions as
usual hard disk partitions, boot from a partition or use encrypted or
steganografic partitions - even without SD card features.

The usual USB-readers are using 10 MHz and MMC mode (1 wire for data) for
reading and writing.

Rolf F.



--- In msp430@msp4..., <nobodyo@w...> wrote:
Rolf,
The eventual application is to record some crane related activity, 
angle, load, boom length etc, At the moment we are using a seperate 
unit using a PCMCIA hard disk, works fine, but it is getting a bit 
long in the tooth. I have a camera using SD and if Minolta can do it 
why can't we!
See you.
G.
> 
> > I am interested in your comment about MMC + SD cards though. 
>