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.

Difficulty receiving an IP address - CC3200

Other Parts Discussed in Thread: ENERGIA, CC3200, UNIFLASH

Hello,

I received the CC3200 launchpad yesterday and I have had a lot of difficulty trying to connect to wifi. The out of the box demo worked perfectly, but then I tried the SimpleWebServerWifi project using Energia. It connected to the network just fine, but would never receive an IP address from the router. 

I waited for at least 10 minutes and decided that it wasn't going to connect. 

I figured it was a problem with the firmware, so I followed the steps to update it using Uniflash and then decided to try CCS. I downloaded CCS and the appropriate SDK and everything and followed all the instructions for Project 0 as depicted on the youtube video. Right before debugging, I received a warning that 

"XDCpath repository 'C:/ti/tirtos_simplelink_2_13_01_09/products/uia_2_00_01_34/packages' cannot be found! Visit project's 'Properties > General > RTSC' tab to adjust the XDCpath."

for the ti_rtos_config project. The program still compiled and ran after debugging, though, and I was met with this for the output:

So I waited, and waited, but the cc3200 again never received an IP address from the router. I'm not sure what to do at this point and this is my first time to work with anything wifi related. Any ideas on how to move forward from here would be greatly appreciated. 

  • Hi,

    Can you let me know the AP that you are using? Also, can you try with a different AP and see if you are able to acquire the IP.
    Additionally, can you also try the below/

    1. Set a static IP : sl_NetCfgSet() : SL_IPV4_STA_P2P_CL_STATIC_ENABLE (please use an IP in the same subnet as that of the AP).
    2. Disable security ("OPEN") and check if you are able to connect.

    It would also help if you can share an air sniffer log.

    Regards,
    Gigi Joseph.
  • I am using WPA2 Personal wifi (a mac router).

    Using Energia, I got the SImpleWifiWebServer example to work by creating a static IP and then using the WiFi.config(ip) function. Thank you for your help! I can finally get started on my project now. 

    One thing though, the server is very responsive right after I run the program, but if I walk away from the device and come back 5 minutes later, the server won't load any of the requests and I cannot communicate with the device unless I rerun the program (by hitting the reset button). Could you explain why this is and how I could prolong the connectivity?

    Also, this solution only seems to work on a local area connection. If I try to connect to the device from a different network, then it does not go through. So the communication to the CC3200 never actually goes through the internet, just the local area network? 

    I'll take a look at the other examples and see how to connect it to the internet. Any guidance would be appreciated. 

    By the way, what is a air sniffer log? A lot of websites for hackers like wireshark came up when I googled it.

    Very respectfully,

    Micah Brouwer

  • Hi,

    Yes, I am looking for wireshark logs.

    Regards,
    Gigi Joseph.
  • Check that the IP u r using as static IP if that's in range of the IP that will be assigned by the router.
  • I am closing the thread, if issue still exist please open a new thread and add a link to this one for reference.