JAWS Specification - Target Interface
The JAWS target interface consists of a hardware component (description of the necessary wiring and electrical specification) and a software interface. Currently support for AVR and MSP430 based targets is available. The wiring and pin assignments are listed below.
AVR Target - dsnB Target Adapter (BTnode)
Target Logic | dsnB J8 | dsnB Logic | Interface Logic | dsnB J4/ BTnode J1 | BTnode Logic | AVR Pin |
---|---|---|---|---|---|---|
UART0_TXD | 1 | ISP_MOSI_RXD | TG_UART0_RXD | 4 | UART0_RXD | PE1 |
UART0_RXD | 4 | ISP_MISO_TXD | TG_UARTO_TXD | 5 | UART0_TXD | PE0 |
RESET | 5 | ISP_RESET | TG_RESET | 27 | SS | PB0 |
SCK | 3 | SCK | SCK | 26 | SCK | PB1 |
ISP_POWER_SW | TG_POWER | 36 | TMS | PF5 | ||
VCC | 2 | VCC_ISP | TG_VOLTAGE | 38 | TDO | PF6 |
GND | 6 | GND | GND | 40 | GND | GND |
The software serial port for debugging is available on PE2/UART0_RTS
and PE4/UART0_CTS
using INT4
.
MSP430 Target - A80 Adapter
Interface Logic | BTnode J1 | BTnode Logic | AVR Pin |
---|---|---|---|
TG_UART_TXD | 4 | UART0_TXD | PE1 |
TG_UART_RXD | 5 | UART0_RXD | PE0 |
TG_RESET | 27 | SS | PB0 |
TG_PROG | 14 | PB4 | PB4 |
IRQ | 29 | PE6 | PE6 |
TG_BATT | 10 | PF0 | PF0 |
TRIGGER | 31 | PE3 | PE3 |
SDA | 12 | SDA | PD1 |
SCL | 13 | SCL | PD0 |
The software serial port for debugging is available on PE2
and PE4
using INT4
. Target power control is possible through I2C using a support MSP430 on the interface board.
MSP430 Bootloader Init Sequence
The A80 board needs a patched bootloader that uses the following init sequence:
_______ RESET __| |________ ______ ___ PROG |________|
The basic MSP430 (BSL 1.1) init sequence is a little more complex. It requeres to download a patch/patched bootloader prior to flashing. For details see the TI application notes
Links
- A80 Target Interface [txt]
- Features of the MSP430 Bootstrap Loader [pdf] [2006-02]
- Application of Bootstrap Loader in MSP430 With Flash [pdf] [2001-07]
MSP430 Target - dsnT Target Adapter (Tmote Sky)
Tmote 6-pin Expansion (U28)
Tmote Logic | Tmote U28/ dsnT J2 | dsnT Logic | Interface Logic | dsnT J5/ BTnode J1 | BTnode Logic | AVR Pin |
---|---|---|---|---|---|---|
RESET | 6 | SCK | TG_RESET | 26 | SCK | PB1 |
GIO2 | 3 | SS | TG_PROG/TG_RTS | 27 | SS | PB0 |
GIO3 | 4 | PE6 | TG_CTS | 29 | PE6 | PE6 |
Tmote 10-pin Expansion (U2)
Tmote Logic | Tmote U2/ dsnT J6 | dsnT Logic | Interface Logic | dsnT J5/ BTnode J1 | BTnode Logic | AVR Pin |
---|---|---|---|---|---|---|
UART0RX | 2 | ISP_MOSI_TXD | TG_UART0_TXD | 4 | UART0_TXD | PE1 |
UART0TX | 4 | ISP_MISO_RXD | TG_UART0_RXD | 5 | UART0_RXD | PE0 |
ISP_POWER_SW | TG_POWER | 36 | TMS | PF5 | ||
AVcc | 1 | VCC_ISP | TG_VOLTAGE | 38 | TDO | PF6 |
GND | 9 | GND | GND | 40 | GND | GND |
BSL Init Sequence
___ _______ TG_RESET |_____________| ____ ____ TG_TCK _____| |____| |____
Links
- Tmote Sky Datasheet [pdf]
- Features of the MSP430 Bootstrap Loader [pdf] [2006-02]
- Application of Bootstrap Loader in MSP430 With Flash [pdf] [2001-07]
MSP430 Target - dsnTN Target Adapter/Extension Board (TinyNode)
MSP430 Target - dsnTN Target Adapter (TinyNode)
Tinynode Logic | Tinynode K2/ dsnTN J2 | dsnTN Logic | Interface Logic | dsnTN J5/ BTnode J1 | BTnode Logic | AVR Pin |
---|---|---|---|---|---|---|
nRST | 8 | SS | TG_RESET | 27 | SS | PB0 |
TCK | 7 | SCK | TG_PROG | 26 | SCK | PB1 |
URXD1 | 9 | ISP_MOSI_TXD | TG_UART_TXD | 5 | UART0_TXD | PE0 |
UTXD1 | 11 | ISP_MISO_RXD | TG_UART_RXD | 4 | UART0_RXD | PE1 |
TG_POWER_SENSE | TG_CURRENT | 35 | TCK | PF4 | ||
TG_POWER_SW | TG_POWER | 36 | TMS | PF5 | ||
VCC | 2 | VCC_ISP | TG_VOLTAGE | 38 | TDO | PF6 |
GND | 6 | GND | GND | 40 | GND | GND |
BSL Init Sequence
___ _______ TG_RESET |_____________| ____ ____ TG_TCK _____| |____| |____
Links
- TinyNode Datasheet [pdf]
- Features of the MSP430 Bootstrap Loader [pdf] [2006-02]
- Application of Bootstrap Loader in MSP430 With Flash [pdf] [2001-07]
TinyNode Standard Extension Board
deprecated
Since the TCK pin (necessary to enter programming mode) is not accessible on the TinyNode, we have to use the RS-232 serial port interface provided by the TinyNode Standard Extension Board to interface to the TinyNode. Accessing the RS-232 serial port is done by connecting the BTnode to an IF232-3.3Volt RS-232 adapter board. To interface to the TinyNode, the BTnode is connected to an IF232-3.3Volt adapter board which in turn is connected directely to the RS-232 serial port interface provided by the TinyNode Standard Extension Board.
IF232 Logic | IF232 pin | Interface Logic | BTnode Logic | AVR Pin |
---|---|---|---|---|
DTR | 6 | TG_RESET | SS | PB0 |
RTS | 7 | TG_PROG | SCK | PB1 |
RXD | 4 | TG_UART_RXD | UART0_TXD | PE1 |
TXD | 5 | TG_UART_TXD | UART0_RXD | PE0 |
VCC | 1 | TG_POWER | TMS | PF5 |
GND | 10 | GND | GND | GND |
BSL Init Sequence
___ _______ TG_RESET |_____________| ____ ____ TG_TCK _____| |____| |____