一、目标文件
debug.ini
二、文件内容
FUNC void Setup(void){
//set up SP and PC
SP = _RDWORD(0x8020000);
PC = _RDWORD(0x8020004); // Setup Program Counter
}
Setup(); // Debugger Setup
三、keil工程配置
1.链接该仿真控制文件
2.工程的虚拟内容配置
3.ARM启动文件配置
system_stm32h7xx.c
/!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. /
/ #define VECT_TAB_SRAM /
#define VECT_TAB_OFFSET 0x20200 /!< Vector Table base offset field.//0x20200
This value must be a multiple of 0x200. /
/****************************************************************************/
ARM在线调试-运行RAM地址更改
最新推荐文章于 2024-08-13 09:31:14 发布