Transplantation of STM32F103 USB virtual serial port driver routine and stm32f103 routine

Source: Internet
Author: User

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.