STM8 read-only memory for system startup

Publisher:AdventureSeekerLatest update time:2020-07-24 Source: 51heiKeywords:STM8 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

In some STM8 models, there is a 2K-byte internal BOOT ROM, which contains the boot code. The main function of this code is to use the SPI, CAN or UART interface of STM8 to download the application code, data, option byte and interrupt vector table to the internal FLASH and EEPROM.

After reset, the boot code starts to execute. For more details, please refer to the STM8 boot code user manual (UM0560).

Keywords:STM8 Reference address:STM8 read-only memory for system startup

Previous article:STM8 Global Configuration Register (CFG_GCR)
Next article:STM8 memory and register map

Recommended ReadingLatest update time:2024-11-16 22:34

Introducing a Bluetooth car program
Introduction: This is the main program of this Bluetooth car. The microcontroller used is stm8. I hope it will be helpful to friends who like smart cars. #include "iostm8s103k3.h" #include "stm8s_uart1.h" #include "stm8s.h" void UART1_init(void); unsigned char c; void TIM2_Configuration_set(void) { TIM
[Microcontroller]
STM8 timer Time1 usage
1. Timer Overview STM8S provides three types of TIM timers: advanced control type (TIM1), general type (TIM2/TIM3/TIM5) and basic timer (TIM4/TIM6). Although they have different functions, they are all based on a common architecture. This common architecture makes it very easy and convenient to design applications usi
[Microcontroller]
STM8 time base unit
STM8 time base unit The time base unit contains: 16-bit up/down counter  16-bit auto-reload register Repeat counter Prescaler (Figure 29: STM8 time base unit) The 16-bit counter, prescaler, auto-reload register and repeat counter register can be read and written by software. The auto-reload register consist
[Microcontroller]
STM8 time base unit
Detailed explanation of the use of STM8 MCU timer 1 encoder function
Encoder Introduction The encoder used here is a point encoder, which is widely used in various instruments. Its specific parameters are not mentioned here. Its appearance is as follows: The pin functions are as follows: The one used here has a switch function, so it has 5 pins. If it does not have a switch, it o
[Microcontroller]
Detailed explanation of the use of STM8 MCU timer 1 encoder function
[STM8] Encryption program through STM8 chip unique ID
Program encryption The protection of scientific research results is the most concerned thing for every researcher. In order to prevent their hard work from going to waste, program encryption is very necessary. The methods of encrypting programs include software encryption, hardware encryption, software/hardware inte
[Microcontroller]
STM8 input capture
Recently, I need to use a frequency detection function when using STM8. Fortunately, the timer of STM8S207 has an input capture function. I used to think of using the timer counting method to implement it, but since they provide this function, let’s give it a try. Since the hardware is connected to the PC1 pin, I only
[Microcontroller]
Common problems and solutions for STM8 microcontrollers
Simulation error error30220 When using STVD software to simulate a program, sometimes an error occurs and a warning window of error 30220 pops up.       The reason for this problem may be that the STVP software has just burned the program, and the STLINK is occupied by the burning software. At this time, you can cl
[Microcontroller]
Common problems and solutions for STM8 microcontrollers
stm8 bootloader IAP upgrade
First of all, the jump address of the interrupt vector of stm8 is fixed. That is to say, when an interrupt occurs, the chip will jump to the offset address of 0x8000 corresponding to the interrupt. Most bootloaders are implemented in this area. That is to say, the interrupt vector will be occupied by the bootloader. W
[Microcontroller]
stm8 bootloader IAP upgrade
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

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号