usb-device-composite-cdchid-project
Default mainpageusb-device-composite-cdchid-project
Description Graph
usb-device-composite-cdchid-project
 
Purpose
The USB COMPOSITE Project will help you to get familiar with the USB Device Port(UDP)interface and also some of the other interfaces in AT91SAM microcontrollers. Also it can help you to be familiar with the USB Framework that is used for rapid development of USB-compliant class drivers such as USB Communication Device class (CDC), and how to combine two USB functions to a single composite device (such as CDC + MSD).

You can find following information depends on your needs:
See

Requirements
This package can be used with some of Atmel evaluation kits that have UDP interface, depending on the functions included.

The current supported board list:
Windows Driver Update
The composite device is generally supported by Microsoft windows, but some patches are needed for muti-interface functions such as CDC & Audio. The example composite devices are tested under windows XP (SP3). For CDC serial port, additional windows driver file (CompositeCDCSerial.inf) can be found at at91lib.

The following is alternate update to fix the composite device support on windows XP:

Install Windows Service Pack 3 (SP3)
All the fixes for USB generic driver are included in window XP service pack 3. It can be found at http://technet.microsoft.com/zh-cn/windows/bb794714(en-us).aspx .

Install Windows Hot Fixes
Two hot fixes are necessary for window to recognize the composite device correctly:

  1. http://support.microsoft.com/kb/814560
  2. http://support.microsoft.com/kb/918365

Description
When an EK running this program connected to a host (PC for example), with USB cable, host will notice the attachment of a USB device. No device driver offered for the device now.

Usage
  1. 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.
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. In the terminal window, the following text should appear:
    -- USB Composite Device Project xxx --
    -- AT91xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
    
  5. When connecting USB cable to windows, the LED blinks, and the host reports a new USB device attachment.
  6. For the windows driver installation and the test functions, please refer to "USB CDC serial converter" & "USB HID Keyboard Project".
  7. You can use the inf file at91lib\usb\device\composite\drv\CompositeCDCSerial.inf to install the CDC serial port.
 
Source
The documentation for this Directory was generated from the following files:
  • main.c