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 Device Using a PIC® MCU

From Microchip Technology, Inc.
 

 
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 implementation of a USB Mass Storage Device (MSD) using a Secure Digital card, which should prove useful to developers of USB mass storage solutions. This application may be used as a stand-alone MSD or as a Secure Digital/Multimedia Card (SD/MMC) reader/writer interface. A device endpoint is defined in the USB V2.0 specification as "a uniquely addressable portion of USB device that is the source or sink of information in a communication flow between the host and device" (see "References"). The unique address required for each endpoint consists of an endpoint number (which may range from 0 to 15) and direction (IN or OUT). The endpoint direction is from the host's perspective; IN is towards the host and OUT is away from the host. An endpoint configured to do control transfers must transfer data in both directions, so a control endpoint actually consists of a pair of IN and OUT endpoints that share an endpoint number. All USB devices must have Endpoint 0 configured as a control endpoint.

Product Announcements
ROHM Semiconductor, USA LLC - ROHM’s Audio System LSI Solution
ROHM's BU9432-C1 and BU9434-C2 audio system LSIs integrate a USB 2.0 full-speed host controller, a 3-channel power supply, an MP3 decoder, a DAC, and a system controller into a single chip, allowing... (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)
Cables To Go - TRULink™ Wireless USB Device Adapter Kit
Wirelessly access a USB device up to 30 feet away - especially great for printers, projectors, and whiteboards!... (read more)
Indesign, LLC. - USB Technology
Indesign has a thorough understanding of USB 1.1 and 2.0 interface standards, requirements, features and protocols. To decrease product USB engineering development time, we developed a software... (read more)

Topics of Interest
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... (Read More)
The Set_Report request is a HID specific command. It was the only provision in Version 1.0 of the USB specification that could send data from the host to a peripheral. This later changed with Version... (Read More)
Among the USB device classes natively supported by popular operating systems, the USB Mass Storage Device (MSD) class is one of the most widely supported device classes. A USB device that supports... (Read More)
USB devices are now part a daily life for many people throughout the world. Removable USB hard drives, USB memory sticks (thumb drives), multi-card readers and many digital cameras appear as a new... (Read More)
AN1045 Implementing File I/O Functions Using Microchip's Memory Disk Drive File System Library have two electrically determined signals, card detect Author: Peter Reen and write-protect, that allow... (Read More)