element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 [AirCare] InTheAir - Week 1: Getting a Launchpad to Blink
  • 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: fvan
  • Date Created: 29 Oct 2014 5:56 PM Date Created
  • Views 1916 views
  • Likes 2 likes
  • Comments 14 comments
  • eclipse_iot
  • mqtt
  • openhab
  • beaglebone_black
  • internet_of_things
  • in_the_air
  • texas_instruments
  • iot_sensor_nodes
  • cc3200
  • launchpad
Related
Recommended

[AirCare] InTheAir - Week 1: Getting a Launchpad to Blink

fvan
fvan
29 Oct 2014

Previous posts for this project:

  • [AirCare] InTheAir - Project Description

 

  • Introduction
  • Struggling
  • Fallback

 

Introduction

 

On Monday, I received a package from element14. It contained the two TI Launchpads provided for the challenge: MSP430FR5969 and CC3200.

Now, i've never worked with Launchpads before, so all of this is new to me.


In this post, I'll try to get started with Launchpads and the associated software.

 

Struggling

 

There seem to be (at least) two different software packages to work with TI Launchpads: Energia and Code Composer Studio.

 

Energia seems to be the Launchpad version of the Arduino IDE, while CCS (Code Composer Studio) is a more elaborate IDE based on Eclipse.

Unfortunately, CCS is not available for Mac ... image So I went ahead and continued with Energia instead.

image

I downloaded the MacOS X version of Energia from Download | Energia and started the installation.

Once Energia was installed, I tried to run it. This returned a message that a legacy version of Java was required.

imageimage

 

I installed Java 6 by following the instructions and tried running Energia again, only to be confronted with a new warning message.

imageimage

 

This time, my Mac was refusing to launch the application because it is from an "unidentified developer". This was probably due to some security settings on my Mac. Luckily, I found that by "right" clicking, and selecting "Open", the popup message was different and allowed me to run the application.

 

At last, Energia was up and running. That wasn't too hard, and the problems that were encountered, were overcome easily.

image

 

Competitors were provided two Launchpads for this challenge. I thought I'd start with the MSP430FR5969 and later on proceed with the CC3200 as I got more familiar with the Launchpad and software.

As with Arduino, I wanted to start off with something very basic: blinking LEDs.


From the examples, I loaded the Blink sketch, and tried to upload it to the board.

imageimage

 

This returned an error that my Launchpad's firmware needed to be updated. Unfortunately that kept failing at a certain point, saying it was an unknown device. What now ?

 

tilib: MSP430_OpenDevice: Unknown device (error = 5)

tilib: device initialization failed

 

I posted my question in the TI support thread (Have a Question for TI?  Ask it Here!) but have yet to get an answer from anyone. In parallel, I searched the world wide web for answers.

It would seem that the new MSP430FR5969 with EnergyTrace feature is not properly supported yet, and a new version of Energia (with new drivers) is required. Proposed solutions were to either use CCS (which is not available on Mac) or to manually patch/update the driver. Unfortunately, always referring to Windows or Linux, not Mac.

 

It seems like I won't be able to move forward with Launchpads on my Mac for the time being ...

 

Fallback

 

By lack of working options on my Mac, I ended up falling back to my old Windows XP desktop PC ... It's old and slow, but I have no other choice.

 

I installed Energia on it, but encountered the same issue as before. So I installed CCS6 and guess what ? It recognised the Launchpad properly!

With CCS up and running, and the board recognised, I was finally able to upload a sketch to my MSP430FR5969 Launchpad!

image

 

CCS requires some getting used to, but I was able to rather easily find my way and upload the sketch. Even the "EnergyTrace" feature mentioned earlier made an appearance (lower-right corner in the screenshot). It seems to be able to provide live feedback on the Launchpads power consumption. I'll have to look up this feature to find out what it's all about!

  • Sign in to reply
  • vish
    vish over 10 years ago

    Hi fvan,

    I found this thread in energia forum. https://github.com/energia/Energia/issues/371#issuecomment-58653235

    They solved( unofficially ) this problem for linux. May be helpful for you.

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

    Hi!

     

    That's great! Glad you enjoyed it - it does seem an fantastic event!

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

    Hi shabaz!

     

    I already have image Thanks to your post and my old XP machine, I was able to run some sample code on the CC3200 (pinging gateway and external ip).

    That will be for next week's post image

     

    Electronica was great. Size was overwhelming (12 huge halls), my legs hurt from the 4 days of walking around, but it was a very satisfying experience! image

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

    Hi Frederick!

     

    I've not used the FR5969, but with the CC3200 while you're waiting for Energia you might want to try out CCS (e.g. from the getting-started-guide) - the code may look fairly similar to you, since the C code is not much different from the Arduino/Energia stuff.

    Although I'm sure you've got plenty of other stuff to do meanwhile! How is Electronica going??

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

    Oh, that's great news, thanks! image

    • 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