I've had a MSP430 for a very long time, but only recently got interested in it.
The chip in my MSP430 is a MSP430G2231, which according to http://energia.nu/Guide_MSP430LaunchPad.html I should be able to use with Energia.
But it doesn't show up in the board list, and when I try to compile the blink sample I get this error.
Energia: 1.6.10E18 (Windows 10), Board: "MSP-EXP430G2553LP"
: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 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
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.
Not sure what I'm missing...
Contacted the developer, and they sent me this:
Please see the work-around for this in this thread: http://forum.43oh.com/topic/9848-energia-1610r18-windows-7-launchpad-msp430g2553-dont-load-sketch/?p=74156
Will be fixed in the next core release.
Which has a work around to get this fixed:
- copy \hardware\tools\DSLite\DebugServer\drivers\MSP430.dll to \hardware\tools\msp430\bin\
- edit \hardware\energia\msp430\boards.txt an change the 2 occurrences of rf2500 with tilib
- restart energia and you should be able to upload to the MSP-EXP430G2 with MSP430G2553.
Now I'm getting this error:
Found FET: HID0016:COM5
Firmware version is 20409001
MSP430_VCC: 3000 mV
Device: F20x2_G2x2x_G2x3x (id = 0x0035)
2 breakpoints available
Chip ID data: f2 01 02
Writing 842 bytes at c000...
tilib: MSP430_Memory: Could not write device memory (error = 7)
ihex: error on line 55
tilib: MSP430_Run: Could not run device (to breakpoint) (error = 17)
the selected serial port MSP430_Close does not exist or
your board is not connected