AN050
GD32 USBFS&USBHS Firmware Library User Guide
44
Figure 5-17. MSC device class
In my computer, the newly added disk is visible, because disk is lack of file system, so it is
necessary to format the disk firstly, which is shown in
Figure 5-18. MSC device formatting
Figure 5-18. MSC device formatting
After formatting is finished, write test is operated through copy the test file to disk, after copy
the file in the disk to other disk, and execute read test. Finally, comparing the write in file and
read out file is to proving correctness of read and write operation.
Figure 5-19. MSC device read-write test