The Arduino IDE is an abstraction layer for the AVR chip which the board is based around. So it’s no surprise that it is now possible to use the Arduino IDE with the TI Launchpad board. This makes it dead simple for beginners to play around with the inexpensive and low-power MSP430 platform. This is all thanks to a lot of hard work on part of the Energia developers.
The project branches from Arduino so the look, feel, and function are all about the same. Most notably, the color scheme has migrated to red to match the board color of the Launchpad. You can configure the hardware the same way by selecting a COM port and target board. Almost everything is already working, but you should check the known issues page so that you don’t try to use a function that hasn’t been ported. Right now the list includes the random and random seed functions, as well as tone, notone, and micros. There is also an issue with analogWrite; it will only produce half the requested frequency and duty cycle can only be set from 0-50%. Still this is a great development if you’re most comfortable working from this IDE.
And it’s none too small of an announcement that there is finally a freely-available IDE for the LaunchPad on OS X! Excited I am.
@radicalbiscuit: emacs and msp430-gcc work on os x for ages. And it’s the best thing avaliable for any OS.
The great thing about this, and the Arduino platform in general, is that it enables people for whom finding and installing discrete, non-gui, software packages is intimidating. They can move to using gcc directly, a programmer and a different editor later, if necessary.
TI really ought to throw these guys a few bucks. This will introduce the 430 family to a lot of people.
And emacs for a non-technical user!?!? hahahahahahahahahahaha. That was a nice laugh to start the morning with. ;-)
10 PRINT “NO! VI IS THE BEST!”
20 PRINT “NO! EMACS IS THE BEST!”
30 GOTO 10
@Tinkering Engineer
5 GOTO 20
30 GOTO 20
TFTFY
Is there a TI 99-4/A emulator for the TI Launchpad?
@Galane
Yo, that is really funny….
I was looking @ my 99/4a yesterday, thinking “Man what if I could make a hardware replica of the TI-99/4a by stringing a couple of launchpads logether?”
I do not think one would be enough. I think you would need one just to handle the sub-qvga video, one to translate the storage, and one for the keyboard.
… unless you figure out how to add the f1612 into the mix? Then you could just use one board, and an i/o expander.
I actually was looking @ the 99/4a, because I want to get it onto the hackaday retro site. I think the Arduino + Ethernet shield should work nicely. I have just be overwhelmed with my schoolwork.
This reminds me, Is there a linux binary for this IDE, or source somewhere?
AWESOME
Heroes. Please, please drag TI kicking and screaming into the world of free and cross-platform tools.
This is great. I bought a couple of Launchpads when they first came out, but they’ve been collecting dust since I mainly use a Mac. I did install a Windows-based IDE using Parallels, but I found it bloated for just playing around with the boards.
I’ll have to dig them out and see how they work with this.
I got this link the other day via Twitter. This will make the two MSP430s I have actually useful!!!
Finally will be able to use my two launchpad’s I bought last year.
Crap. arduino is spreading like plague. Another platform infected.
I remember the good ol’ days, when development boards were expensive, programmers were proprietary, and toolchains were monstrously large and complex.
Hah! I remember better old days when we wrote our own assemblers in machine language!
Now get off my lawn kid!
Welcome to the party TI!
Okay, now lets get the STM -Discovery boards working with this!
http://www.leaflabs.com
Thanks!
More blinking leds projects to come.
Also this post fails to explain what it adds.
Is arduino now a language as well and it will be complied into msp430 code? Is this just a text editor?
From the known issues page it sounds like it’s the Arduino libraries and wiring as a few functions (such as random()) are not yet working.
@DanJ: At least it has a nice&shiny cc-mode, which is a lot more comfortable to use then crippled arduino editor.
I definitely agree with you that using the Arduino editor is a frustrating exercise. I usually write the main body of code in a different editor.
I’ve been using the external editor option. It’s not great but it does allow me to use emacs.
Oh wow. Just the other day I was lamenting the fact that I haven’t really done anything with the 6 launchpad kits I have, mostly because I haven’t taken the time to learn to code for it.
But being able to run Arduino code on an MSP430? That sure changes things!
Thank you all for the kind word! A special thanks to the Energia contributors RickKimball, rei-vilo, pbrier and StefanSch for making this possible!
robertinant
Again Thank you guys for lettin’ me (and from the comments, as well as many others) who brought the Launchpad and never used it cuz we didn’t get around learnin’ how to program it.
Keep it up
if someone made a proper mmapped i/o viewer for Eclipse instead of doing all this useless crap, the world would seriously be a better place.
+1
I guess it’s a step in the right direction…
@Neil Cherry: Than what’s the point of using a crippled abstraction layer with a huge overhead, supporting very few devices and pulling in a very weird buildsystem?
Emacs is not crippled … oh Arduino. ;-) I don’t know actually, I thought about that very thing after I posted the reply.
The only answer I could come up with was that it’s easy for beginners or if you want to get something done quickly. As a friend pointed out recently, if I could buy time that would be a product worth marketing! In a way the Arduino system does that, buys you a little time.
Now if we could just convince the Arduino fans to start calling “sketches” what they are: programs. And that “shields” are just boards. Oh, and to align their pins to a 100 mil grid. And why such wierd board shapes?
The software TI supplied was more than reasonable, but the Arduino based stuff is welcome.
On the other hand, the ST Discovery has been a disappointment. Great board! Powerful processor! Then they just dump a list of vendors that you may be able to piece together a tool-chain from. Come on ST, you can do better.
So, now that we have this sweet, new ide for the launchpad, how about shields?
When is someone going to design an adapter, of sorts, so we can install arduino shields on the launchpad.
Also, I know I asked already, but is there a linux version for this? Or maybe source to compile one?
Any idea if this can be applied to the FRAM models ie. MSP-EXP430FR5739? I’m just not sure how to add the drivers/libraries to the Energia interface.
-Nick
Hi Nick,
There is an ongoing effort to add support for new MSP430 flavors. FR5793 support is well on it’s way on the Branch_F2274_Fr57xx_support branch. Also see https://github.com/energia/Energia/issues/70 for discussions on that topic. For any further questions I would suggest start a topic on the Energia forum here: http://www.43oh.com/forum/viewforum.php?f=38
Robert
I was having trouble setting this program up on my machine (I’m not a “super” ubuntu user per se). I did figure out how to get it going, eventually. Using the linux version (found in the issues section of the github page) required compiling msp430g++ which was not as hard as I had made it out to be in my head.
If you’re having trouble you are welcome to check out my blog about it.
http://blog.onaclovtech.com/2012/07/energia-setup.html
My thanks to the folks who made this happen!
We need more people who just do it!
CUI32Stem, write in whatever language you prefer. BASIC (StickOS), Arduino (MPIDE), or C (MPLAB-X).
http://www.seeedstudio.com/wiki/CUI32Stem
Note that you can change the god-awful colors by copying data from the theme.txt and all the gif files (in the same directory) from an arduino installation.