2,079 bytes added
, 14:47, 27 September 2021
== Overview ==
A modified version of Arduino IDE for Texas Instruments MPS430 development boards.
== Installation ==
=== Linux ===
Download the latest <code>.tar.xz</code> archive from the following page:
https://energia.nu/download/
Then unpack it somewhere such as <code>~/opt</code> (it will create it's own subdirectory):
<pre>cd ~/opt
tar xf ~/Downloads/energia-1.8.10E23-linux64.tar.xz</pre>
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/
<pre>sudo wget https://s3.amazonaws.com/energiaUS/files/71-ti-permissions.rules -O /etc/udev/rules.d/71-ti-permissions.rules</pre>
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:
<pre>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</pre>
To initiate a firmware recovery, run MSP430Flasher without any target board:
<pre>cd ~/opt/MSPFlasher_1.3.20
sudo LD_LIBRARY_PATH=. ./MSP430Flasher -n NO_TARGET</pre>
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 ==
[https://energia.nu/ Energia IDE]
[https://forum.43oh.com/topic/26792-resolved-unable-to-upload-anything-to-the-exp430/ Resolved: Unable to upload anything to the EXP430 - Energia - MSP - 43oh]