1, learning USB time to play, feel the USB is really too complicated, read a book to see the head big, feel completely chaotic, as if not remember things like, hey
2, just do this, first engage in other to learn USB knowledge.
3, this STM32 analog USB to the serial port is a transplant official website of a routine, found that the official website of this routine bug still a lot, hehe
4, copy the code of the routine, see the attachment project in the USB folder code
5, the main is to modify HW_CONFIG.C and hw_config.h the code in these two files, the other can not be modified, but if you want to display on the computer what manufacturer, device name can be modified USB_DESC.C and usb_ Desc.h These two file code content, you can refer to http://www.openedv.com/posts/list/27484.htm this post of the transplant note
6, the other see the attachment code
7. Change the baud rate on the serial assistant on the computer side, and the synchronization changes displayed on the battleship board
8, testing the serial port printing information to the host computer, MCU program download (I downloaded 51 and STM32 of the film, the other did not test), can work normally, baud rate I set the highest 115200 test, and then did not try
9, attach the Ship Board test Project, welcome all interested Friends Test Guide (I use ASUS notebook, USB2.0 interface, WIN 7_32bit system)
10, attached to the ST official USB analog serial port computer driver software, official website address http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1533/PF257938
Annex 1: ST Official USB analog serial Port PC driver Stsw-stm32102.zip (file size: one MB download count: 9,456 times)
Annex 2: battleship USB analog serial port. zip (File size: 680 KB downloaded: 1114 times)
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.