当前位置:网站首页>STM32 -- program startup process
STM32 -- program startup process
2022-07-28 22:37:00 【Green hedgerow bamboo maple】
The work of the processor : It just starts working , Will continue to get code , And implement
Workflow : After the chip is powered on, reset exception will be triggered , And will jump to the specific offset position of the interrupt vector table , Get the content inside and execute , Modify and reset abnormal contents , You can let the processor perform the operations we specify

Main flash memory : Data can be saved for a long time
SRAM: Static random access memory
Start file analysis (startup_stm32f103xe.s)

Program startup process
(1) Initialize stack pointer

(2) Set up PC Pointer value
(3) Configure interrupt vector table
DCD A block of memory in bytes will be allocated for the specified target

(4) Configure the system clock
(5) call C Library function _main, Initializing the stack , Finally, I will jump to my own main Function
Reference resources 《Cortex-M3 Authoritative guide 》
边栏推荐
- PaddleNLP基于ERNIR3.0文本分类以中医疗搜索检索词意图分类(KUAKE-QIC)为例【多分类(单标签)】
- 842. 排列数字
- 75. Color classification (medium array double pointer sorting)
- Excel-vba quick start (XIII. Common usage of date)
- mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
- npm ERR code ETIMEDOUT npm ERR syscall connect npm ERR errno ETIMEDOUT npm ERR network reques...
- internet的基本服务中文件传输命令是哪个
- Analysis notes on let (const) temporary dead zone in JS
- Sword finger offer II 056. Sum of two nodes in a binary search tree (simple binary search tree DFS hash table double pointer iterator)
- gprs网络指的是什么
猜你喜欢

98. Verify binary search tree (medium binary search tree DFS)

c语言实现字符串逆序排列

Ngrok intranet penetration

Win11 how to open software notification

79. Word search (medium string array matrix backtracking)

Lvs+keepalived high availability deployment practical application

Ultra detailed visual studio 2019 running littlevgl (lvgl) simulator

Ruiji takeout project - development of business development function Day2

What is time complexity

ATT&CK 威胁情报
随机推荐
96. Different binary search trees (medium binary search tree dynamic planning)
76. Minimum coverage substring (hard sliding window hash table string)
npm ERR code ETIMEDOUT npm ERR syscall connect npm ERR errno ETIMEDOUT npm ERR network reques...
20-09-27 the project is migrated to Alibaba toss record (the network card order makes the service unable to connect to DB through haproxy)
Use webworker to perform background tasks
771. 字符串中最长的连续出现的字符
flask之蓝图 补充openpyxl
CMD common commands
75. Color classification (medium array double pointer sorting)
Sword finger offer II 058. schedule (medium design segment tree treemap ordered set)
Netease Yunxin 2022q2 product supply station, come and get your product supply plan!
Static route and default route experiment
微信小程序使用canvas绘图,圆形头像,网络背景图,文字,虚线,直线
Ruiji takeout - background login function development
MySQL installation and configuration (super detailed, simple and practical)
How to install WiFi correctly
When can I sign up for the 2022 class I constructor examination?
Establishment of Ruiji takeout development environment
Imx6q GPIO multiplexing
c语言实现字符串逆序排列