Skip to content

gjbauer/libmsp430

 
 

Repository files navigation

About

libmsp430 is a friendly fork-and-fix of the canonocal TI 'MSP430DLLv3' for linux, which is previously only available as a zip file with a hard to find patch for Debian/Ubuntu.

When trying to use mspdebug using the 'tilib' option on my persoan Linux box, I could not find a working zip of 'MSP430DLLv3' to build, so I collected the patches and posted them in this repo to share.

In this fork of the fork, I manually applied the patches found here and here in addition to some fighting with the remaining compiler error for a few minutes. I then had to updated the codebase to match the upstream version of the source to allow it to work with my specific microcontroller.

Branches

master : our patched branch of MSP430DLLv3

Instructions

  1. check out this repository
  2. run './ubuntu_install_prereqes.sh'
  3. run ' mspdebug tilib -d /dev/ttyACM0' (assuming your ti device is on ACM0) and verify you have an error loading 'libmsp430.so' on your machine
  4. run 'make' If you are lucky, this should just work
    • NOTE: I ran into a problem building this on my Ubuntu ARM64 machine because it does not package libboost-system. If this is also your case, run the build-boost.sh script to build and install libboost-system to link against
  5. run 'make install' to install the driver, so mspdebug can find the lib
  6. Plug in a MSP-FET430UIF device into your machine
  7. run ' mspdebug tilib -d /dev/ttyACM0' (assuming your ti device is on ACM0) it should work now.

See Also:

About

Fork-and-fix of the TI MSP430 Programmer library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 73.2%
  • C++ 25.5%
  • HTML 1.1%
  • Other 0.2%