Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
boards:msp430 [2020/11/23 15:42] darron [Pinout] |
boards:msp430 [2020/12/27 00:46] darron |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== MSP430 | + | ==== MSP-EXP430G2 |
<wrap right> | <wrap right> | ||
{{: | {{: | ||
</ | </ | ||
- | The MSP430 | + | The MSP-EXP430G2 |
The latest boards come with the MSP430G2553 and the MSP430G2452 processors but the first revision came with the MSP430G2231 and MSP430G2211. | The latest boards come with the MSP430G2553 and the MSP430G2452 processors but the first revision came with the MSP430G2231 and MSP430G2211. | ||
Line 20: | Line 20: | ||
VCC | VCC | ||
- | P1.0 (LED1) A0 | + | P1.0 (LED1) A0 |
- | P1.1 (UART) A1 TXD XOUT P2.7 | + | P1.1 (UART) A1 TXD |
P1.2 (UART) A2 RXD TEST | P1.2 (UART) A2 RXD TEST | ||
P1.3 (S2) | P1.3 (S2) | ||
- | P1.4 A4 SDA MISO A7 P1.7 | + | P1.4 A4 |
P1.5 A5 SCK SCL MOSI A6 (LED2) P1.6 | P1.5 A5 SCK SCL MOSI A6 (LED2) P1.6 | ||
- | P2.0 CS P2.5 | + | P2.0 |
P2.1 P2.4 | P2.1 P2.4 | ||
P2.2 P2.3 | P2.2 P2.3 | ||
- | P1.3 P1.0 P1.6 RESET GND | + | GND |
- | S2 S1 VCC | + | P1.3 P1.0 P1.6 |
- | + | S2 LED1 LED2 S1 VCC | |
- | LED1 LED2 | + | |
| | ||
</ | </ | ||
Line 39: | Line 38: | ||
=== Launchpad demo === | === Launchpad demo === | ||
- | First install the required | + | First install the [[tools: |
- | < | + | Demo |
- | apt-get install binutils-msp430 gcc-msp430 msp430-libc mspdebug msp430mcu | + | |
- | </ | + | |
- | Program demo | ||
< | < | ||
hg clone http:// | hg clone http:// | ||
Line 56: | Line 52: | ||
enter probe mode. | enter probe mode. | ||
- | Probe mode values are binary encoded | + | Probe mode sends the binary encoded |
+ | temperature over the communications port. | ||
+ | Communication can be tested with picocom | ||
< | < | ||
picocom -b 2400 / | picocom -b 2400 / | ||
</ | </ | ||
- | + | Or, | |
- | === MSP debug === | + | |
< | < | ||
- | mspdebug rf2500 | + | linux-serial-test -s -R -t -p /dev/ttyACM0 |
- | MSPDebug version 0.22 - debugging tool for MSP430 MCUs | + | |
- | Copyright (C) 2009-2013 Daniel Beer < | + | |
- | This is free software; see the source for copying conditions. | + | |
- | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | + | |
- | + | ||
- | Trying to open interface 1 on 036 | + | |
- | Initializing FET... | + | |
- | FET protocol version is 30394216 | + | |
- | Set Vcc: 3000 mV | + | |
- | Configured for Spy-Bi-Wire | + | |
- | Device ID: 0x2553 | + | |
- | Code start address: 0xc000 | + | |
- | Code size : 16384 byte = 16 kb | + | |
- | RAM start address: 0x200 | + | |
- | RAM end | + | |
- | RAM size : 512 byte = 0 kb | + | |
- | Device: MSP430G2553/G2403 | + | |
- | Number of breakpoints: | + | |
- | fet: FET returned NAK | + | |
- | warning: device does not support power profiling | + | |
- | Chip ID data: 25 53 | + | |
- | + | ||
- | Available commands: | + | |
- | = | + | |
- | alias | + | |
- | break | + | |
- | cgraph | + | |
- | delbreak | + | |
- | dis | + | |
- | + | ||
- | Available options: | + | |
- | color | + | |
- | enable_bsl_access | + | |
- | enable_locked_flash_access | + | |
- | fet_block_size | + | |
- | gdb_default_port | + | |
- | + | ||
- | Type "help < | + | |
- | Use the " | + | |
- | Press Ctrl+D to quit. | + | |
- | + | ||
- | (mspdebug) | + | |
</ | </ | ||
+ | It should be noticed that the TI demo was written for devices without a hardware UART. | ||
=== Resources === | === Resources === | ||