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.
Part Number: CC3100MOD
We are working with CC3100MOD and have experienced some problems with the SDK. The SDK has calls from various places that block forever. We need to be able to recover from an error condition and cannot do that when the calls don't return to give an error code. There is also the _SlNonOsMainLoopTask() function that apparently needs to be called in order for the SDK to process callbacks etc. When does this need to be called?
We have seen a variable g_bDeviceRestartIsRequired being set to TRUE sometimes although it is hard to see in the debugger since it is buried within a macro VERIFY_NO_ERROR_HANDLING_IN_PROGRESS. How do we check whether this is set, is there a function that will tell me if this is set? I assume the chip needs a reset at this point? Thanks for your help with this!
The SimpleLink a-sync error event handler (SimpleLinkGeneralEventHandler) will be invoked when the g_bDeviceRestartIsRequired gets set.
Which calls are blocked forever?
Are you using a non-RTOS solution? only in this case you will need to call _SlNonOsMainLoopTask() from the main loop.
This call will be used as a context for the simplelink driver event processing. The simplelink requires such an execution context and will definitely get blocked if this function will not be called.
In the RTOS implementation, the simplelink context is obtained through a dedicated thread (initiated with the VStartSimpleLinkSpawnTask call).
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.