element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
In the Air Design Challenge
  • Challenges & Projects
  • Design Challenges
  • In the Air Design Challenge
  • More
  • Cancel
In the Air Design Challenge
Blog CC3200 Development in Visual Studio
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: xever
  • Date Created: 21 Nov 2014 1:35 PM Date Created
  • Views 1386 views
  • Likes 4 likes
  • Comments 7 comments
  • cc3200-launchxl
  • iot_footprint
  • in_the_air
  • cc3200_launchpad
  • cc3200
Related
Recommended

CC3200 Development in Visual Studio

xever
xever
21 Nov 2014

In my last post, I have walked you through on how to write firmware for the MSP430 using Visual Studio and VisualGDB.  This post however is now focused on developing for the CC3200 using Visual Studio.

 

TI's CC3200 was not officially supported by VisualGDB, and so will have to follow their legacy tutorial on how to setup the development environment.  This tutorial however is a bit cumbersome and you will have to extract the GCC flags from the example make files.  Below are the VisualGDB (GCC) settings used for this approach.  Ensure that the CC3200 SDK has been installed in the default directory.

 

Argument

Value

Include Directories

C:\ti\CC3200SDK_1.0.0\cc3200-sdk\inc

C:\ti\CC3200SDK_1.0.0\cc3200-sdk\driverlib

${ProjectDir}

PreProcessor macros

gcc

Entry Point Argument

 

Linker Script

C:\ti\CC3200SDK_1.0.0\cc3200-sdk\tools\gcc_scripts\cc3200.ld

Additional Libraries

"add path as required."

C:\ti\CC3200SDK_1.0.0\cc3200-sdk\driverlib\gcc\exe\libdriver

CPU type flag

-mcpu=cortex-m4

There is one big hurdle with this approach, and that is debugging.  Setting up the environment to debug the firmware was a bit tricky such that it requires changes to OpenOCD, one needs to configure the connection interface with LaunchpadXL, etc. which I had serious struggle getting that up and running.  So I contacted SysProgs support team and ask them to lend me a hand on how to get debugging work on the CC3200.  Kudos to the support team, that not only they helped me out on how to configure the debugger, they actually made updates and patches to OpenOCD and officially support the CC3200.  My contribution to them was really about testing the update and providing feedback.  The tutorial can be found here.


I have tried the TI's sample applications by following the tutorials and they do work as expected.  Then I tried creating another project based on the tcpSocket example from which I will build my firmware for the sensor nodes.  My current VS solution now looks like the image below.



image



Some important stuff:


  • If you have setup VisualGDB before and have OpenOCD already installed, you will have to manually delete the folder C:\Users\<CurrentUser>\AppData\Local\VisualGDB\EmbeddedDebugPackage\com.sysprogs.arm.openocd.  If this folder has not been deleted, VisualGDB will throw an error in Step 5 of the tutorial.
  • When selecting the CC3200 MCU variant, if your CC3200 LaunchpadXL board is rev 3.2, choose XCC3200HZ (170Kb RAM variant).  Better yet, check the chip marking.
  • Possibly the most important part.  Microsoft has released Visual Studio Community Edition which has all the capabilities of the VS Professional variant but FREE.  You can download Visual Studio Community Edition here.

 

Now that the development environment has been setup for my sensor nodes, my next posts will be more design-focused and will go through the guts of the CFMS (Carbon Footprint Monitoring System).

  • Sign in to reply

Top Comments

  • clem57
    clem57 over 10 years ago +2
    @ Christever del Rosario Great write up. Thanks for pointing out link for microsoft download. Clem
  • shabaz
    shabaz over 10 years ago +1
    It would be cool if there was a tool to convert back-and-forth between the settings in VS and a GNU Makefile. Otherwise, it gets difficult for people to replicate on non-Windows platforms : ( (assuming…
  • Former Member
    Former Member over 9 years ago

    Check out our new webinar is coming on over-the-air (OTA) updates for the CC3200 microcontroller unit from Texas Instruments using the KaaRegistered IoT Platform.

    Will leave the link just in case http://www.kaaproject.org/controlled-ota-updates-for-ti-cc3200-with-the-kaa-iot-platform/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • amgalbu
    amgalbu over 10 years ago in reply to xever

    Great news!

    Thanks!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • xever
    xever over 10 years ago in reply to amgalbu

    Microsoft has released Visual Studio Community Edition which has the same features as the Professional.  You can find out more here.  So you can stop using Express editions and move to the Community Edition.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 10 years ago

    @Christever del Rosario

     

         Great write up. Thanks for pointing out link for

    microsoft download. image

     

    Clem

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • amgalbu
    amgalbu over 10 years ago

    It's pity it only works with Professional+ versions of Visual Studio... should it work with Express version this would be a great free alternaitve!

     

    Great post!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube