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中断标志
}
求各位大神帮忙解决一下 |