Datasheet

53
NOTE: Init Command
Do not use the Monitor init command out of the terminal emulator while the bit pattern
AA55h is stored in memory location 3DEh on the MSP430X32x, or 5DEh on the
MSP430X33x family. Otherwise, the user application with the reset vector stored at 3FEh
(5FEh for the MSP430X33x family) will be started.
To use the INT_RXTX interrupt service routine, first load the P0.1 interrupt-vector, which is responsible for
the timer interrupt used in the software UART. The P0.1 interrupt vector is stored in the user interrupt vector
table at address 3F8h.
The following code is an example of the user interrupt vector table and the associated branch to the
INT_RXTX routine.
UART: br &0FFDAh
RESET: br &0FFFEh
.sect Int_Vect,03E0h ; Use 05E0h for the MSP430X33x family
.word RESET ; Port0, bit 2 to bit 7
.word RESET ; Basic Timer
.word RESET ; no source
.word RESET ; no source
.word RESET ; no source
.word RESET ; EOC from ADC
.word RESET ; no source
.word RESET ; no source
.word RESET ; no source
.word RESET ; no source
.word RESET ; Watchdog/Timer, Timer mode
.word RESET ; no source
.word UART ; Address of UART handler
.word RESET ; P0.0
.word NMI ; NMI, Osc. fault
.word RESET ; POR, ext. Reset, Watchdog
end
In this example, all other interrupts will continue program execution at the reset vector of the terminal
program stored at address FFFEh.
NOTE: Identification Pattern AA55h
The identification pattern must be programmed as the last word of the complete download. To
assure this, the section containing only the identification, is the last section in the source file.