载入 axf 后, axd 弹出 “arm7tdmi_s_0 cause: the processor was reset" 对话框
网上的介绍 说添加 启动配置 文件,我没有这么做。只是在 "options/Configure Processor.." 中将 R 勾去。
也可以在命令行界面 (ALT+L)中,执行 spp vector_catch 0x00,就可以把所有的中断屏蔽掉。
Vector Description
----------------------------------------------------------
R Reset
U Undefined instruction
S Software interrupt (SWI)
P Instruction prefetch abort
D Data access abort A[1] Address exception
I Interrupt request (IRQ)
F Fast interrupt request (FIQ) E[2] Error
[1] Not used by AXD. [2] Not used by AXD or ADW. ......
----------------------------------------------------------
- 有些情况下 semihosting 启用后,会出现代码无法正确执行(能运行,但不预期),屏蔽掉它:
spp semihosting_enabled 0
- ADS 的配置,比起 vs 来说,当前逊色很多,毕竟人家是 2001 的东西,vs2003 不也就那样吗?
调试的时候,可以 axd -script YourScript.txt
在 AXD 的 命令行界面 手工指定的命令,都可以在这里面指定。在调试的时候,不一定要把 hex 下载到 flash。可以直接用 AXD 加载 axf 调之。
http://www.linuxidc.com/Linux/2011-09/42019.htm