• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » MSP430™ Microcontrollers » MSP430 Ultra-Low Power 16-bit Microcontroller Forum » Is there a tool like LM Flash Programmer for the MSP430 LaunchPad?
Share
MSP430™ Microcontrollers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS
MSP430 Resources
  • MSP430 Product Folder
  • MSP-EXP430G2 - MSP430 LaunchPad Value Line Development kit
  • MSP430 Getting Started Guide
  • MSP430 Microcontroller Projects
  • More Resources >
  • Forums

    Is there a tool like LM Flash Programmer for the MSP430 LaunchPad?

    This question is answered
    Jason Work
    Posted by Jason Work
    on Jun 14 2012 22:47 PM
    Expert7425 points

    I'm looking for the equivalent program or tool for the MSP430 LaunchPad as LM Flash Programmer (LMFLASHPROGRAMMER) is for the Stellaris boards.  Does this exist?  Yes.

    Requirements:

    • Free
    • Small enough to email
    • Can program binaries (flash image: TI-TXT) onto MSP430G2xx2 parts on LaunchPad (MSP-EXP430G2)
    • Will use USB and emulation on board the LaunchPad and not a separate piece of hardware (like the MSP-FET430UIF)
    • Works on Microsoft Windows

    Options that meet the requirements:

    • FET-Pro430 Lite
    • MSP430 Flasher
    • MSPDebug

    Here are the other options I considered:

    • IAR, Free for smaller value line parts but it's a full IDE.  I want something small enough I can email
    • CCS.  Same as IAR (but free for all value line parts).
    • MSP-PRGS430 Software.  Requires MSP-PRGS430 hardware
    • Uniflash Too big to email (~200 MB)

    What other options could I consider?

    • MSPGCC
    • Inventortown online MSP430 editor
    • MSPFET
    • Debug Server Scripting
    • SmartRF Flash Programmer
    Flash programmer elprotronic launchpad msp430 flasher MSPDebug load
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Gustavo L
      Posted by Gustavo L
      on Mar 24 2011 17:37 PM
      Genius9990 points

      MSPDebug is free and supports different hardware options. It's  for linux though.

      http://mspdebug.sourceforge.net/

      Gustavo

      ---------------------------------------------------------------------------------------------------------
      Please click the Verify Answer button on this post if it answers your question.
      ---------------------------------------------------------------------------------------------------------

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jason Work
      Posted by Jason Work
      on Mar 24 2011 17:50 PM
      Expert7425 points

      Gustavo L

      MSPDebug is free and supports different hardware options. It's  for linux though.

      MSPDebug has since added these features (among others):

      • Windows support
      • LaunchPad support
      • MSP430 value line phase 2 device support

       

      MSPDebug
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Gustavo L
      Posted by Gustavo L
      on Mar 24 2011 17:54 PM
      Genius9990 points

      I think having such a software would be advantageous. It will likely need to be written by TI. It makes evaluating software easy when you just want to get going in 5 minutes. I remember doing that on the Stellaris evaluation kits and I was happy I could at least use the hardware before digging into a compiler.

       

      Gustavo

      ---------------------------------------------------------------------------------------------------------
      Please click the Verify Answer button on this post if it answers your question.
      ---------------------------------------------------------------------------------------------------------

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jason Work
      Posted by Jason Work
      on Mar 24 2011 18:20 PM
      Expert7425 points

      Gustavo L

      I think having such a software would be advantageous. It will likely need to be written by TI. It makes evaluating software easy when you just want to get going in 5 minutes. I remember doing that on the Stellaris evaluation kits and I was happy I could at least use the hardware before digging into a compiler.

      Agreed.  I want to build demo boards that will piggyback on the LaunchPad board.  Then when I give them to a customer they can easily load different binaries to evaluate different examples/features.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Mr.Nischay Kumar V
      Posted by Mr.Nischay Kumar V
      on Mar 24 2011 21:31 PM
      Verified Answer
      Verified by Jason Work
      Intellectual500 points

       

       

      Hi Jason,

      I think you can use Elprotronic's Lite- FET Pro-430 with Launchpad , i programmed a G2452 using Launchpad and Lite-FETPro-430.  Elprotronic S/W has the required dlls and works with all TI's USB FETs

      Regards

      Nischay

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jason Work
      Posted by Jason Work
      on Mar 24 2011 21:44 PM
      Expert7425 points

      Mr.Nischay Kumar V

       I think you can use Elprotronic's Lite- FET Pro-430 with Launchpad , i programmed a G2452 using Launchpad and Lite-FETPro-430.  Elprotronic S/W has the required dlls and works with all TI's USB FETs

      Yes, you're right Nischay.  Thank you.  I just verified it with the attached files.

      • regularFlash.txt is the binary (flash image: TI-TXT) made from the unmodified "LaunchPad Temperature Sense Demo - Source files" that are found here.
      • fastFlash.txt is the binary (flash image: TI-TXT) made from the above project but I double the LED flash rate in PreApplicationMode()

      2677.regularFlash.txt
      2475.fastFlash.txt

      I can program one and then the other to see the difference.

      One thing I noticed is you need to reset the board using the GUI in the box called, "Power Device from Adapter."  Otherwise you'll need to unplug and plug in the board again to power it and get the program running.  This was the case with either setting of "final target device actions."

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jason Work
      Posted by Jason Work
      on Mar 24 2011 22:26 PM
      Expert7425 points

      MSP430 Flasher also works.  It only appeared not to have worked the first time I tried it because I did not set the state of the device on exit.

      This time I programmed a board with MSP430G2452.  The board piggybacks on the MSP-EXP430G2.  Since the target MCU is on the piggybacked board, there is not MCU in the DIP socket.

      This is the command I used in MSP430 Flasher:

      MSP430Flasher.exe -n MSP430G2452 -v -w uart.txt -i USB -z [VCC]

      uart.txt is the name of my binary file.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Gustavo L
      Posted by Gustavo L
      on Mar 25 2011 00:56 AM
      Genius9990 points

      I had forgotten about MSP430 flasher. Haven't used it much but I'll give it another try.

       

      Gustavo

      ---------------------------------------------------------------------------------------------------------
      Please click the Verify Answer button on this post if it answers your question.
      ---------------------------------------------------------------------------------------------------------

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jason Work
      Posted by Jason Work
      on Jun 14 2012 22:47 PM
      Expert7425 points

      Gustavo L

      MSPDebug is free and supports different hardware options.

      I verified using MSPDebug to program a file to a MSP430G2452 on the LaunchPad.  Here’s my setup.

      Operating System: Microsoft Windows XP Professional Version 2002 Service Pack 3
      Hardware: LaunchPad MSP-EXP430G2 (Hardware ID USB\\Vid_0451&Pid_f432&Rev_105 as seen in device manager)
      Device: MSP430G2452
      MSPDebug tools:
          MSPDebug mspdebug-0.19.tar.gz
              Download
              Install instructions
              Commands
          Minimalist GNU for Windows mingw-get-inst-20120426.exe
          GnuWin regex-2.7-bin
          GnuWin readline-5.0-1-bin
          libusb-win32-bin-1.2.6.0 (used inf-wizard.exe to install new driver)

      The Intel-hex files I programmed are attached.  There are two files, so I could observe a change. 

      3124.blinky2452Slow.zip

      Here is my log file showing the commands used:

      cmd

      Microsoft Windows XP [Version 5.1.2600]
      (C) Copyright 1985-2001 Microsoft Corp.

      C:\Documents and Settings\a0123456>cd ../..

      C:\>cd MinGW

      C:\MinGW>cd mspdebug-0.19

      C:\MinGW\mspdebug-0.19>mspdebug --usb
      Devices on bus 000:
          000:000 0451:f432 eZ430-RF2500 [serial: 19FF469286D91E2B]

      C:\MinGW\mspdebug-0.19>ls
      AUTHORS    README              formats       mspdebug.man   ti_3410.fw.ihex
      COPYING    blinky2452.hex      history5.dll  readline5.dll  ti_3410.fw.txt
      ChangeLog  blinky2452Slow.hex  libusb0.dll   regex2.dll     ui
      Makefile   drivers             mspdebug.exe  simio          util

      C:\MinGW\mspdebug-0.19>mspdebug rf2500 "prog blinky2452.hex"
      MSPDebug version 0.19 - debugging tool for MSP430 MCUs
      Copyright (C) 2009-2012 Daniel Beer <dlbeer@gmail.com>
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      Trying to open interface 1 on \\.\libusb0-0001--0x0451-0xf432
      Initializing FET...
      FET protocol version is 30394216
      Configured for Spy-Bi-Wire
      Set Vcc: 3000 mV
      Device ID: 0x2452
      Device: MSP430G2452
      Code memory starts at 0xe000
      Number of breakpoints: 2
      Erasing...
      Programming...
      Writing  178 bytes to e000...
      Writing    2 bytes to fffe...
      Done, 180 bytes written

      C:\MinGW\mspdebug-0.19>mspdebug rf2500 "prog blinky2452Slow.hex"
      MSPDebug version 0.19 - debugging tool for MSP430 MCUs
      Copyright (C) 2009-2012 Daniel Beer <dlbeer@gmail.com>
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      Trying to open interface 1 on \\.\libusb0-0001--0x0451-0xf432
      Initializing FET...
      FET protocol version is 30394216
      Configured for Spy-Bi-Wire
      Set Vcc: 3000 mV
      fet: FET returned error code 4 (Could not find device (or device not supported))

      fet: command C_IDENT1 failed
      fet: identify failed
      Trying again...
      Initializing FET...
      FET protocol version is 30394216
      Configured for Spy-Bi-Wire
      Sending reset...
      Set Vcc: 3000 mV
      Device ID: 0x2452
      Device: MSP430G2452
      Code memory starts at 0xe000
      Number of breakpoints: 2
      Erasing...
      Programming...
      Writing  178 bytes to e000...
      Writing    2 bytes to fffe...
      Done, 180 bytes written

      C:\MinGW\mspdebug-0.19>

      I then checked to see that I could program the same files using  FET-Pro430 Lite 3.0.7 TI dll 3.2.3.15.  I uninstalled the USB device.  Unplugged it.  Plugged it back in (now default driers).  The Elprotronic tool programmed the same two files successfully also.

       

      launchpad MSPDebug flash programmer
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Thomas Timme
      Posted by Thomas Timme
      on May 11 2013 09:07 AM
      Prodigy30 points

       Hello from Germany,

      I run the latest version of Code Composer Studio (Version: 5.3.0.00090)
      I'm not able to connect my Launchpad EXP430G2 (Target is MSP430G2553).

      The Compiler/Linker says: MSP430: Loading complete. Code Size - Text: 1604 bytes Data: 12 bytes.
      After disconnect/connect the USB-Cable the Demo-App (Temperature_sense_Demo) starts
      to toggle the red/green LES's.

      access with the MSP430Flasher results:

       ****************************************************************************

      Evaluating additional triggers...done
      Initializing interface on TIUSB port...done
      Checking firmware compatibility...done
      Reading FW version...done
      Reading HW version...done
      Powering up...done
      Configuring...done
      Accessing device...done
      Reading device information...done
      Resetting device...done
      Refreshing registers...
      /* ----------------------------------------------------------------------------
      * UseCase : MSP430Flasher.exe
      * Arguments : -n MSP430G2553 -i TIUSB
      * ATTENTION: Default options used due to invalid argument list.
      * ----------------------------------------------------------------------------
      * Driver : loaded
      * Dll Version : 20409001
      * FwVersion : 30394216
      * Interface : TIUSB
      * HwVersion : E 2.0
      * Mode : AUTO
      * Device : MSP430G2xx3
      * EEM : Level 1, ClockCntrl 1
      * VCC ON : FALSE
      * UseCase specific tasks: ----------------------------------------------------
      * Disconnecting from device...
      * ----------------------------------------------------------------------------
      * Driver : closed (No error)
      * ----------------------------------------------------------------------------
      */
       ****************************************************************************

      To me it's seems like Code Composer Studio performs a download
      while "Run/ConnectTarget" is disabled (greyed out).

      I've also tried to change the COM-Settings (COM17->COM3 and back)
      without results...

      What is wrong ??
      Pleas give me a little suggestion.

      regards Thomas


       

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use