
Introduction
www.ti.com
2SLAU550M–January 2014–Revised February 2018
Submit Documentation Feedback
Copyright © 2014–2018, Texas Instruments Incorporated
MSP430™ FRAM Devices Bootloader (BSL)
3 UART BSL Command....................................................................................................... 9
4 UART BSL Response....................................................................................................... 9
5 I2C BSL Command......................................................................................................... 10
6 I2C BSL Response ......................................................................................................... 10
7 UART Error Messages .................................................................................................... 10
8 BSL Core Response Structure (Has the BSL Core Message Byte)................................................. 11
9 BSL Core Messages....................................................................................................... 11
10 BSL Core Commands ..................................................................................................... 12
Trademarks
MSP430 is a trademark of Texas Instruments.
All other trademarks are the property of their respective owners.
1 Introduction
The MSP430 BSL lets users communicate with embedded memory in the MSP430 microcontroller (MCU)
during the prototyping phase, final production, and in service. Both the programmable memory (FRAM
memory) and the data memory (RAM) can be modified as required. Do not confuse the bootloader with
programs found in some digital signal processors (DSPs) that automatically load program code (and data)
from external memory to the internal memory of the DSP. These programs are often referred to as
bootloaders as well.
To start the bootloader, a specific BSL entry sequence must be applied to dedicated pins. BSL is also
callable by the application code sets the PC pointer to the BSL start address in Z-area. On FR26xx,
FR24xx, and FR23xx MCUs, an empty reset vector (for example, as on a unprogrammed device) also
invokes the BSL. After the BSL has started, a sequence of commands can be sent to the BSL to execute
the desired functions (for example, unlocking the device, programming or reprogramming the memory,
and verifying the written data). The bootloader session can be exited by continuing operation at a defined
user program address or by the reset condition.
Even if the device is secured by disabling JTAG, it is still possible to use the BSL. To avoid accidental
overwriting of the BSL code, the code is stored in a secure ROM memory location. To prevent unwanted
memory readout, any BSL command that directly or indirectly allows data reading or writing is password
protected. Using this method, access to the device memory through the BSL is protected against misuse
by the BSL password. The BSL password is equal to the content of Interrupt Vector table on the device.
For more information about password-protected commands, see Section 4.2.
1.1 BSL Limitations
Compared to the BSL on MSP flash-based devices, the BSL on MSP FRAM-based devices bootlader is
programmed in the read-only memory (ROM). See MSP430FRBoot – Main Memory Bootloader and Over-
the-Air Updates for MSP430 FRAM for informaion on how to to customize a bootloader in FR5xx and
FR6xx devices. UART and I2C communication protocols are available. For FR4xx, FR21xx, and FR20xx
devices, only UART is available at a rate of 9600 baud.
1.2 Other Useful Documentation
The device-specific data sheets include information on the pins used for BSL communication and the
supported protocols.
Data Sheets
MSP430FR573x Mixed-Signal Microcontrollers
MSP430FR572x Mixed-Signal Microcontrollers
MSP430FR59xx Mixed-Signal Microcontrollers
MSP430FR58xx Mixed-Signal Microcontrollers
MSP430FR698x(1), MSP430FR598x(1) Mixed-Signal Microcontrollers
MSP430FR21xx, MSP430FR2000 Mixed-Signal Microcontrollers