文件名称:STM32F103boot
-
所属分类:
- 标签属性:
- 上传时间:2013-09-02
-
文件大小:87.98kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
STM32启动过程解析
1、 通过boot引脚设置可以将中断向量表定位于SRAM区,即起始地址为0x2000000,同时复位后PC指针位于0x2000000处;
2、 通过boot引脚设置可以将中断向量表定位于FLASH区,即起始地址为0x8000000,同时复位后PC指针位于0x8000000处;
3、 通过boot引脚设置可以将中断向量表定位于内置Bootloader区,本文不对这种情况做论述;
而Cortex-M3内核规定,起始地址必须存放堆顶指针,而第二个地址则必须存放复位中断入口向量地址,这样在Cortex-M3内核复位后,会自动从 起始地址的下一个32位空间取出复位中断入口向量,跳转执行复位中断服务程序。对比ARM7/ARM9内核,Cortex-M3内核则是固定了中断向量表 的位置而起始地址是可变化的。
有了上述准备后,下面以STM32的2.02固件库提供的启动文件“stm32f10x_vector.s”为模板,对STM32的启动过程做一个简要而全面的解析。-STM32 resolve a boot process, the boot pin set interrupt vector table can be located in the SRAM area, namely the start address is 0x2000000, while the post-PC pointer is reset at 0x2000000 2, through the boot pin settings can be FLASH interrupt vector table located in the area, namely the start address is 0x8000000, while the pointer is reset PC 0x8000000 place 3, through the boot pin set interrupt vector table can be located in the built-in Bootloader district, this paper does not do this discourse while Cortex-M3 core provides the starting address must be kept top of the heap pointer, while the second addresses must be stored reset interrupt vector address entry, so that the Cortex-M3 core is reset, it will automatically starting address of the next 32 Remove the reset interrupt entry vector space, Jump perform a reset interrupt service routine. Contrast ARM7/ARM9 core, Cortex-M3 core is fixed interrupt vector table start address of the position can be varied. With these preparat
1、 通过boot引脚设置可以将中断向量表定位于SRAM区,即起始地址为0x2000000,同时复位后PC指针位于0x2000000处;
2、 通过boot引脚设置可以将中断向量表定位于FLASH区,即起始地址为0x8000000,同时复位后PC指针位于0x8000000处;
3、 通过boot引脚设置可以将中断向量表定位于内置Bootloader区,本文不对这种情况做论述;
而Cortex-M3内核规定,起始地址必须存放堆顶指针,而第二个地址则必须存放复位中断入口向量地址,这样在Cortex-M3内核复位后,会自动从 起始地址的下一个32位空间取出复位中断入口向量,跳转执行复位中断服务程序。对比ARM7/ARM9内核,Cortex-M3内核则是固定了中断向量表 的位置而起始地址是可变化的。
有了上述准备后,下面以STM32的2.02固件库提供的启动文件“stm32f10x_vector.s”为模板,对STM32的启动过程做一个简要而全面的解析。-STM32 resolve a boot process, the boot pin set interrupt vector table can be located in the SRAM area, namely the start address is 0x2000000, while the post-PC pointer is reset at 0x2000000 2, through the boot pin settings can be FLASH interrupt vector table located in the area, namely the start address is 0x8000000, while the pointer is reset PC 0x8000000 place 3, through the boot pin set interrupt vector table can be located in the built-in Bootloader district, this paper does not do this discourse while Cortex-M3 core provides the starting address must be kept top of the heap pointer, while the second addresses must be stored reset interrupt vector address entry, so that the Cortex-M3 core is reset, it will automatically starting address of the next 32 Remove the reset interrupt entry vector space, Jump perform a reset interrupt service routine. Contrast ARM7/ARM9 core, Cortex-M3 core is fixed interrupt vector table start address of the position can be varied. With these preparat
(系统自动生成,下载前可以参看下载内容)
下载文件列表
STM32F103boot.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.