Difference between revisions of "MSP-EXP430F5529LP"
From MAGEEC
(Created page with "Category:Hardware ==Platform details== {| |- | Processor || MSP430F5529 |- | Architecture || MSP430 |- | Instruction sets || MSP430 |- | Memory || 128kB Flash, 8kB RAM |}...") |
(→GDB server) |
||
Line 31: | Line 31: | ||
$ ./mspdebug ezfet gdb | $ ./mspdebug ezfet gdb | ||
− | This starts a gdb server on port 2000. | + | This starts a gdb server on port 2000, however doesn't seem to allow flashing of the device (although you can debug, and step through programs). |
+ | |||
+ | $ wget http://www-s.ti.com/sc/techzip/slac460.zip | ||
+ | $ unzip slac460.zip | ||
+ | $ cd MSPDebugStack_OS_Package | ||
+ | |||
+ | $ wget http://mspdebug.sourceforge.net/misc/slac460f_unix.diff | ||
+ | $ patch -p1 <slac460f_unix.diff | ||
+ | |||
+ | $ cd ThirdParty | ||
+ | $ chmod +x install_thirdparty.sh | ||
+ | $ ./install_thirdparty.sh | ||
+ | |||
+ | $ cd .. | ||
+ | $ make | ||
+ | $ sudo make install | ||
+ | |||
+ | This creates libmsp430.so, which allows the tilib driver of mspdebug to be used. | ||
===Toolchain=== | ===Toolchain=== | ||
$ apt-get install gcc-msp430 msp430-libc msp430mcu gdb-msp430 | $ apt-get install gcc-msp430 msp430-libc msp430mcu gdb-msp430 |
Revision as of 12:29, 18 November 2013
Contents
Platform details
Processor | MSP430F5529 |
Architecture | MSP430 |
Instruction sets | MSP430 |
Memory | 128kB Flash, 8kB RAM |
Hardware modifications
None necessary, attach probes to the 3V3 jumper.
Software setup
udev rules
$ cat /etc/udev/rules.d/62-msp-exp430f5529lp.rules ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0013", MODE="0666", GROUP="plugdev"
GDB server
To build:
$ git clone git://git.code.sf.net/p/mspdebug/code mspdebug $ cd mspdebug $ make
To run:
$ ./mspdebug ezfet gdb
This starts a gdb server on port 2000, however doesn't seem to allow flashing of the device (although you can debug, and step through programs).
$ wget http://www-s.ti.com/sc/techzip/slac460.zip $ unzip slac460.zip $ cd MSPDebugStack_OS_Package $ wget http://mspdebug.sourceforge.net/misc/slac460f_unix.diff $ patch -p1 <slac460f_unix.diff
$ cd ThirdParty $ chmod +x install_thirdparty.sh $ ./install_thirdparty.sh
$ cd .. $ make $ sudo make install
This creates libmsp430.so, which allows the tilib driver of mspdebug to be used.
Toolchain
$ apt-get install gcc-msp430 msp430-libc msp430mcu gdb-msp430