STM32 BOOT1 and BOOT0 settings

Publisher:时光如梦Latest update time:2015-09-22 Source: eefocusKeywords:STM32  BOOT1  BOOT0 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
OOT1 and BOOT0 have two values, 0 and 1, respectively, which can be combined into three boot modes:

BOOT1=X, BOOT0=0   Boot mode: User Flash Memory Boot from user flash memory

BOOT1=0, BOOT0=0   Boot mode: System Memory Boot from system memory

BOOT1=1, BOOT0=0   Boot mode: Embedded SPAM Boot from built-in SRAM

 

This means that the level state of these two pins when the chip is reset determines which area the program starts from after the chip is reset.

 

Generally, it is set to BOOT1=0, BOOT0=0. It is only set to BOOT1=0, BOOT0=1 when downloading from ISP.

The third mode is generally not used

Keywords:STM32  BOOT1  BOOT0 Reference address:STM32 BOOT1 and BOOT0 settings

Previous article:Serial port 2 communication USART2 (sending data)
Next article:STM32 JTAG pin description

Recommended ReadingLatest update time:2024-11-23 07:07

STM32 serial communication program UART2 (TTL)
1. Hardware Connection 2. Serial Port Assistant Settings: 3. Programming under Keil 1. Project files to be added Second, the user file to be written 1.main.c #include "printf.h"      int main()   {            printf_init();         printf("\luoyiran is a nice boy\n");       printf("xixi\n");  
[Microcontroller]
STM32 serial communication program UART2 (TTL)
Common problems and solutions in the debugging process of stm32
Common problems and solutions during STM32 debugging 1. After setting the type of emulator under the "Debug tab", the prompt "No ULINK Device found." appears when downloading the program. Solution: Keil MDK uses the ULINK emulator to download the program by default. Change the emulator used for programming to the cor
[Microcontroller]
STM32_Starter Program LED
*********************************************************************************************************************************************************** Development board: STM32 cpu         :STM32F103 Development environment: keil uVsion4 *********************************************************************
[Microcontroller]
STM32_Starter Program LED
Configuration method for debugging STM32 program in RAM
I have heard that STM32 programs can be debugged in RAM for a long time. I watched a video last night and wanted to try it myself. I went to the lab this morning to download information from the Internet and started to configure it based on my fragmentary memory. However, nothing succeeds at once, and this time is no
[Microcontroller]
Configuration method for debugging STM32 program in RAM
STM32 turns off JTAG and uses the corresponding GPIO port to record simply
STM32's PA13-PA14-PA15-PB3-PB4-PB5 are mainly used for JTAG debugging, so by default they are in JTAG mode after startup. However, when JTAG is not needed and the GPIO port needs to be fully utilized, JTAG needs to be turned off and set to GPIO mode. GPIO_InitTypeDef GPIO_InitStructure; RCC_APB2PeriphClockCmd(RCC_AP
[Microcontroller]
Summary of the process of detecting incremental encoder using the orthogonal encoder provided by stm32
Since the power frequency upgrade machine for surgery requires an automatic leveling function, I started to work on this aspect. The hardware selected is an incremental encoder with 100 pulses per revolution. Later, I learned that each timer channel 1 and channel 2 of stm32 has a built-in orthogonal encoder module, w
[Microcontroller]
Summary of the process of detecting incremental encoder using the orthogonal encoder provided by stm32
Several common reasons for serious abnormalities of stm32 functions
When we are engaged in MCU application development, we will inevitably encounter MCU chip abnormalities. For example, abnormal reset, which is manifested by the reset pin having a level jump or simply being at the reset level; when debugging and tracing the code, it is found that the code often cannot enter the user's
[Microcontroller]
STM32 USB firmware library structure
The structure of the STM32 USB firmware library is shown in the figure below: It can be seen that the STM32 USB firmware library is divided into 3 layers: Low Layer, Medium Layer and High Layer. The following analyzes the roles of these three layers:   (1) Low Layer usb_regs(.h,.c): implements the hardware
[Microcontroller]
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号