This problem is resolved
In the CC3200 LaunchXL (Rev 3.2) and when trying to run some of the sample programs, both WLAN_AP and WLAN_STATION produce the error above upon executing osi_start() in main.c.
When using debugger to step through, we found that the error occured after the function call prvPortStartFirstTask()
To dig further down, the error occurs after calling sl_DeviceEnable(); in device.c
Solutions:
My guesses is that this problem is most likely to do with the current supply of the USB cable. When enabling WiFi, there is a current rush required, so a doggy supply can result in a voltage drop momentarily, causing the debugger connection to drop. Most causes of this problem is the way the USB cable is connected to the computer. For example, connecting the USB cable via Keybaord or LCD monitor USB jacks, USB hubs can potentially cause this problem. Simply plug the USB cable directly to the computer. Another common cause is the USB cable itself. There are lots of low quality micro USB cable flooded in the market, a fleaky or low quality USB cable can also cause this problem. Change the USB cable to a better qaulity alternative that you can trust, this problem most likely go away.