HardFaultException发生的状况有哪些?

[复制链接]
5441|3
 楼主| McuPlayer 发表于 2008-5-25 16:35 | 显示全部楼层 |阅读模式
lut1lut 发表于 2008-5-26 10:43 | 显示全部楼层

当其他external interrupt被中断禁止时

Cortex-M3里的原话:“All classes of Fault, when the fault cannot activate because of priority or the Configurable Fault handler has been disabled.”

当其他external interrupt被中断禁止时,但又有相应事件发生,就转到HardFault exception。

这里说的external interrupt是和system exception相对应的。
 楼主| McuPlayer 发表于 2008-5-26 11:07 | 显示全部楼层

我这里就发生了“All classes of Fault”其中的一个

问题找到了,是函数指针少用了一个“*”造成的,应该是非法指令。
很夏天 发表于 2008-10-27 09:56 | 显示全部楼层

我这里也发生过这种事情

我要好好查查我的程序!受益了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

338

主题

7307

帖子

26

粉丝
快速回复 在线客服 返回列表 返回顶部