DOI: 10.17587/prin.13.132-141
Programming of STM32F10x Microcontrollers Using the Built-in USART Bootloader
A. E. Bliznyuk1, Master, bliznyuksaha@mail.ru, V. A. Zhmud, D. Sc., Deputy General Director2, Chief Researcher3, oao_nips@bk.ru, M. V. Trubin1, Postgraduate Student, morkai@bk.ru, V. G. Trubin, Senior Lecturer1, Director4, trubin@ngs.ru,
1 Novosibirsk State Technical University, Novosibirsk, 630073, Russian Federation,
2 Novosibirsk Institute of Program Systems for Science JSC "Novosibirsk Institute of Program Systems" (NIPS), Novosibirsk, Russian Federation,
3 Institute of Laser Physics SB RAS, Novosibirsk, Russian Federation,
4 KB Avtomatika LLC
Corresponding author: Zhmud Vadim A., D. Sc., Deputy General Director of the Novosibirsk Institute of Program Systems for Science JSC "Novosibirsk Institute of Program Systems" (NIPS), Chief Researcher of the Institute of Laser Physics SB RAS, E-mail: oao_nips@bk.ru
Received on December 26, 2021
Accepted on January 19, 2022
This paper is devoted to the description of the method of programming STM32F10x microcontrollers using the built-in bootloader via the USART serial interface, using the Flash Loader Demonstrator program from ST Microelectronics. To automate the programming process, the process of creating a batch file is described. Quite popular is the method of programming the microcontroller through the SWD interface using the ST-Link hardware programmer. However, due to the current shortage of microcircuits, the cost of electronic components has risen markedly, making this method of programming more expensive. Thus, at this point in time, the method of programming microcontrollers using the built-in bootloader via USART using the USB to RS-232 TTL converter is quite in demand. The article may be of interest to students and engineers.
Keywords: microcontroller, STM32, bootloader, serial interface, USART, USB to RS-232 TTL, CH340G, Flash Loader Demonstrator, COM port, ST Microelectronics
pp. 132–141
For citation:
Bliznyuk A. E., Zhmud V. A., Trubin M. V., Trubin V. G. Programming of STM32F10x Microcontrollers Using the Built-in USART Bootloader, Programmnaya Ingeneria, 2022, vol. 13, no. 3, pp. 132—141.