This is an old revision of the document!


MSP Debug Stack

This process builds libmsp430.so on AARCH64 required by MSP DEBUG.

Setup

sudo -s
apt install build-essential libboost-all-dev libudev-dev libusb-1.0-0-dev libfox-1.6-dev autotools-dev autoconf automake libtool

Fetch

mkdir -p /opt/src/MSPDS
cd /opt/src/MSPDS
wget https://dr-download.ti.com/software-development/driver-or-library/MD-4vnqcP1Wk4/3.15.1.1/MSPDebugStack_OS_Package_3_15_1_1.zip
unzip MSPDebugStack_OS_Package_3_15_1_1.zip

Patch

sed -i 's/\/\/#define FPGA_UPDATE/#define FPGA_UPDATE/' DLL430_v3/src/TI/DLL430/UpdateManagerFet.cpp

HIDAPI

wget https://github.com/signal11/hidapi/archive/hidapi-0.8.0-rc1.zip
unzip hidapi-0.8.0-rc1.zip
cd hidapi-hidapi-0.8.0-rc1/
./bootstrap
./configure CFLAGS='-g -O2 -fPIC'
make

LIBUSB

cd /opt/src/MSPDS
cp hidapi-hidapi-0.8.0-rc1/hidapi/hidapi.h ThirdParty/include
cp hidapi-hidapi-0.8.0-rc1/libusb/hid.o ThirdParty/lib64/hid-libusb.o

Build

make -j 4

Install

cp libmsp430.so /usr/local/lib/
ldconfig

Resources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies