# Template

## Purpose

This application implements a CCID driver.

## Hardware Requirements

This package can be used with Atmel evaluation boards with a smartcard reader attached.

## Description

This application implement a CCID driver. Different tests can be done with the Windows(c) software Smart Access(c). Smart Access: a powerful scripting tool to write sequences of commands.

WARNING: on the SAM7X/XC evaluation kit, the project only works in internal flash.

## Usage

1. Install Smart Access(c) software.
2. Build the application and download it inside the evaluation board. 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.
3. On the computer, open the DBGU port with a terminal application (e.g. HyperTerminal on Microsoft Windows).

- Settings: 115200 bauds, 8 bits, 1 stop bit, no parity, no flow control.

4. Start the application.
5. In the terminal window, the following text should appear:

   > `-- USB Device CCID Project 1.4 --`

6. Connect the USB cable to the board. Traces should start to appear on the terminal.
7. If this is the first time the device is connected to the PC, the operating system may take some time to install it. The device is enumerated as a Smart Card Device implementing CCID class. The host use the CCID device driver (usbccid.sys) as the functionnal driver.
8. Launch Smart Access and connect it to the Card Reader Atmel.
9. Use Smart Access for launch instruction command. Note that instruction command case one, two and three are implemanted.

###### Atmel Corporation ©2008