Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:mspdebug [2022/10/23 12:20] darrontools:mspdebug [2023/11/09 23:26] (current) – [Version 0.25] darron
Line 3: Line 3:
 MSP DEBUG is used to program and debug MSP430 devices on Linux. MSP DEBUG is used to program and debug MSP430 devices on Linux.
  
-===Debian (v0.22===+===Version 0.22===
  
-==Install mspdebug==+==Install==
  
 <code> <code>
Line 60: Line 60:
 </code> </code>
  
-=== Build (v0.25===+=== Version 0.25 ===
  
-==Install libmsp430.so==+First install [[https://wiki.kewl.org/dokuwiki/tools:mspds|libmsp430.so]].
  
-WARNING: libmsp430.so built on Debian bullseye with latest libboost1.74 does not work but +==Install==
-it works fine when built on older Debian buster with libboost1.62 +
- +
-Fetch code and install libraries +
- +
-<code> +
-cd /opt/src +
-mkdir slac460y +
-cd slac460y +
-wget http://www.ti.com/lit/sw/slac460y/slac460y.zip +
-unzip slac460y.zip +
-apt-get install libboost-all-dev libhidapi-dev libusb-1.0-0-dev +
-</code> +
- +
-Patch for Linux +
-<code> +
-wget https://dlbeer.co.nz/articles/slac460y/slac460y-linux.patch +
-patch -p1 < slac460y-linux.patch +
-</code> +
- +
-Compilation fixes for libboost1.7 on Debian bullsye (BROKEN) +
-<code> +
-find -iname "*.cpp" -exec sed -i 's/(chrono/(std::chrono/g' {} \; +
-find -iname "*.cpp" -exec sed -i 's/boost::asio::io_service/boost::asio::io_context/g' {} \; +
-find -iname "*.h" -exec sed -i 's/boost::asio::io_service/boost::asio::io_context/g' {} \; +
-</code> +
- +
-Build and install +
-<code> +
-make +
-make install +
-ldconfig +
-</code> +
- +
- +
-==Install mspdebug==+
  
 <code> <code>
Line 109: Line 74:
 make install make install
 </code> </code>
- 
  
 ==Test== ==Test==
Line 180: Line 144:
  
 __ezfet__ __ezfet__
 +
 +Whilst eZ-FET mode works with this example, tilib is preferred since mspdebug
 +eZ-FET support can be unreliable.
  
 <code> <code>