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.

MSP430G2 Launchpad board not recognized when creating new Energia Sketch project using Latest Energia 1.6.10E18 release

Other Parts Discussed in Thread: ENERGIA, MSP430G2553, MSPWARE

I just did a reinstall of Code Composer Studio and did all 7,328 updates to get it all up to date ( I may have exaggerated on the update count... :-) )

Anyway, I also installed the newest version of Energia.  Version 1.6.10E18 otherwise known as release 18.

There was a defect in the Energia stand alone app where it would not recognize the MSP430G2 Launchpad.  I was given a fix for it and made the necessary changes and now the Energia stand alone app works just fine with my MSP430G2 Launchpad.

However, I am not having any luck with Code Composer Studio.  I open Code Composer Studio, and Select File/New/Project/Energia/Energia Sketch.  Then I get a dialog where I can specify my project name and device.  Unfortunately, it says 'No boards or targets found...  

Any ideas as to how to get Code Composer Studio to recognize my MSP430G2 Launchpad?

  • Hi Curtis,

    Which version of CCS are you using? You mentioned that you did a reinstall, but I wasn't sure if you meant a reinstall of an older version or an install of the latest version.

    Regards,

    James

    MSP Customer Applications
  • I did a get of the Latest version of CSS and have since used the 'Check for Updates' option and have the very latest of all parts of CSS.  Also, I have the very latest release of Energia, which is Energia 18.  One of the forums indicated that CSS does not currently support Energia 18 fully and that they are working on it.  

    Would that affect CSS's ability to detect an MSP430G2 Launchpad board?

    Should I just revert Energia back to Energia 17 ?

    The reason I updated is that I am using my MSP430G2 Launchpad board to program an MSP430G2553 controller that is 28 pins.  For Version 17, Energia didn't support that chip and I had to do several tweaks to get it to compile and get the pins correct.  I hadn't messed with it for a while and when I came back to it, things weren't working correctly.  I figured that if I got the lastest of CSS and the lastest Energia, I'd get lucky and the unsupported 28 pin MSP430G2553 would be supported.  Also, there were a couple other bugs that would hopefully have been addressed.

    Unfortunately, looks like CSS and Energia are out of sync with each other for the time being.

    Do you know when CSS and Energia's latest versions will be able to work nicely together again?  This whole process is becoming quite tedius.. Maybe I should just switch over to Arduino :-(...  Unfortunately, I do need the Low-Power and feature set of the MSP430G2553 controller.  It's pretty amazing.  Just a bit frustrating to write firmware for it.

    Thanks.

  • Hi Curtis,

    Let's make sure CCS can detect/program the 28-pin device first.

    Assuming you have installed MSPWare, inside CCS, go to "View" -> "TI Resource Explorer" and search for "MSP430G2553". Next, go to "MSPWare" -> "Devices" -> "MSP430G2x53" -> "Code Examples" and click "MSP430G2x53" to show the C code examples. Under "Project Name", scroll down and click "msp430g2xx3_1.c" for the Software Toggle P1.0 example. Under devices, select "MSP430G2553", then click "Create" to create the project.

    In the Project Explorer window of CCS (left-hand side), the project should be shown as Active. Expand the project folder and click the C file to view the code. Next, try to download the program onto the device by clicking the Debug button. If you aren't able to connect to the external 28-pin target device, try debugging the 20-pin device on the LaunchPad itself. Keep in mind that you may have to repopulate the emulation jumpers (e.g. TXD, RXD, RST, TEST, VCC) if they've been removed. Basically, we want to make sure only one target is connected at a time.

    Let me know if this works.

    Regards,

    James

    MSP Customer Applications
  • Excellent.  I was able to get my MSP430G2 Launchpad to blink the red light using your above example.  I then connected it to my 28Pin MSP430 board and I go it's lights to blink as well.

    However, When I attempt to create a new Energia Sketch it won't detect the board on that screen.

  • Curtis,

    The issue isn't that CCS can't detect the G2 LaunchPad but instead looks like an issue with CCS reading the board information in Energia 18.  I suspect that something changed in how that information is defined which breaks the integration with CCS.  CCS will need to be updated to support the change.

    I am downloading Energia 18 now and will give it a try to confirm the above assumption.

    Regards,

    John

  • There is an issue with the Energia MSP430 board package. A workaround is described on 43oh.com

    http://forum.43oh.com/topic/9848-energia-1610r18-windows-7-launchpad-msp430g2553-dont-load-sketch/

  • The above link gets us half way there. The 'fix' takes care of the stand alone Energia app. So if you are using Energia and NOT using CSS, things work just fine. However, if you are trying to use CSS and create a new Energia Sketch project from inside of CSS, you will not be able to. I'm looking forward to the results of John's research after he installs Energia 18.

  • I can see the issue in both CCSv6.1.3 and the about to be released 6.2.0. Both give the warning that testing is done with versions up to 17 and both give the error when you try to create a new sketch. CCS is not able to read the board info for any of the platforms.

    Energia 17 works ok.

    I compared the directory structure between 17 and 18 and I see a number of differences. There are extra levels of hierarchy and some name changes in 18. I tried tweaking 18 to see if I could get CCS to work but no luck. I will file an issue with this so that we are tracking it but from what I can tell this will require an update to CCS to understand the new board management setup.

    John
  • Good to know. I'll revert back to Energia 17. Unfortunately, it has some bugs in parts I use and some hacks to get it working. I'd really rather not have to hack it, but it looks like that's the only way around it. Thanks for researching this and taking the time to answer my questions and resolve as much as possible my issues.
  • I believe they are going to fix the board support package for MSP430 in Energia IDE as soon as next week. However for the CCS to update, I'm not sure how long that will take. Might be worth checking back in a few days.
  • Will do. Thanks again.
  • I did some checking around. The change has been comprehended in our release beyond 6.2.0. The good news is that the new board management system in Energia should help with keeping compatibility going forward. The bad news is that right now the CCS release schedule shows that this won't be addressed until closer to the end of the year.

    John

**Attention** This is a public forum