Skip to content

Common error messages

robertinant edited this page Jun 8, 2012 · 14 revisions

There are some error messages that are not so obvious what they mean. This is a living collection of messages and some possible meanings.

1

"usbutil: unable to find a device matching 0451:f432"
  • You have selected the wrong serial port.
  • Your launchpad is not connected to the USB.
  • 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.
  • Note Energia will recognize your launchpad once it is connected to the usb. 2 extra lines will appear in the tools->Serial Port menu
2
core.a(main.cpp.o): In function `main':**
/Applications/Energia.app/Contents/Resources/Java/hardware/msp430/cores/msp430/main.cpp:7: undefined reference to `setup'**
collect2: ld returned 1 exit status**
  • You don't have a setup function defined, or have a typo in the name. See BareMinimum example for more information.
3
core.a(main.cpp.o): In function `main':
/Applications/Energia.app/Contents/Resources/Java/hardware/msp430/cores/msp430/main.cpp:10: undefined reference to `loop'
collect2: ld returned 1 exit status
  • You don't have a loop function defined, or have a typo in the name. See BareMinimum example for more information.
Clone this wiki locally