AT90USBxxx USB Mass storage

License

Use of this program is subject to Atmel's End User License Agreement.

Please read file LICENSE.TXT for copyright notice.

Description

This embedded application source code illustrates how to implement a USB mass storage application over the AT90USBxxx controller.

About the sample application

By default the sample code is delivered configured for AT90USBKey, but this sample application can be configured for both STK525 or AT90USBKey hardware, see TARGET_BOARD define value in config.h file.

New in 1.0.4 delivery from 1.0.3

New data flash driver that improves write access time (double speed). Dataflash content written with the previous data flash driver should be previously backup before using this new firmware. The new driver version needs to reformat the data flash memory.

About the source code

This source code is usable with the following compilers:

Support for other compilers may required modifications or attention for:

Architecture

As illustrated in the figure bellow, the application entry point is located is the main.c file. The main function first performs the initialization of a scheduler module and then runs it in an infinite loop. The scheduler is a simple infinite loop calling all its tasks defined in the conf_scheduler.h file. No real time schedule is performed, when a task ends, the scheduler calls the next task defined in the configuration file (conf_scheduler.h).

The sample dual role application is based on two different tasks:

arch_full.gif

Generated on Fri Oct 31 16:13:16 2008 for ATMEL by  doxygen 1.5.3