forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Board: MSP EXP430FR5969
attdona edited this page Nov 19, 2014
·
2 revisions
Setting up mspdebug with tilib driver could be quite tricky. Follow (and eventually adapt) this recipe, teste on ubuntu 14.04 64 bit:
Follow the instructions posted here:
http://www.colotronics.blogspot.com.ar/2014/08/msp430-toolchain-in-ubuntu-1404-with.html
with this recipe for tilib setup:
#udev rules, new file 61-TI-MSP430.rules in /etc/udev/rules.d
sudo bash -c "echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="2047", ATTR{idProduct}=="0013", MODE="0666", GROUP="dialout"' > /etc/udev/rules.d/61-TI-MSP430.rules" # ez-fet
sudo bash -c "echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="2047", ATTR{idProduct}=="0010", MODE="0666", GROUP="dialout" #msp-fet430uif' >> /etc/udev/rules.d/61-TI-MSP430.rules"
sudo addgroup yourUserName dialout
sudo service udev restart
#OPTIONAL TILIB v3 installation, for msp-fet430uif debugger, or newer microcontrollers/boards (see http://forum.43oh.com/topic/5706-use-mspdebug-to-upgrade-msp430fr5969/) ignore if you don't need it.
sudo apt-get install libudev-dev libfox-1.6-0 autotools-dev autoconf automake libtool libboost-all-dev
mkdir tilib
cd tilib
wget http://www.ti.com/lit/sw/slac460j/slac460j.zip
wget https://github.com/downloads/signal11/hidapi/hidapi-0.7.0.zip
unzip slac460j.zip
unzip hidapi-0.7.0.zip
cd MSPDebugStack_OS_Package/ThirdParty/
mkdir lib
mkdir include
cd ../../hidapi-0.7.0/linux/
#Edit makefile of hidapi
sed -i 's/CFLAGS ?= -Wall -g/CFLAGS ?= -Wall -g -fPIC/g' Makefile
sed -i 's/CXXFLAGS ?= -Wall -g/CXXFLAGS ?= -Wall -g -fPIC/g' Makefile
sed -i 's/LIBS = `pkg-config libusb-1.0 libudev --libs`/LIBS = `pkg-config libusb-1.0 libudev --libs` -lpthread/g' Makefile
#Build hidapi, copy to MSPDebugStack_OS_Package, and build libmsp430.so
make 2>&1 | tee mo
cp hid-libusb.o ../../MSPDebugStack_OS_Package/ThirdParty/lib
cp ../hidapi/hidapi.h ../../MSPDebugStack_OS_Package/ThirdParty/include
cd ../../MSPDebugStack_OS_Package/
make 2>&1 | tee mo
#Copy .so library to system path
sudo cp libmsp430.so /usr/local/lib
RIOT - The friendly Operating System for the Internet of Things
Homepage | [GitHub] (https://github.com/RIOT-OS/) | Developers Mailing List | Users Mailing List | Twitter @RIOT_OS
- Family: ARM
- Board: Airfy Beacon
- Board: Arduino Due
- Board: IoT LAB_M3
- Board: mbed_lpc1768
- Board: MSB-IoT
- Board: MSBA2
- Board: OpenMote
- Board: PCA1000x (nRF51822 Development Kit)
- Board: UDOO
- Board: Samr21 xpro
- Board: Spark Core
- Board: STM32F0discovery
- Board: STM32F3discovery
- Board: STM32F4discovery
- Board: yunjia-nrf51822
- Family: ATmega
- Board: Arduino Mega2560
- Family: MSP430
- Board: MSB-430H
- Board: TelosB
- Board: WSN430
- Board: Zolertia Z1
- Board: eZ430-Chronos
- Family: native
- Board: native
- Family: x86
- Board: Intel Galileo