usb-device-massstorage-project
Default mainpageusb-device-massstorage-project
Description Graph
usb-device-massstorage-project
 
Purpose
The USB Massstorage Project will help you to get familiar with the USB Device Port(UDP) on 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 Mass Storage class (MSD).

You can find following information depends on your needs:
See

Requirements
This package can be used with all Atmel evaluation kits that have both UDP interface and SDRAM or internal Flash.

The current supported board list:
Description
When an EK running this program connected to a host (PC for example), with USB cable, the EK appears as a USB Disk for the host. Then the host can format/read/write on the disk.

If there is SDRAM on the EK, the disk can be up to 10M so that read/write speed can be tested.

If there is no SDRAM but only internal flash, the disk is about 30K and only small file can be tested.

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 Device Mass Storage 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 and Disk installation. . Then new "USB Mass Storage Device" and "ATMEL Mass Storage MSD USB Device" and "Generic volume" appear in hardware device list.
  6. You can find the new disk on host, and to create/write file to it.
 
Source
The documentation for this Directory was generated from the following files:
  • main.c