SLAU654E November   2015  – February 2019

 

  1.   MSP Flasher
    1.     Trademarks
    2. 1 Introduction
    3. 2 Compatibility
    4. 3 Triggers and Arguments
    5. 4 Exit Specifications
    6. 5 Firmware Update
    7. 6 Segment Erase
    8. 7 Example Cases
      1. 7.1 Loading and Executing Target Code From a TXT File
      2. 7.2 Reading Device Memory
      3. 7.3 Accessing a Device With a Device Activation Code
      4. 7.4 Securing the Target Device
      5. 7.5 Unlocking a Password-Protected Target Device
    9. 8 Using MSP Flasher on Unix
    10. 9 Error Codes
  2.   Revision History

Using MSP Flasher on Unix

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..."