usb-device-ccid-project
Default mainpageusb-device-ccid-project
Description Graph
usb-device-ccid-project
 
Purpose
This example demonstrates the CCID (USB Chip/Smart Card Interface Devices) on AT91 microcontrollers.

Requirements
This example can be used on AT91SAM9260-EK, AT91SAM9263-EK, AT91SAM9G20-EK, AT91SAM9XE-EK.

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.

Usage
  1. Install Smart Access(c) software.
  2. Build the program 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 and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 data bits
    • No parity
    • 1 stop bit
    • Hardware flow control (RTS/CTS)
  4. Start the application. The following traces shall appear on the terminal:
    -- USB Device CCID Project xxx -- 
    -- AT91xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
    
  5. Connect the USB cable to the board. Traces should start to appear on the terminal.
    If this is the first time the device is connected to the PC, the operating system may take some time to install it.
  6. The device is enumerated as a Smart Card Device implementing CCID class.
  7. 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.
    Use Smart Access for launch instruction command.
    Note that instruction command case one, two and three are implemanted.

Contents
The definitions and functions provided are dispatched inside a number of files:
 
Source
The documentation for this Directory was generated from the following files:
  • main.c