MDK_ARM裸奔笔记之中断_为调试做准备_源代码
调试一般都选择通过JLink把程序下载到SDRAM中直接运行,但是CPU中断时是把PC值设为中断向量入口地址即 Exception Vectors Address Exception Mode in Entry 0x00000000 Reset Supervisor 0x00000004 Undefined instruction Undefined 0x00000008 Software Interrupt Supervisor 0x0000000C Abort (prefetch) Abort 0x00000010 Abort (data) Abort 0x00000014 Reserved Reserved 0x00000018 IRQ IRQ 0x0000001C FIQ FIQ 这样一来就需要在0地址处放入一断中断转移程序 说明http://hi.baidu.com/%C7%E0%C1%FA%B0%D7%D4%C6/blog/item/22c5411bc0985ab84bedbcb4.html
用户评论