STM32 BOOT bit understanding and setting

Publisher:电子思维Latest update time:2017-11-06 Source: eefocusKeywords:STM32  BOOT Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The STM32F10x on-chip storage area has three parts: built-in Flash, built-in SRAM, and built-in ROM (system memory). This defines three ways to start the system: starting from built-in Flash, starting from built-in SRAM, and starting from system memory. These three startup methods are determined by the two pins BOOT[1:0].STM32 BOOT bit understanding and setting 

  •  SRAM: The RAM area built into the chip, commonly known as memory.

  • System memory: A specific area inside the chip. ST burns a Bootloader into this area when the chip leaves the factory. Since this area is ROM, the chip cannot be modified after leaving the factory. The main task of this Bootloader is to download the program to the built-in Flash through UART1. BOOT selects the System memory mode. After completing the task, it must exit. This can be achieved by reconfiguring BOOT[1:0] to select the appropriate startup mode and then resetting the hardware.


Keywords:STM32  BOOT Reference address:STM32 BOOT bit understanding and setting

Previous article:Analysis of GPIO_Init() function in STM32
Next article:Try STM32 interrupt program

Recommended ReadingLatest update time:2024-11-16 14:38

STM32 cannot print floating point numbers via %f
1. Problem When developing STM32 with IAR, I found that I could not print floating point numbers by redirecting printf to the serial port. The code is as follows:  The output is as follows:  It can be seen that the floating point part cannot be displayed normally. 2. Solution This is because the printf library sele
[Microcontroller]
STM32 Learning Road (Part 3)——GPIO+USART Joint Debugging
I'm used to watching tutorials that only play "lighting up" for the first time, which is boring. This time I'm going to play with the serial port and "lighting up" together. You need to read more about the relevant registers and library functions beforehand. There are a little too many, but you will get used to it soon
[Microcontroller]
About the problem of STM32 serial port idle interrupt IDEL
1. The idle interrupt is triggered when a byte of high level (idle) appears after receiving data. It does not mean that the idle interrupt will continue. To be precise, it should be a byte after the rising edge (stop bit). If it is always at a low level, the idle interrupt will not be triggered (it will trigger a brea
[Microcontroller]
Some thoughts on STM32 driving DS1302
I have used 51 to drive DS1302 before, and it output the correct time in a short time. At that time, I thought this chip was simple and simple. But now I use STM32 to do a project, using the same chip, and I think it is not difficult. I just need to copy and paste the program and change the IO settings. But things are
[Microcontroller]
STM32 MCU releases PB3/PB4/PA15 as common IO port
  When using multiple IO ports of STM32F103RCT6 microcontroller, I found that no matter how to configure, PB3, PB4, PA15 could not control the output high and low levels normally, while other IO ports were normal. The IO port initialization operation is as follows:     GPIO_InitTypeDef GPIO_Init;     __HAL_RCC_GPI
[Microcontroller]
STM32+UCGUI+touch screen
      I recently studied ucGUI, and the functions are OK. The first functions are quite simple, but I encountered a little difficulty when studying the touch screen. I created a button, but it always didn't respond when I clicked it. I finally got it done after nearly a day of tossing.       Let's briefly introduce th
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components
Guess you like

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号