Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:mspdebug [2022/10/20 14:00] – [Build (v0.25)] darron | tools: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 | + | ==Install== |
< | < | ||
Line 60: | Line 60: | ||
</ | </ | ||
- | === Build (v0.25) === | + | === Version 0.25 === |
- | ==Install | + | First install [[https:// |
- | Fetch code and install libraries | + | ==Install== |
- | < | + | |
- | cd /opt/src | + | |
- | mkdir slac460y | + | |
- | cd slac460y | + | |
- | wget http:// | + | |
- | unzip slac460y.zip | + | |
- | apt-get install libboost-all-dev libhidapi-dev libusb-1.0-0-dev | + | |
- | </ | + | |
- | + | ||
- | Patch for Linux | + | |
- | < | + | |
- | wget https:// | + | |
- | patch -p1 < slac460y-linux.patch | + | |
- | </ | + | |
- | + | ||
- | Compilation fixes for modern boost (tilib is now broken) | + | |
- | < | + | |
- | find -iname " | + | |
- | find -iname " | + | |
- | find -iname " | + | |
- | </ | + | |
- | + | ||
- | Build and install | + | |
- | < | + | |
- | make | + | |
- | make install | + | |
- | ldconfig | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==Install | + | |
< | < | ||
Line 105: | Line 74: | ||
make install | make install | ||
</ | </ | ||
- | |||
==Test== | ==Test== | ||
Line 176: | Line 144: | ||
__ezfet__ | __ezfet__ | ||
+ | |||
+ | Whilst eZ-FET mode works with this example, tilib is preferred since mspdebug | ||
+ | eZ-FET support can be unreliable. | ||
< | < | ||
Line 240: | Line 211: | ||
Press Ctrl+D to quit. | Press Ctrl+D to quit. | ||
+ | (mspdebug) | ||
+ | </ | ||
+ | |||
+ | __tilib__ | ||
+ | |||
+ | < | ||
+ | mspdebug tilib | ||
+ | MSPDebug version 0.25 - debugging tool for MSP430 MCUs | ||
+ | Copyright (C) 2009-2017 Daniel Beer < | ||
+ | This is free software; see the source for copying conditions. | ||
+ | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
+ | Chip info database from MSP430.dll v3.15.0.1 Copyright (C) 2013 TI, Inc. | ||
+ | |||
+ | Using new (SLAC460L+) API | ||
+ | MSP430_GetNumberOfUsbIfs | ||
+ | MSP430_GetNameOfUsbIf | ||
+ | Found FET: ttyACM0 | ||
+ | MSP430_Initialize: | ||
+ | Firmware version is 31300601 | ||
+ | MSP430_VCC: 3000 mV | ||
+ | MSP430_OpenDevice | ||
+ | MSP430_GetFoundDevice | ||
+ | Device: MSP430F5438 (id = 0x003f) | ||
+ | 8 breakpoints available | ||
+ | MSP430_EEM_Init | ||
+ | Chip ID data: | ||
+ | ver_id: | ||
+ | ver_sub_id: | ||
+ | revision: | ||
+ | fab: 55 | ||
+ | self: 5555 | ||
+ | config: | ||
+ | fuses: | ||
+ | Device: MSP430F5438 | ||
(mspdebug) | (mspdebug) | ||
</ | </ |