Transplantation of STM32F103 USB virtual serial port driver routine and stm32f103 routine
1) download and install the driver. At present, ST Company Support WIN7 version: vcp_v1.3.20.setup.exe (on the official website to search for stsw-stm32102 is the); first install the driver and then insert the USB otherwise the installation is not successful.
2) download firmware. Currently ST Company's latest USB firmware Library: STM32_USB-FS-Device_Lib_V4.0.0 (on the official website to search for stsw-stm32121 is ).
3) ST Official Website: www.st.com
4) check whether the system has the usbser. sys file. In many GHOST versions, system driver files are lost! INF file: http://dl.vmall.com/c0zzdsmrpk
5) Check whether usb dp + has K pull-up resistance on the hardware. (When I made the board, I directly connected the I/O port without the pull-up resistor, causing the device to be unidentifiable. I used the oscilloscope to find that the DP + level could never be pulled down. I just needed to add it)
6) modify the firmware.
Void Set_System (void); void USB_Cable_Config ).
If usb dp + has a K pull-up resistor directly connected to 3.3V, you do not need to modify it.
7) install firmware. The driver runs on its own board.