Atmel website | ARM Community | AVR freaks | Technical Support
Banner
AT91SAM webmasterAvatar
Written by AT91SAM webmaster
 
Hits (791) || Votes (1) || Comments (0)
Created Monday, 16 August 2010
Last updated Monday, 16 August 2010
Title SAM3U USB Device massstorage project
Description 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:
- Sample usage of USB MSD driver.
- USB MSD driver development based on the AT91 USB Framework.
- USB enumerate sequence, the standard and class-specific descriptors and requests handling.
- The initialize sequence and usage of UDP interface.

Requirements:
This package can be used with all Atmel evaluation kits that have USB interface.

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.

Type of project Software
Development tools IAR EWARM
Product series
AT91SAM kits
More details
SAM3U Software Package
File 1281967752_usb-device-massstorage-project-at91sam3u-ek-iar.zip (Size: 367 Kb | Hits: 17)

Comments

There are no comments for this item

Be the first to leave a comment

Login to leave a comment