New Technology‎ > ‎

MSP430 with micro SD

Here's the test I set myself -  interface an EZ430-T2012 module to a 1GB micro SD card.
 

Hardware

  1. EZ430-T2012 module with 0.1" sockets attached
  2. 1GB micro SD card
  3. micro SD to SD adaptor with 0.1" pins attached
  4. Bimboard

Software

  1. Texas Instruments Application Report SLAA281B
  2. 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

 
   
Comments