STM32F103RBT6 program download settings

Publisher:第二眼帅哥Latest update time:2016-10-05 Source: eefocusKeywords:STM32F103RBT6 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
To download the STM32F103RBT6 program, you need to set the BOOT0 and BOOT1 pins.

The available downloading methods are: ISP serial port downloading, JTAG downloading, and SWD downloading.

ISP serial port download:

    BOOT0=1, BOOT1=0, use the serial port to download the program.

JTAG Downloads:

    BOOT0=0, BOOT1=0, use JTAG interface to download, use more IO.

SWD Download:

    BOOT0=0, BOOT1=0, use SWD to download, occupy less IO (2 IO).

 

Download Instructions:

ISP download uses MCUISP software download. It is best to reset the STM32 before downloading the program, or click download programming in the software first, and then press the reset button.

However, after ISP download, pressing the reset button of STM32 cannot reset STM32. If you want to reset the STM32 system, change the settings of BOOT0 and BOOT1 as follows: BOOT0=0, BOOT1=0. This is the only way to reset STM32.

In addition, when using JLINK to download the program to STM32, although debug can be used, the JTAG method occupies more IO, and SWD also occupies 2 IO. Various problems occur when downloading the program, and the configuration must be re-downloaded before the program can be downloaded.

It is recommended to use the ISP serial port download method. If you want to reset it later, just change the BOOT0 and BOOT1 settings to reset the STM32 system.


When MCUISP cannot download the program, you can open the serial port debugging assistant, open the serial port and then close the serial port to solve this problem.
Keywords:STM32F103RBT6 Reference address:STM32F103RBT6 program download settings

Previous article:STM32 AFIO
Next article:STM32 serial port uart

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号