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.

sl_Start 没有返回,卡死问题

Other Parts Discussed in Thread: CC3200

代码如下:

int main()
{   
#if 0
    unsigned char RecordPlay;
#endif

    long lRetVal = -1;

    BoardInit();

    //
    // Pinmux Configuration
    //
    PinMuxConfig();

    //
    // Initialising the UART terminal
    //
    InitTerm();

    //
// Start the simplelink thread
//
lRetVal = VStartSimpleLinkSpawnTask(9);
if (lRetVal < 0)
{
ERR_PRINT(lRetVal);
LOOP_FOREVER();
}

Report("Enter.");

lRetVal = sl_Start(0, 0, 0);
if (ROLE_STA != lRetVal)
{
Report("Failed to start the device, retval[%d].", lRetVal);
return -1;
}
sl_Stop(0xff);
}
代码运行到sl_Start不能继续执行,卡死在这里