
User Guide
GD32VF103T-START
10
the message. For example, when you input “GigaDevice MCU”, the HyperTerminal will get
and show it as below.
5.4.2.
MSC
DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn how to use the USBFS
Learn how to implement USB MSC(mass storage) device
This demo mainly implements a U disk. U disk is currently very widely used removable MSC
devices. MSC, the Mass Storage device Class, is a transport protocol between a computer
and mobile devices, which allow a universal serial bus (USB) equipment to access a host
computing device, file transfer between them, mainly including mobile hard disk, mobile U
disk drive, etc. The MSC device must have a storage medium, and this demo uses the MCU's
internal flash as the storage medium. For more details of the MSC protocol please refer to
the MSC protocol standard.
MSC device will use a variety of transport protocols and command formats for communication,
so it need to choose the appropriate protocol and command format in the realization of the
application. This demo selects the BOT (bulk only transport) protocol and the required SCSI
(small computer interface) command, and is compatible with a wide variety of Window
operating systems. Specific BOT protocol and SCSI command specification please refer to
the standard of their agreement.
DEMO Running Result
Download the program <04_USBFS\Device\MSC> to the start board and run. When the start
board connect to the PC, you will find a USB large capacity storage device is in the universal
serial bus controller, and there is 1 more disk drives in the equipment manager of PC.
Then, after opening the resource manager, you will see more of the 1 disk, as shown in the
following diagram: