usb_audio_class_example
Source Path: example\cherryusb\device\emmc_disk
Supported Platforms
sf32lb52-lcd_n16r8
Overview
This example demonstrates using CherryUSB MSC with eMMC (via the SDIO interface) to implement a virtual USB flash drive (U disk). It includes:
The PC can view a USB drive named “SiFli MSC DEMO” in the file manager.
How to Use This Example
Hardware Requirements
Before running this example, you need to prepare:
A development board supported by this example (Supported Platforms).
A USB-A to Type-C data cable with data transfer capability.
A host device that supports USB.
Compilation and Flashing
Switch to the project directory and run the scons command to compile:
scons –board=sf32lb52-lcd_n16r8 -j32
Switch to the project/build_xx directory and run uart_download.bat. Follow the prompts to select the port for downloading:
./uart_download.bat
Uart Download
please input the serial port num:5
For detailed steps on compilation and downloading, please refer to the Quick Start Guide.
Expected Results
After the example starts: The host connects to the board via the data cable. The PC can see a USB drive named “SiFli MSC DEMO” in the file manager. In Windows Device Manager, a new device appears under Universal Serial Bus controllers: USB Mass Storage Device.
Troubleshooting
Reference Documents
Revision History
Version |
Date |
Release Notes |
|---|---|---|
0.0.1 |
09/2025 |
Initial version |