Go to GlobalSpec.com Home
Alert   Product Alerts
Keep current on the latest products, new suppliers, and technical articles of interest to you. (See Topics)

USB Mass Storage Class on an Embedded Device

From Microchip Technology, Inc.
 

 

AN1169 USB Mass Storage Class on an Embedded Device FEATURES Author: Sean Justice Microchip Technology Inc. This application note provides key components of an MSD device function driver. The Microchip MSD device function driver incorporates the following features: INTRODUCTION * Functions independently of RTOS or application In recent years, there has been immense growth in * Supports Microchip MPLAB IDE tool suite Universal Serial Bus (USB) based applications, * Supports the MSD 1.0 specification primarily due to the Plug-and-Play nature of USB. * Uses two USB endpoints that are configured for This application note discusses and provides a Mass bulk transfers Storage Device (MSD) function driver that can be inte- * File system support (FAT16, FAT32, NTFS) is grated with almost any application running on Micro- dependent on the host OS ® microcontroller products with USBchip 32-bit PIC * No custom drivers required peripheral support. It describes the design and imple- * Handles standard MSD USB configuration mentation of a USB MSD function driver using a requests, as stated in Chapter 9 of the "Universal Secure Digital card, which is useful to developers of Serial Bus Specification, Revision 2.0" (available USB mass storage solutions. on the Internet at the following URL: This application may be used as a stand-alone MSD or http://www.usb.org/developers/docs/ as a Secure Digital/Multimedia Card (SD/MMC) reader/ writer interface. The MSD function driver uses the LIMITATIONS Microchip PIC32 USB device stack. Since the MSD function driver is developed for use in embedded systems, the limitations are those that areASSUMPTIONS inherited by the USB device stack (refer to Microchip The author assumes that the reader is familiar with the Application Note AN1176, "USB Device Stack for ® IDEfollowing Microchip development tools: MPLAB PIC32 Programmer's Guide". and MPLAB REAL ICE™ in-circuit emulator. It is also assumed that the reader is familiar with C programming SYSTEM HARDWARE language, and USB device protocol and descriptors. Terminology from these technologies is used in this This application and firmware was developed for the document, and only brief overviews of the concepts are following hardware: provided. Advanced users are encouraged to read the * PIC32MX Family Microcontroller PIM (Processor associated specifications. Interface Module), supporting USB * Microchip Explorer 16 Development Board * USB PICtail™ Plus Daughter Board * PICtail™ Daughter Board for SD and MMC Cards The USB device and MSD function driver source files can be modified to use an alternative development board and accommodate most hardware differences.


Product Announcements
Microchip Technology, Inc. - Embedded Wi-Fi in PIC® Microcontroller With ZeroG
Explorer 16 Development Kit and PICtail™ Daughter Board Available Now from microchipDIRECT; Enable Wi-Fi Wireless Networks Using 8-, 16- or 32-bit PIC MCUs... (read more)
Atmel Corporation - AVR MCUs Combine USB, Battery Charging and Analog
New AVR® microcontrollers combine USB controller and high performance analog features. The ATmega16U4 and ATmega32U4 reduce system cost in battery powered devices such as gaming accessories. (read more)
Microchip Technology, Inc. - ISM Band, Sub-GHz Transceiver Radio
MRF49XA Radio is Ideal for Bi-Directional, Short-Range Wireless Applications; Provides Cost-Effective, Easy Integration With PIC® Microcontrollers... (read more)
Microchip Technology, Inc. - Longer-Range IEEE 802.15.4 Wireless Module
Microchip Technology Inc., a leading provider of microcontroller and analog semiconductors, today announced from the Sensors Expo in Chicago two additions to its IEEE 802.15.4 and ZigBee® portfolio... (read more)
Microchip Technology, Inc. - 100 Mbps Ethernet Controllers
Low-Cost ENC624J600 10/100Base-TX, MAC & PHY Ethernet Controllers Provide Cryptographic Security Hardware and Factory Preprogrammed MAC Addresses... (read more)
ACCES I/O Products, Inc. - Model USB-DIO-32
SAN DIEGO, CA-May 23, 2005-ACCES I/O Products reveals its newest digital I/O product, Model USB-DIO-32. This USB device is an ideal solution for adding portable, easy-to-install, digital I/O and... (read more)
Microchip Technology, Inc. - MASTERs Conference 2009
The MASTERs Conference is 3 days of technical training for embedded systems design engineers. The numerous topics are taught by Microchip product developers and technical experts. (read more)
Microchip Technology, Inc. - Lowest Voltage EEPROM Devices on the Market
Microchip Technology Inc., a leading provider of microcontroller and analog semiconductors, today announced a series of I2C™ EEPROM devices with the lowest operating voltage available on the... (read more)

Topics of Interest
AN1163 USB HID Class on an Embedded Device FEATURES Author: Sean Justice Microchip Technology Inc. This application note provides key components of a HID device class driver. The Microchip HID device... (Read More)
AN1163 USB HID Class on an Embedded Device FEATURES Author: Sean Justice Microchip Technology Inc. This application note provides key components of a HID device class driver. The Microchip HID device... (Read More)
AN1176 USB Device Stack for PIC32 Programmer's Guide ASSUMPTIONS Author: Bud Caldwell Microchip Technology Inc. 1. Working knowledge of C programming language 2. Familiarity with the USB 2.0 protocol... (Read More)
In recent years, there has been immense growth in Universal Serial Bus (USB) based applications, primarily due to the Plug and Play nature of USB. This application note describes the design and... (Read More)
AN1141 USB Embedded Host Stack Programmer's Guide FEATURES Author: Bud Caldwell Microchip Technology Inc. * Supports USB embedded host applications * Handles device enumeration and configuration *... (Read More)