This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

2.6. USB MSC RAM DISK

2.6.1. Overview

This example project shows USB MSC devcie

  • PC sees a USB disk via Device Manager

2.6.2. Board Setting

  • Connect a USB port on PC to the PWR DEBUG port on the development board with a USB Type-C cable

  • Connect a USB port on PC to one of USB port on the development board with a USB Type-C cable

2.6.3. Running the example

  • Download the program and run. The computer can automatically recognize and enumerate a USB disk device.

  • Double click to open the USB disk. Format the USB disk according to the computer prompts to get the USB disk of about 500KB in size

  • You can copy a file to the USB disk, and then copy it from the USB disk.