STM8S003移植触摸库-中断跳转不出来
移植官方的触摸库到stm8s003,安装移植手册修改定时器,遇到一个问题,用st进行仿真,一直在这个中断中return跳转不出来@far @interrupt void NonHandledInterrupt (void)
{
/* in order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction
*/
return;
}
我的定时器设定是这样的
#define TIMACQ (TIM2)
#define TIMACQ_CNTR_ADD (0x530C)
困扰了好久了,新人求解答!
RE:STM8S003移植触摸库-中断跳转不出来
说明找不到你的定时器中断,你看一下定时器中断向量那有没有指定对应的中断函数。RE:STM8S003移植触摸库-中断跳转不出来
发生不正常的跳转了RE:STM8S003移植触摸库-中断跳转不出来
循环出错,跳不出来,看参数设置RE:STM8S003移植触摸库-中断跳转不出来
中断函数设计的不对啊, 那就修改参数RE:STM8S003移植触摸库-中断跳转不出来
看看你的中断函数是否正确RE:STM8S003移植触摸库-中断跳转不出来
终端服务函数没有清零吧RE:STM8S003移植触摸库-中断跳转不出来
没有在中断中清除标志位?回复:STM8S003移植触摸库-中断跳转不出来
调试中断还是从串口打印信息比较好RE:STM8S003移植触摸库-中断跳转不出来
应该是配置出了问题
页:
[1]
2