Here's the test I set myself - interface an EZ430-T2012 module to a 1GB micro SD card.
Hardware
- EZ430-T2012 module with 0.1" sockets attached
- 1GB micro SD card
- micro SD to SD adaptor with 0.1" pins attached
- Bimboard
Software
- Texas Instruments Application Report SLAA281B
- SD pinouts
Notes
To test reading first write some data using Cygwin (or any other method that allows writing of data to the raw 'volume'.
First, without the SD card in a USB reader check for available disks and partitions. Then insert the card and check again.
Like this -
$ cat /proc/partitions
major minor #blocks name
8 0 58615704 sda
8 1 51604528 sda1
8 2 7008120 sda2
$ cat /proc/partitions
major minor #blocks name
8 0 58615704 sda
8 1 51604528 sda1
8 2 7008120 sda2
8 16 994816 sdb
8 17 994816 sdb1
$
Now write some data to the card. Using the dd command with "bs=512" successfully wrote one sector to the card. Any other block size failed. This" problem" was confirmed with SPI code on the MSP430. So reading small blocks works, but writing is only possible in 512 byte blocks.
Photographs