App note: Using USB flash drives with USB host capable PICs

Posted on Saturday, January 12th, 2013 in app notes by DP


Here’s an app note from Microchip describing how to use USB flash devices with microcontrollers that have USB host capability. The article also provides instructions on how to use the USB OTG Configuration tool.

This document describes the USB Data Logger, Mass Storage demo application. It gives an overview of the application’s firmware, how it operates, and describes how it was  configured using the USB Configuration tool. This includes support for FAT16 and FAT32

This entry was posted on Saturday, January 12th, 2013 at 1:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

6 Responses to “App note: Using USB flash drives with USB host capable PICs”

  1. Sleepwalker3 says:

    The video has been “removed by the user”

  2. Markus Gritsch says:

    Some time ago I made a PIC32 access a USB flash drive using the FATFS library. I wanted to have LFS (long filename support) which is explicitly missing from Michrochips solution.

    Here is a link containing more information:

  3. Matt Bennett says:

    Microchip’s stack does support long file names (now). I believe there was some difficulty/confusion about licensing the patents for LFN from Microsoft. I’m not sure of the exact circumstances that made Microchip change its mind.

  4. Sleepwalker3 says:

    Thanks Matt, that’s handy to know. I heard a few good things about fatfs and it sounds as if Markus thought it was OK too, have you done anything or heard anything about how well Microchips LFN stuff works?

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • KH: Well, I'm sure the HDD can handle a little vibration *cough*. What I am more interested in is this: the fan appears to be placed...
  • Alan: The Si5351 runs on 3.3V, and several FPGA dev boards now include "Arduino compatible" headers [if you stick to 3.3V logic levels]. Maybe it's time...
  • hli: Sunday++
  • JB: Hi
  • Peter: Sunday