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.

CC3120移植驱动到MCU,单步调试发现程序卡在_SLInternalSpawnWaitForEvent()函数中,TI 的朋友帮忙分析一下,什么原因会导致程序卡在这个地方。

Other Parts Discussed in Thread: CC3120

CC3120移植驱动到MCU,单步调试发现程序卡在_SLInternalSpawnWaitForEvent()函数中,TI 的朋友帮忙分析一下,什么原因会导致程序卡在这个地方。

具体操作是:

执行到sl_start(0,0,0)函数进行单步调试,发现程序会两次进入_SLInternalSpawnWaitForEvent()函数,第一次进入该函数后成功退出,第二次进入该函数就卡主了。