readme.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*!
  2. \file readme.txt
  3. \brief description of the USB MSC device(Udisk) demo
  4. */
  5. /*
  6. Copyright (C) 2017 GigaDevice
  7. 2017-06-06, V1.0.0, firmware for GD32F3x0
  8. */
  9. This demo is based on the GD32350R-EVAL board,it provides a description of
  10. how to use the USB device application based on the Mass Storage Class (MSC).
  11. The GD32 MCU is enumerated as a MSC device using the native PC Host MSC driver
  12. to which the GD32F350-EVAL board is connected.
  13. It illustrates an implementation of the MSC class which uses the bulk transfer
  14. while the internal sram is used as storage media.
  15. This example supports the BOT (bulk only transfer) protocol and all needed SCSI
  16. (small computer system interface) commands, and is compatible with Windows platform.
  17. After running the example, the user just has to plug the USB cable into a PC host
  18. and the device is automatically detected. One new removable drives appear in the
  19. system window and write/read/format operations can be performed as with any other
  20. removable drive.
  21. To select the appropriate USB Core to work with, user must add the following macro
  22. defines within the compiler preprocessor (already done in the preconfigured projects
  23. provided with this application):
  24. - "USE_USB_FS" when using USB Full Speed (FS) Core
  25. In order to make the program work, you must do the following :
  26. - Open your preferred toolchain
  27. - Rebuild all files and load your image into target memory
  28. - Run the application