ti调试手册每个level都要求:Set “EnableFlag” to 1 in the watch window. The variable named “IsrTicker” will now keep on increasing, confirm this by watching the variable in the watch window. This confirms that the system interrupt is working properly.
但是官方例程中是这样写的:
while (EnableFlag==TRUE)
{
BackTicker++;
}
我调试的时候Set “EnableFlag” to 1时IsrTicker不变,BackTicker会增加,这是我哪里操作有问题吗?
Susan Yang:需要在realtime模式下,而且还要在expression窗口设置enableFlag为1
IsrTicker是在MainISR中断里面的,查一下能不能进入中断。程序是跑在FLASH还是RAM?是否有选fpu32支持?
ti调试手册每个level都要求:Set “EnableFlag” to 1 in the watch window. The variable named “IsrTicker” will now keep on increasing, confirm this by watching the variable in the watch window. This confirms that the system interrupt is working properly.
但是官方例程中是这样写的:
while (EnableFlag==TRUE)
{
BackTicker++;
}
我调试的时候Set “EnableFlag” to 1时IsrTicker不变,BackTicker会增加,这是我哪里操作有问题吗?
user6250902:
回复 Susan Yang:
您好,我的程序是跑在RAM。我点击realtime,出现如下提示:
Do you want to enable realtime mode?
Can't enter realtime mode unless debug events are enabled.
Bit 1 of ST1 must be 0.
(Emulation package 7.0.100.0)
这是哪里有问题吗