[STM8] STM8L RTC AWU

[复制链接]
1867|5
 楼主| ckd1992 发表于 2015-7-17 14:13 | 显示全部楼层 |阅读模式
STM8lL进入RTC AWU中断之后单步运行提示:
Fri Jul 17, 2015 13:58:49: Failed to clear at least one software breakpoint at PC location when comencing execution after stop.
Fri Jul 17, 2015 14:11:19: Failed to write memory at 0x827E: SWIM PROG error [42006]: Error getting prog status
Fri Jul 17, 2015 14:11:19: Failed to read memory at 0x8282: SWIM error [30004]: Comm timeout
下面是中断程序,断点就设在RTC_ISR2_WUTF = 0; 这一句
//RTC AWU中断
/*#pragma vector=0X06*/
#pragma vector=RTC_WAKEUP_vector
__interrupt void RTC_AWU_vector()
{

   RTC_ISR2_WUTF = 0;                  //清RTC AWU中断标志
     
}
求各位大神帮忙解决一下
 楼主| ckd1992 发表于 2015-7-17 14:13 | 显示全部楼层
z自己先来占个沙发
amanda_s 发表于 2015-7-17 17:03 | 显示全部楼层
断点设太多?
 楼主| ckd1992 发表于 2015-7-17 17:09 | 显示全部楼层
gjwcool 发表于 2016-1-6 14:41 | 显示全部楼层
你好  请问你的问题解决了吗?
jcdzxh 发表于 2016-1-6 21:17 来自手机 | 显示全部楼层
我用汇编试的,没遇到问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

4

帖子

0

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