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.

[EDIT]MSP430G2553 LaunchPad, Energia ERROR 0451:f432

Other Parts Discussed in Thread: ENERGIA, MSP-EXP430G2, MSP430G2303, MSP430G2553

hi everyone, I got a problem with my MSP430 launchpad and Energia. When i try to upload the new sketch to my MCU, i got the following error :  

"0451:f432 An error occurred while uploading the sketch"

i'm sure my MSP is connected with the usb cable included in the box, it is also connected to a COM port, and it is recognised by energia. 

which will be the problem?

thank you for your support

  • This is most likely a connection issue, please refer to the following GitHub Wiki:

  • thanks for your support. I have already seen that post but

    You have selected the wrong serial port.   

     I have only one serial port in my laptop

    Your launchpad is not connected to the USB.

     I'm pretty sure it is connected

    You are using a usb power cord, not a data cord. 

    I used the data cable included  in the launchpad

    There is bug Mac OS X in the driver that caused the Launchpad to be disconnected. Unplug/plug the LaunchPad to make Mac OS X recognize it again. (if you have programmed the Launchpad with code that is writing out serial data, hold the reset button on the launchpad for a few seconds when you connect the usb...then your mac should be able to upload again). 

    I'm working on a Win7 based laptop

    Note Energia will recognize your launchpad once it is connected to the usb. 2 extra lines will appear in the tools->Serial Port menu                                                            

     yes Energia recognize my launchpad and the two lines appear in the serial port menu, with the name of the right COM port




  • Does your Device Manager appear as such?

    If not then you might need to manually install the MSP-EXP430G2 driver:

    Does the issue exist in earlier versions of Energia?  I'm not having issues with E17.

    Regards, Ryan

  • yes it appear in device manager. 

    but i notice that in my Energia on the right corner it doesn't appear as in your pic. maybe my energia doesn't recognises it as a launchpad ?

  • This is because of the different Energia versions, as stated before I am using E17. However the fact that you are using a MSP430G2303 could be the issue as I am using a G2553 on my setup and believe that only the G2231, G2452, and G2553 variants are supported by Energia.

  • I thought you are right. 

    thank you for your support

    Regards, Claudio

  • I was wrong. Also my chip is a MSP430G2553. So it should it be compatible with Energia. I tried with CCS and it works. I have also tried with another usb cable, but i get the same error

    I pasted the error messages. Maybe it could help you 

    Energia: 1.6.10E18 (Windows 7), Board: "MSP-EXP430G2553LP"

    <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]

    Sketch uses 760 bytes (4%) of program storage space. Maximum is 16,384 bytes.
    Global variables use 20 bytes (3%) of dynamic memory, leaving 492 bytes for local variables. Maximum is 512 bytes.
    MSPDebug version 0.22 - debugging tool for MSP430 MCUs
    Copyright (C) 2009-2013 Daniel Beer <>
    This is free software; see the source for copying conditions. There is NO

    usbutil: unable to find a device matching 0451:f432
    An error occurred while uploading the sketch

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • I found the solution. I downloaded the E17 and it works. I think it was a bug of the E18.

    Thank you so much for your help and support
  • This is an issue with the mspdebug package for Energia 18 under windows. There is a workaround posted in this thread: 

    I will be releasing an updated MSP430 package in a week or so that addresses this issue. In the meantime, I would suggest using the work-around posted in the link above.

  • I use the latest version of Energia, i.e Energia 18. If you follow this step exactly it will work as usual.

    1, copy <energia directory>\hardware\tools\DSLite\DebugServer\drivers\MSP430.dll to <energia directory>\hardware\tools\msp430\bin\
    2. edit <energia directory>\hardware\energia\msp430\boards.txt an change the 2 occurrences of rf2500 with tilib
    3. restart energia and you should be able to upload to the MSP-EXP430G2 with MSP430G2553.
  • Please tell me how can do that what's mean  change the 2 occurrences of rf2500 with tilib

    2. edit <energia directory>\hardware\energia\msp430\boards.txt an change the 2 occurrences of rf2500 with tilib

    Thank you so much

  • delete "rf2500", write "tilib". Good luck!
  • This issue has been fixed in msp430 core release 1.0.2. In Energia 18 select Tools->Board->Boards Manager. Then locate MSP430, select it and click update.

  • Thanks for your updated MSP430 package.

    I also faced the same problem in energia E18 version before I update the board manager and also I done some changes on boards.text as mentioned in this post. But after updation my problem is solved.

    Warm regards,

**Attention** This is a public forum