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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Review Blogs LED Road Test - MSP EXP430FR4133 Launchpad IDE - Blog 10 Dec 6
  • Blogs
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: dougw
  • Date Created: 7 Dec 2015 4:56 AM Date Created
  • Views 591 views
  • Likes 4 likes
  • Comments 5 comments
Related
Recommended
  • msp430fr4133
  • ccs
  • exp430fr4133
  • lighting
  • ledroadtestplus
  • würth
  • energia
  • texas_instruments
  • led_road_test

LED Road Test - MSP EXP430FR4133 Launchpad IDE - Blog 10 Dec 6

dougw
dougw
7 Dec 2015

The next phase of this road test involves using the MSP EXP430FR4133 Launchpad in a related application. I will be trying to set it up as an ultrasonic distance meter, using the on-board LCD to display distance out to about 21 feet.

There is an on-going learning curve to deal with in learning the IDEs for developing software for this platform. Here is a brief tale summarizing hours of messing around with IDEs:

I am running 64bit Windows 10 which is not listed as supported by CCS Cloud but it is pretty similar to Windows 8 which is supported. To get CCS Cloud to talk to a Launchpad via USB serial port requires installing TIcloudagent. When I did this CCS Cloud found the Launchpad and its COM port number, so I tried to upload an example “blink” program. It indicated I needed to update the firmware drivers, so I let it do that. Then it tried to load the blink program and it loaded something which stopped the original demo, but did not blink the LED. After this, nothing would load and there was no sign of connection – the Target menu just had a greyed out COM port label with no port number.

Next I tried Energia. It kept indicating “No unused FET found”. I eventually figured out this meant it needed new drivers to be uploaded as well, so I asked it do that – which it did. This enabled me to upload a “blink” example that actually runs fine.

Next I tried to reload the original launchpad demo program using a batch file (Program OutOfBox_MSP430FR4133.bat) in the support files associated with the Launchpad. This program again uploads new drivers with this sequence in a “DOS window”:


image

Note that after all the updating it cannot recognize the device and complete the program load. If I run this batch file again, it doesn't do any more updates, but the last 9 lines of the above sequence (starting at “Reading FW version”) are the same. It will not recognize the launchpad.

Next I went back to CCS Cloud and it then was able to find the target and its COM port. However, when I imported the same Energia “blink” demo and tried to Run it, I again got a message to update the firmware:


image

So I update again. This time it loaded the blink program and it ran fine.

Some lessons learned from this exercise:

  • Energia may not provide a useful error message or explanation of what to do if no FET is found, but try clicking on the “Update Programmer” menu item.
  • CCS Cloud doesn't explain why it can't find a Target device – you need to load a program and try to Run it before CCS Cloud starts popping up messages about what is going on.
  • Energia and CCS use different FET firmware versions and you will need to reload them if you switch IDEs.
  • CCS Cloud does run under Windows 10 (with a Chrome browser)

These tips would have saved me a lot of time and a lot of head-scratching.

Here is a quick video showing how to load software into Code Composer Studio Cloud, hopefully avoiding some of the pitfalls I ran into:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image


I have started to program my ultrasonic distance meter, however it is a long way from done - the sensor is finally here, but I have not got communications with it running yet. That will have to wait for a future installment, but here is a short video of the program boot. I will likely get rid of the scrolling title as, it is more useful in my application to have the readings start as soon as possible.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image


The LED Road Test page is here:

http://www.element14.com/community/roadTests/1481


The Lighting Group page is here:

Lighting


Here are links to my other blog entries for this road test:

LED Road Test - Proposal - Blog 0 Jan 1, 2016

Light Emitting Diodes Road Test - Blog 1 Nov 1

LED Road Test - 3D Printed Housings - blog 2 Nov 10

LED Road Test - Dodecahedron Light Fixture  Blog 3 Nov12

LED Road Test - Wearable Interactive Lights - Blog 4 - Nov 13

LED Road Test - Interactive Trophy - Blog 5 Nov 16

LED Road Test - Making Household Objects Interactive - Blog 6 Nov 22

LED Road Test - Power LEDs - Up & Running - Blog 7 Nov 24

LED Road Test - Star Wars - The Force Awakens - Blog 8 Nov 28

LED Road Test - Selfie Phenomenon - Blog 9 Nov 29

LED Road Test - MSP EXP430FR4133 Launchpad IDE - Blog 10 Dec 6

LED Road Test - Vehicle Situational Awareness System Blog 11 Dec 14

LED Road Test - Vehicle Situational Awareness System Indoor Demo - Blog 12 Dec 20

LED Road Test - Maple Leaf Christmas Decoration - Blog 13 Dec 24

LED Road Test - Vehicle Situational Awareness System - Detecting the Borg in the Driveway - Blog 14 Dec 26

LED Road Test - Reflow Soldering Power LEDs - Blog 15 Jan 10

LED Road Test - Induction Heating Reflow Soldering - Blog 16 Jan12

LED Road Test - Summary - Blog 17 Jan 15

 

Associated Video Links

LED Road Test Unboxing

MSP-EXP430FR4133 Demo

BLE LED Power On Test

BLE LED 3D Printed Housings 2

Dodecahedron Light Fixture

Creating a Light Fixture using 123D Design

Wearable Interactive Arc Reactor

Interactive Trophy

Interactive Illuminated Household Objects

Power LEDs Thermal Discussion

LED Ring Light

Star Wars - Let The Force Be With The Light

CCS Cloud Basics

UltrasonicDistanceMeter-Boot

VSAS Indoor Demo

Maple Leaf BLE LED Decoration

Maple Leaf CAD design

Vehicle Situational Awareness System in Operation

Vehicle Situational Awareness System Operating at Night

Reflow Soldering SMT LEDs

Induction Heating Reflow Soldering

  • Sign in to reply

Top Comments

  • gpolder
    gpolder over 9 years ago +1
    Hi Douglas, I also started with CCS Cloud (in Energia mode), using Mac OS X. I also needed to update the firmware, Then I compiled and uploaded the blinky program, which didn't run immediately, but after…
  • dougw
    dougw over 9 years ago in reply to DAB +1
    The datasheet indicates max range is 254 inches - it is dependent on how often the pulse needs to be sent and the speed of sound - the echo needs to get back before the next pulse is sent. I haven't tested…
  • dougw
    dougw over 9 years ago in reply to DAB

    The datasheet indicates max range is 254 inches - it is dependent on how often the pulse needs to be sent and the speed of sound - the echo needs to get back before the next pulse is sent. I haven't tested how reliable this range claim is, but the sensor is one of the better ones available (Maxbotix). Hopefully my future blogs will have more firsthand feedback...

    Doug

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 9 years ago

    Great update.

     

    How far does the ultrasonic sensor work reliably?

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 9 years ago

    > CCS Cloud does run under Windows 10 (with a Chrome browser)

    It does on my windows10/Chrome installation

     

    Ah, misread image I thought it said doesn't

    Off to the optician's shop...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gpolder
    gpolder over 9 years ago

    Hi Douglas,

     

    I also started with CCS Cloud (in Energia mode), using Mac OS X. I also needed to update the firmware, Then I compiled and uploaded the blinky program, which didn't run immediately, but after replugging my board it did image

     

    Gerrit.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ipv1
    ipv1 over 9 years ago

    Neat Idea on the 3D printed case... 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