在使用的时候,会突然无法接收到数据,但是能正常发送数据,得重启芯片才能恢复。出现的概率不大,但是对于产品使用有一定的不稳定因素。请问有什么方法可以排查问题,或者有解决方法吗?
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.
在使用的时候,会突然无法接收到数据,但是能正常发送数据,得重启芯片才能恢复。出现的概率不大,但是对于产品使用有一定的不稳定因素。请问有什么方法可以排查问题,或者有解决方法吗?
EasyLink_receiveAsync(rxDoneCb, 0);
//
// /* Wait 300ms for Rx */
// if(Semaphore_pend(rxDoneSem, (300000 / Clock_tickPeriod)) == FALSE) //delete by barbara
if(Semaphore_pend(rxDoneSem, (100000 / Clock_tickPeriod)) == FALSE) //add by barbara
{
/* RX timed out abort */
if(EasyLink_abort() == EasyLink_Status_Success)
{
/* Wait for the abort */
Semaphore_pend(rxDoneSem, BIOS_WAIT_FOREVER); // 请问这里在abort成功后,为什么要一直等待接收成功信号量 ?
}
}
}