Datasheet
Host
Flash Memory
UART,
Px.x,
SPI,
etc.
CPU executes
user software
Commands, data, etc.
Read/write flash memory
MSP430
Flash Memory Operation
www.ti.com
• Program via JTAG
• Program via the bootstrap loader
• Program via a custom solution
7.3.9.1 Programming Flash Memory via JTAG
MSP430 devices can be programmed via the JTAG port. The JTAG interface requires four signals (five
signals on 20- and 28-pin devices), ground and, optionally, V
CC
and RST/NMI.
The JTAG port is protected with a fuse. Blowing the fuse completely disables the JTAG port and is not
reversible. Further access to the device via JTAG is not possible. For details, see the MSP430
Programming Via the JTAG Interface User's Guide (SLAU320).
7.3.9.2 Programming Flash Memory via the Bootstrap Loader (BSL)
Most MSP430 flash devices contain a bootstrap loader. See the device-specific data sheet for
implementation details. The BSL enables users to read or program the flash memory or RAM using a
UART serial interface. Access to the MSP430 flash memory via the BSL is protected by a 256-bit user-
defined password. For more details see the MSP430 Programming Via the Bootstrap Loader User's Guide
(SLAU319).
7.3.9.3 Programming Flash Memory via a Custom Solution
The ability of the MSP430 CPU to write to its own flash memory allows for in-system and external custom
programming solutions as shown in Figure 7-12. The user can choose to provide data to the MSP430
through any means available (UART, SPI, etc.). User-developed software can receive the data and
program the flash memory. Since this type of solution is developed by the user, it can be completely
customized to fit the application needs for programming, erasing, or updating the flash memory.
Figure 7-12. User-Developed Programming Solution
322
Flash Memory Controller SLAU144J–December 2004–Revised July 2013
Submit Documentation Feedback
Copyright © 2004–2013, Texas Instruments Incorporated