SLAU654E November 2015 – February 2019
If multiple versions of libmsp430 are on the system, TI recommends invoking MSP Flasher by a script that sets the LD_LIBRARY_PATH. This method ensures that the libmsp430 library in the MSP Flasher installation directory is used.
Example:
#!/bin/bash
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
clear
./MSP430Flasher -w "Firmware.txt" -v -g -z [VCC]
read -p "Press any key to continue..."
./MSP430Flasher -r [FirmwareOutput.txt,MAIN]
read -p "Press any key to continue..."