The Card Reader SDCard BoosterPack
The Card Reader is an SDCard BoosterPack for the MSP430 Launchpad. Although the Card Reader supports the standard SDCard form factor, it can be used with mini and mico SDCards with an adaptor. The BoosterPack comes with breakouts for standard SDCard signals and also an LED to indicate that a card has been inserted.
|The Card Reader
|43oh Forum Thread
|v1.0, v1.1, v1.2
|@The 43oh Store, Assembled
|@The 43oh Store, PCB
- Fits the MSP430 Launchpad.
- Separate breakout pins for SDCard SPI signals.
- LED indicator for SDCard insert.
- Solder jumpers to disconnect BoosterPack signals.
Connecting the SDCard BoosterPack
The SDCard can easily be connected to an MSP430 Launchpad. The MSP430 SDCard firmware is based on the Elm-Chan Petite FatFS code. We use the Petite FatFS version as the MSP40G2553 Value Line micro-controller is limited in RAM memory. The only disadvantage of this is that the user will have to create a file on the SDcard before using it on the Launchpad.
Make sure you have the UART jumpers setup on the Launchpad correctly. We are using P1.1 and P1.2 as TX and RX to talk to a PC via software serial.
Format your SDCard to FAT16 or FAT32 and create a file test.txt on it and add some content to it. We will open this file using our Launchpad later.
Download the appropriate firmware from the "Download" section in this page. Program your firmware to the Launchpad. Here we use Code Composer Studio which is free for the Launchpad.
- Now create a file test.txt on your card in your PC. Add a line "This is a test." in the file.
- Remove it from your PC and insert the SDCard into the socket on the BoosterPack. You will notice the LED next to the socket light up.
Fire up your terminal software. We will use Tera-Term for this example. Set it up at 9600, 8-bit, no parity and no flow control. Also, it would be good if you could enable local echo. Press the Reset button on the Launchpad. You should see the following on your terminal.
You need to run disk initialize first, followed by file initialize as shown below. You should get a return code of 0 or FR_OK. If not, then something is not right. Press enter after each command.
|Lists files in the SDCard
|Dumps content of open file