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.

IDE for CC3200 Problems

Other Parts Discussed in Thread: CC3200, ENERGIA, UNIFLASH

CC3200 Problems on Window 7:


1. Launchpad Demo works, but ...
2. Examples do not build in Code Composer Studio, not even Blinky
3. Blinky works in Energia, Web apps do not, CC3200 does not send an SSID (did flash server files in Uniflash)
4. Installed IAR, does not build Simplelink OS, many errors, does not build Blinky either
5. Under Projekt Explorer in CCS, three entries (oslib,ti_rtos_config, wlan_station) show a red cross
6. In CCS App Center TI-RTOS does not exist, only CC3200 add-on. I installed TI-RTOS separately

Seems I have multiple issues in multiple IDEs .. very frustrating ... help appreciated ...

.

.

  • Hi,

    For CCS IDE issue

    1. Please follow instruction given in section 3.1 of Getting started Guide document available under SDK installation (cc3200-sdk\docs\CC3200-Getting_Started_Guide.pdf). i.e. Install add-on from app-center then build TI-RTOS-config and TI-RTOS applications.

    For IAR IDE issue

    1. Make sure that SDK installation folder has write permission as per snapshot IAR says it doesn't able to write/create a file/folder.
    2. Follow Section 3.2 of same document (getting started guide) for further IAR details.

    Regards,

    Jitendra

  • I read and followed the Getting started Guides for CCS and IAR many times, it just does not compile.

    Like I mentioned I cannot install the TI-RTOS from the app-center because it does not show up there.

    The SDK installation folder has the same settings as all the other folders, no special write permission setting there.

    Heinrich

  • Heinrich -

    Judging by your build output and the fact that you can't install TI RTOS using App Center, you appear to be running afoul of Windows 7 security.

    Try launching CCS using "Run as Administrator" or installing CCS to the default location used by the CCS installer (or any other "normal" folder such as your "My Documents" folder),  and then try to install TI_RTOS using App Center, to see if this doesn't resolve the problem.

  • Thanks for the suggestions.

    Uninstalled CCS, reinstalled CCS in default directory, TI_RTOS still does not show in App Center.

    Tried running as administrator, same problem.

    Instructions say: "Search 'CC3200' in the App Center to find 'TI-RTOS for SimpleLink' and 'CC3200 Add-On' "

    TI-RTOS not there, see picture...

     

     

  • Heinrich -

    Can you build any of the CCS examples now?  Installing CCS outside of the Program Files (x86) folder may resolve the Unable to open XXX for writing compiler issue.. be sure to follow the Getting Started guide regarding importing of CCS projects and compile order.

    You had successfully displayed SimpeLink add-ins  in your first set of screen shots...

    To display TI RTOS in App Center, try removing the search term (I can't see what the search term is, from your screen shot) from the App Center filter input field (the text input field with the magnifying glass). To display all available Add-Ins (which includes TI-RTOS for SimpleLink, TI-RTOS for C2000, ...), clear the filter box and select Relevance of All. And take a gander at using the More...  button

    When you import the TI RTOS project, the RTSC tab shouldlook something like the following (shown after importing the projects for wlan_station):

     

     


  • Hi Jim,

    You nailed it.  After selecting "all" instead of "relevance" in the App Center,
    I got six versions of TI_RTOS including the Simplelink RTOS.
    So I went through the instructions and everything worked fine until I clicked
    the debug button for the wlan_station:

    "Error connecting to the target"

    I verified that Uniflash and Energia works with the serial connection.

    I noticed that in ti_rtos_config there was one file missing:
    ($(COM_TI_RTSC_TIRTOSSIMPLELINK_INSTALL_DIR)/products/bios/ ...
    like in pic7 from the instruction file.
    When I click the "Order" tab, I see the file (among others).

    I tried to insert it with the add command and it looked like in pic8
    (C:\TI\tirtos_simplelink_2_01_00_03\products\bios_6_40_03_39\packages)

    I built the ti_rtos_config project again and ran wlan_station ... same error

    "Error connecting to the target"

    I don't know if the error is related ti the ti_rtos_config or something else.

    Any ideas???


  • Heinrich -

    Glad to hear we are making progress!

    Try the following:

    Unplug your CC3200.

    Reboot your PC.

    Plug-in your CC3200.

    Check Windows Device Manager to make sure your COM ports for CCS are functioning correctly. With the CC3200 board connected, you should see something like the following (your COM port number is probably different - the important thing is that the device shows and is not flagged as having issues):

    If you don't have a CC3200LP Dual Port (COMx) entry or it shows an error, you'll need to resolve that before proceeding.

    If everything looks okay...

    In UniFlash:

    1. Format the CC3200 Flash. Do not check the Alert or Secure options.
    2. Do a Service Pack Update using the latest service pack:  http://e2e.ti.com/support/wireless_connectivity/f/968/t/381431.aspx

    (Shut down Uniflash)

    Restart CCS and try to launch a debug session. If you still get "unable to connect", post your console output to this thread.

  • Hi Jim,

    Com port in Device Manager looks good.

    Downloaded and flashed new Service Pack Update. OK.

    Started CCS, selected wlan_station, clicked debug button.

    "Error connecting to the target", see pic.

    No Luck ... Heinrich

     

  • Hi Heinrich

    what board revision do you have? And what does the info on the chip say? I have the same troubles connecting my new rev 4.1 with CC3200R1; while older v 3.2 with XCC3200HZ works just fine

  • Heinrich -

    So, the COM driver appears to be working, since you successfully flashed the board, but CCS isn't able to download wlan_station to the CC3200, i.e. - UniFlash can connect to/read/write the CC3200 Flash via the driver, but CCS won't communicate.

    • Make sure you have the following highlighted entries in Windows device manager (you should have them, since UniFlash "worked", but better safe than sorry) :

    • Make sure that you are using CC3200.ccxml as your CCS target  configuration, and the settings appear as follows: 

    • Verify that all of your CC3200 jumpers are installed as noted in the Getting Started guide.
    • Close CCS, disconnect the CC3200, reconnect the CC3200, relaunch CCS, and try debugging wlan_station. My experience has been that 3200 communications become randomly "cranky", and disconnecting/reconnecting the board and/or rebooting the PC seems to help.
    • (Shot in the dark) Try launching CCS with the -clean option (add the -clean to the Target command line in the shortcut used to launch CCS) and launch CCS using Run As Administrator, and then try debugging wlan_station.

  • Hi Jim,

    Here is what I found:

    Device Manager settings OK

    Target configuration OK

    Jumpers:
    were changed according to "cc3200 hardware guide _ Energia":
    J8 to SOP2   (see pic 11)

    restored original jumper setting ... and ... debug wlan_station compiled !!!

    pressed reset button:
    "Cortex_M4_0: Error"
    "Cortex_M4_0: Unable to determine target status after 20 attempts"
    (see pic 10)

    strangely, SOP2 jumper does not matter, it compiles either way, but J8 matters
    and, the setting was no problem for Energia

    so, another step forward ... left with one more runtime error ...

    Heinrich

  • Hi Martin,

    I have the 3.2 version with the ...HZ chip.

  • Heinrich -

    The CC3200 jumpers don't have anything to do with compiling/linking, only with downloading and debugging/running your program on the CC3200.  

    I don't work with Energia, but my CCS/UniFlash/CC3200 config doesn't require adding/removing the SOP2 jumper, just remove the jumper from J58 (the position when the boards were shipped) in order to run wlan_station, and installing jumper on SOP2 to use UniFlash or debug from CCS.  And leaving J8 jumpered "normally", rather than jumpering to SOP.  

    I believe the TI docs say someplace that the jumper should be moved from SOP2 to SOP1 to debug, but it makes no difference with my boards - I leave the SOP jumper on SOP2 all the time (with no jumper on SOP1/SOP0), but you might want to try debugging with the jumper on SOP1. 

    You didn't say anything about trying -clean to clear the CCS cache, so I guess you didn't want to try that.  

    The last thing I can think of for you to check is to verify that you have CC3200 communications driver installed in CCS (under Help/About Code Composer Studio/Installation Details):

  • Jim,

    First I was not sure how to do the clean launch, later today I took a closer look and added the -clean to the shortcut.
    Started CCS as administrator clicked on debug.  Compiled OK, but on pressing the reset button I got the same error.
     
    J58 ??  Where is that?  Hmmm ... a secret jumper to jump through secret hoops??

    J8 needs to connect the two TCK pins, otherwise I get the connection error.
    Jumper on SOP1 does not make a difference.

    CC3200 communications driver??
    Not sure, I see a "CC3200 Device Support  ... ", otherwise the list looks like the one you posted.
    Do I need to see the "CC3200 communications driver" in the list?

    Heinrich

  • Heinrich -

    Thinking (P)58 but typed J58. Sorry.

    For J8 -  you mentioned that you had followed the Energia-related procedure you had posted earlier, to jumper J8 to SOP2.  That jumpering of J8 to SOP2 isn't the same thing as the typical J8 jumper installation (jumpering TCK). Maybe I wasn't clear, but having the "normal" jumper on J8 (jumpering TCK) rather than connecting J8 to SOP2 was what I was suggesting that you do.  

    At this point, I don't believe I can be of any further assistance beyond what we have already achieved (getting TI-RTOS installed through App Center, and your "build" working).

    Good luck! 

  • Wanted to see, if other programs run in CCS, selected "blinky" in TI Resource Explorer

    Center window displays:  "This program cannot display the webpage" (no internet connection)
    Same for all other examples.
    Verified that internet connection works
    The video in the getting started window works too
    I remember that last week I was able to load (but not compile) examples.

    What could be the cause?