table of Contents:
1. Hardware and its wiring
2. Driver and software
3. Download the program to test
1. Hardware and its wiring
1.1 USB to TTL flashing board (CH340 module upgrade board)


1.2 Main chip STM32F103C8T6 development board

1.3 Wiring
1.3.1 Connection to serial port module

Note: 3V3 and 5V are selected by the short circuit.
1.3.2 Core board wiring


Among them, BOOT0 is set to 1, and BOOT1 is set to 0.
2. Driver and software
2.1CH340 driver and installation method

2.2Program download software

3. Download test
Download the first-class water lamp program test.
Experimental first-class water lamp

After the writing procedure is successful, set both BOO0 and BOOT1 to 0.

The experimental results show that the program was successfully downloaded to the smallest system board as scheduled.
Android has at least two serial port solutions One is to use ndk cmake to provide serial port services to the upper layer, directly driven so way The second is a usb adapter chip, The usb adapter chip...
1. Hardware preparation and wiring stm32 core board, USB to TTL module, DuPont line, computer When downloading STM32F103 pins, BOOT0 is set to 1, BOOT1 is set to 0, press the reset button (the physica...
Serial port, USB, USB to serial port, serial port driver, emulator download program In the beginner stm32, the first step is to download the program, Method 1: Use the emulator to download the program...
00. Table of Contents Article Directory 00. Table of Contents 01. Overview 02. STM32F4 development board settings 03. Serial port download program steps 04. Appendix 05. Statement 01. Overview There a...
STM32 boot mode introduction From the STM32 reference manual, you can find that there are three startup modes of STM32, which can be selected through different combinations of BOOT0 and BOOT1 levels. ...
Advantages and disadvantages of serial port download When using stm32 to download the program, the wildfire fireDAP downloader needs to make additional settings for KEIL. Compared with the DAP downloa...
I was confused by the above nouns when I first played the MCU, but then I finally realized it. Now I will write my own understanding here. I am also ready to see the white chip of the MCU. It may be h...
Why switch between the three? The communication interface on the PC has a USB interface, and the corresponding level logic followsUSBin principle. and alsoDB9Interface (nine-pin port), the correspondi...
The steps of this method are relatively cumbersome and are only used as a supplement to st-link programming. 1. Choose to create a .hex file when compiling. OpenMagic wand tool, check Create HEX File ...
STM32 USB to serial port analysis Chip: STM32F407VE Compiler: KEIL5 Author: SY Date: 2017-9-18 09:56:00 Overview UseSTM32_USB-Host-Device_Lib_V2.2.0 usb Library, willstm32 Asusb Equipment, realization...