# Basic SD Card Project 1.4

## Purpose

This application performs several read & write tests on a Secure Digital (SD) card inserted into the evaluation kit.

## Hardware Requirements

This package can be used with the following Atmel evaluation kits:

- AT91SAM9260-EK
- AT91SAM9261-EK
- AT91SAM9263-EK
- AT91SAM9RL-EK
- AT91SAM9XE-EK
- AT91SAM9G20-EK
- AT91CAP9-DK
- AT91CAP9-STK

## Description

When launched, the example will wait for a SD card to be connected, if the evaluation board supports this feature (i.e. a PIO is connected for that). Once the card is connected, it is initialized and then several read/write tests are performed on it.

## Usage

1. Compile the application.
2. Connect the DBGU port of the evaluation board to the computer and open it in a terminal. Debug information output by the device will be visible that way.
   - Settings: 115200 bauds, 8 bits, 1 stop bit, no parity, no flow control.
3. Download the program inside the evaluation board and run it. Please refer to the SAM-BA User Guide, the GNU-Based Software Development application note or to the IAR EWARM User Guide, depending on your chosen solution.
4. Upon startup, the application will output the following lines on the DBGU:

   > `-- Basic SD-Card Project 1.4 --
   > -I- Please connect a SD card ...`

5. As soon as a SD card is connected, the tests will start. Please note that testing the whole device may take a very long time, depending on its size.

###### Atmel Corporation ©2008