Other Parts Discussed in Thread: CC3200, , UNIFLASH
TI工程师好,想请教以下问题:
我通过STM32 mcu 通过spi与cc3100通信, 目前通过串口已经烧写完成servicepack_1.0.1.15-2.14.0.0.bin
[01:52:52] INFO: --- please restart the device ---
[01:52:59] INFO: connection succeeded
[01:52:59] INFO: getting storage list
[01:52:59] INFO: > Executing Operation: ServicePackProgramming
[01:52:59] INFO: Path to the service pack file: C:/ti/CC3100_CC3200_ServicePack_1.0.1.15-2.14.0.0/servicepack_1.0.1.15-2.14.0.0.bin
[01:52:59] INFO: reading version info
[01:52:59] INFO: CC3100R Device detected.
[01:52:59] INFO: NWP/MAC/PHY Version from Service Pack:
[01:52:59] INFO: NWP Patch version: 2.14.0.0
[01:52:59] INFO: MAC Patch version: 1.6.0.2
[01:52:59] INFO: PHY Patch version: 1.0.3.37
[01:52:59] INFO: reading version info
[01:52:59] INFO: DEVICE CC3100 ES1.33
[01:52:59] INFO: reading version info
[01:53:01] INFO: Downloading file "/sys/servicepack.ucf" with size 38868
[01:53:05] INFO:
New Token is 0x2DFB45DB
[01:53:05] INFO: Download complete
[01:53:05] INFO: > Executing Operation: Disconnect
[01:53:05] Operation ServicePackProgramming returned.
我移植了例程到mcu程序,通过spi测试例程成功,然后使用getting_started_with_wlan_ap/station例程卡在_SlDrvSyncObjWaitTimeout里。
正常调用sl_Start函数得用多长时间呢?mode = sl_Start(0, 0, 0); 有时候会耗时1分钟多返回mode = 3
接着继续执行 retVal = sl_WlanSetMode(ROLE_STA); 最后进入LOOP_FOREVER()
想请问怎么排查问题