- Category:
- SCM
- Tags:
-
- File Size:
- 4kb
- Update:
- 2015-04-28
- Downloads:
- 0 Times
- Uploaded by:
- 陈启康
Description: This routine shift implement virtual U disk function SD card. The source for the routine mainly ST' s USB firmware library paradigm. Program features include: (1) Input Character 1, U disk device software is removed. (2) Enter the character 2, the software re-enable the U disk device. In the project configuration, you need to add two firmware library use precompiled macros: USE_USB_OTG_FS, USE_EMBEDDED_PHY USB communication process if you need to track, you can modify the 2-line macro definition: (a) at the beginning of usbd_usr.c file //# define usb_printf printf selection This line will print debug information to the serial port. beginning usbd_storage_msd.c file#define usb_printf (...) (b) //# define mass_printf printf choose this line will print debug information to the serial port.#define mass_printf (...) [Note: This routine Flash is operating normally, the internal RAM required for the operation of the variable positioning 0x20010000 space, the space can not be used 0x1000 0
To Search:
File list (Check if you may need any files):
project.uvproj