Solution to the problem that the program cannot be burned after STM32 enters low power mode

Publisher:清新心情Latest update time:2018-10-06 Source: eefocusKeywords:STM32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

We often need to set STM32 to enter low power mode at a certain time. Many people cannot burn the program again when entering low power mode for debugging. The solution is:

1. Boot0 must be pulled high, boot1 (PB2) must be pulled low, and then the power must be restarted. The MCU will enter the ISP programming mode. At this time, the program can be downloaded through serial port 1.

2. Press and hold the reset button first, then click MDK download, and then release the reset. Some boards do not have a reset pin, so you can also lead out the NRST pin.

3. Solution to the problem that the program cannot be burned after STM32 enters low power modeWhen downloading with an emulator, if the emulator is connected to a reset line, you can turn on the hard reset in the download settings. (The current problem is that boot0 can only be pulled high, but it should have nothing to do with the boot method)

Solution to the problem that the program cannot be burned after STM32 enters low power modeBoth HW RESER and SYSRESERREQ are acceptable.

Solution to the problem that the program cannot be burned after STM32 enters low power mode

When using ST-Link to download a program, it prompts "flash timeout. reset the target and try it again"

After ensuring that other environments are configured correctly, configure as follows.

technology sharing


Keywords:STM32 Reference address:Solution to the problem that the program cannot be burned after STM32 enters low power mode

Previous article:How to implement PWM waveform with adjustable frequency and duty cycle in STM32
Next article:STM32PB2 (BOOT1) usage precautions

Recommended ReadingLatest update time:2024-11-15 07:47

IAR STM32 absolute address positioning of functions and variables
Yesterday, I suddenly had an idea: can I use the absolute positioning of functions and variables to achieve modular updates of programs?   In other words, if I want to change a function, I only need to update a part of the flash, maybe only a few hundred bytes, without having to re-download the entire hundreds of KB
[Microcontroller]
STM32-GPIO settings: quickly light up the first LED
Introduction The schematic diagrams of different development boards are different. Here, I use the Wildfire MINI-V3 (F103VET6) simple development board to briefly introduce the settings of the GPIO port and realize the key control of the LED light, so that readers can quickly become familiar with it and apply it flexi
[Microcontroller]
STM32-GPIO settings: quickly light up the first LED
STM32 learning record 20 FFT
A few days ago, because I needed to perform FFT on the collected audio signal on the STM32F103 series processor, I spent some time studying how to implement FFT on the STM32F103 series processor efficiently and accurately. I found a lot of information on this topic online to do experiments and comparisons, and finally
[Microcontroller]
STM32 learning record 20 FFT
STM32 study notes---terminology explanation
1. JTAG is the abbreviation of Joint Test Action Group, which is the common name of the IEEE standard 1149.1 called Standard Test Access Port and Boundary Scan Architecture. This standard is used for test access ports and uses boundary scan methods to test printed circuit boards . It allows programmers to read the deb
[Microcontroller]
STM32 shuts down the total interrupt statement
1 __set_PRIMASK(1); // turn off the main interrupt 2  3 /************ 4      **********/ 5 __set_PRIMASK(0); // Enable general interrupt
[Microcontroller]
STM32_ADE7758 driver
/*  * ade7758.c  *  * Created on: October 11, 2014  * Author: Lzy  */ //#include  rtthread.h #include "ade7758.h" #include "sys.h"   #define ADE_CS_PIN     PBout(12)   #define ADE_RCC RCC_APB2Periph_GPIOB #define ADE_GPIO GPIOB #define ADE_PIN (GPIO_Pin_12)     unsigned char bWorkMo
[Microcontroller]
Discussion on AC and DC sampling of STM32 ADC
cutting edge Regarding the STM32 sampling problem, I believe many people have encountered such a problem, whether it is about the underlying configuration of the ADC or the choice of the ADC sampling solution, or the ADC software and hardware filtering algorithm. Here, the blogger will extend the training questions he
[Microcontroller]
Discussion on AC and DC sampling of STM32 ADC
STM32 uses ST-Link V2 to download programs and simulate
        1.Option——Debug Select ST-Link Debugger 2. Click Setting and select SW mode 3. Select Erase Full Chip mode on the Flash Download option page and check Reset and Run. This way you can just download and run the program directly.   Problems encountered: no st-link detected: Go t
[Microcontroller]
STM32 uses ST-Link V2 to download programs and simulate
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号