hello:
我在调试adcbufcontinuous(freertos)例程时,正常进入debug界面,点击运行,程序可以正常运行,串口正常打印电压值。但是运行中点击暂停,再点继续运行,程序无法继续运行,串口没有打印。请问是什么原因呢?
我的DEBUG环境:
win7_64bit,
ccs10.1.0
freertosv10.0.1
simplelink_msp432p4_sdk_3_40_01_02
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hello:
我在调试adcbufcontinuous(freertos)例程时,正常进入debug界面,点击运行,程序可以正常运行,串口正常打印电压值。但是运行中点击暂停,再点继续运行,程序无法继续运行,串口没有打印。请问是什么原因呢?
我的DEBUG环境:
win7_64bit,
ccs10.1.0
freertosv10.0.1
simplelink_msp432p4_sdk_3_40_01_02
我是用TI-RTOS测试的,和您的情况相同。
暂停后会进入
void CPU_wfi(void)
{
//
// Wait for the next interrupt.
//
__asm(" wfi\n");
}
来等待中断,
Use this function to let the System CPU wait for the next interrupt. This function is implemented as a wrapper function for the WFI instruction.
而后点击单步运行,会在下面的语句循环
/*
* ======== Idle_loop ========
*/
/* MISRA.FUNC.UNUSEDPAR.2012 */
Void Idle_loop(UArg arg1, UArg arg2)
{
/* INFINITE_LOOP.LOCAL */
while (TRUE) {
Idle_run();
}
}