Texas Instruments Energia IDE

Revision as of 14:47, 27 September 2021 by Fdarling (talk | contribs) (initial page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

A modified version of Arduino IDE for Texas Instruments MPS430 development boards.

Installation

Linux

Download the latest .tar.xz archive from the following page:

https://energia.nu/download/

Then unpack it somewhere such as ~/opt (it will create it's own subdirectory):

cd ~/opt
tar xf ~/Downloads/energia-1.8.10E23-linux64.tar.xz

Set up the udev rules, which allow normal users permission to use the USB in-circuit programmer which is integrated on the development board. The instructions are here:

https://energia.nu/guide/install/linux/

sudo wget https://s3.amazonaws.com/energiaUS/files/71-ti-permissions.rules -O /etc/udev/rules.d/71-ti-permissions.rules

From a fresh install, you might get error while attempting to upload a project to the board. You must first update the boards package:

Tools->Board->Boards Manager...->Energia MSP430 boards->Update

It's possible there will be an issue with the board updating the programmer's firmware, in which case it might need to be fixed using MSP430Flasher. You can download it here (but you need to an account):

https://www.ti.com/tool/MSP430-FLASHER

https://apps.industrialshields.com/main/openmote/tools/MSPFlasher-1_03_20_00-linux-x64-installer.zip (direct link)

Inside the ZIP there is a GUI installer in the form of a .run file:

7z x MSPFlasher-1_03_20_00-linux-x64-installer.zip
chmod a+x MSPFlasher-1.3.20-linux-x64-installer.run
./MSPFlasher-1.3.20-linux-x64-installer.run

To initiate a firmware recovery, run MSP430Flasher without any target board:

cd ~/opt/MSPFlasher_1.3.20
sudo LD_LIBRARY_PATH=. ./MSP430Flasher -n NO_TARGET

NOTE: it may be possible to perform the update without root permissions, but it probably isn't worth the trouble to set up for this one time application

Online Resources

Energia IDE

Resolved: Unable to upload anything to the EXP430 - Energia - MSP - 43oh