Hello All
I am working with the TCP_Socket-Example of cc3200 SDK with CC3200 LauchXL.
The execution got stuck here:
This is called very early from here in main.c: ConfigureSimpleLinkToDefaultState
This line "VERIFY_PROTOCOL" can be expanded to _SL_ASSERT(expr) from "trace.h" which can be expanded to
#define _SL_ASSERT(expr) { if(!(expr)){_SlDrvAssert(__LINE__); } }
Which can be expanded to
#define _SlDrvAssert(line ) { while(1); }
So, in case of the expression (syncCnt < SL_SYNC_SCAN_THRESHOLD) being false, it enters an endless loop. (While(1))
The Debugger says when being stuck at this line
syncCnt=2000
SL_SYNC_SCAN_THRESHOLD=2000
Can anyone explain what happens here? The problem is, that this cannot be fixed by reset or a powercycle. It seems, als if there is something not initialized correctly. "Magically" it dissappears after a dozen tries and then the example runs fine and continues running.
I found a similar thread which deals with CC3100. There it was "fixed" by removing the call "ConfigureSimpleLinkToDefaultState" from main.c
http://e2e.ti.com/support/wireless_connectivity/f/968/t/359624.aspx
I tried this too, but it got stuck later while trying to start the link to the AP.
Thanks for your help
Johannes