USB Library
Device - Mass Storage - Internal Flash Demo

Supported Demo Boards 

The matrix of which demos are supported on a specific board can be found in the Release Notes demo board support section. Verify that the board you wish to use will work with this demo. This table also describes some of the limitations that the board might have while running this demo. 

Demo Board I/O Mapping 

Each demo board has a different number of push buttons, LEDs, and other features with various different names for these components. To determine which board features are used for which demo features, please refer to the io_mapping.h file in the demo folder under the system_config folder. Each demo board will have a corresponding folder with an io_mapping.h file in it. For example, for the PIC18F46J50 PIM this would be the following file: 

<install_directory>/apps/usb/device/msd_internal_flash/firmware/src/system_config/pic18f46j50_pim/io_mapping.h 

For more information about each demo board, please refer to the Demo Board Information section

Demo Operation 

This demo uses the selected hardware platform as an drive on the computer using the internal flash of the device as the drive storage media. Connect the hardware platform to a computer through a USB cable. 

The device should appear as a new drive on the computer named “Drive Name”. The volume label or file information can be changed in the Files.c file located in the project directory.

Topics
Name 
Description 
Issue 1: The device appears correctly in the device manager, but no new drive letters appear on a Windows® operating system based machine.
Solution: See Microsoft knowledge base article 297694: http://support.microsoft.com/kb/297694
If there is a drive letter conflict (ex: because a network drive has been mapped to a letter low in the alphabet), on some operating systems the newly attached USB drive may not appear. If this occurs, either obtain the hotfix from Microsoft, or remap the conflicting mapped network drive to a letter at the end of the alphabet (ex: Z:).

Issue 2: The device enumerates... more 
MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla