
User’s Guide
MSP430™ Flash Devices Bootloader (BSL)
ABSTRACT
The MSP430™ bootloader (BSL) (formerly known as the bootstrap loader) allows users to communicate with
embedded memory in the MSP430 microcontroller (MCU) during the prototyping phase, final production, and in
service. Both the programmable memory (flash memory) and the data memory (RAM) can be modified as
required. Do not confuse the bootloader with the bootstrap loader 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.
To use the bootloader, a specific BSL entry sequence must be applied. An added sequence of commands
initiates the desired function. A bootloading session can be exited by continuing operation at a defined user
program address or by the reset condition.
If the device is secured by disabling JTAG, it is still possible to use the BSL. Access to the MSP430 MCU
memory through the BSL is protected against misuse by the BSL password. The BSL password is equal to the
content of the interrupt vector table on the device.
Table of Contents
1 Introduction.............................................................................................................................................................................3
1.1 Supplementary Online Information.....................................................................................................................................3
1.2 Overview of BSL Features................................................................................................................................................. 4
1.3 BSL Invocation................................................................................................................................................................... 5
1.4 UART Protocol................................................................................................................................................................... 7
1.5 USB Protocol......................................................................................................................................................................7
2 Bootloader Protocol – 1xx, 2xx, and 4xx Families.............................................................................................................. 8
2.1 Synchronization Sequence................................................................................................................................................ 8
2.2 Commands.........................................................................................................................................................................8
2.3 Programming Flow............................................................................................................................................................. 8
2.4 Data Frame........................................................................................................................................................................ 9
2.5 Loadable BSL...................................................................................................................................................................14
2.6 Exiting the BSL.................................................................................................................................................................15
2.7 Password Protection........................................................................................................................................................ 15
2.8 Code Protection Fuse...................................................................................................................................................... 15
2.9 BSL Internal Settings and Resources.............................................................................................................................. 16
3 Bootloader Protocol – F5xx and F6xx Families................................................................................................................. 19
3.1 BSL Data Packet..............................................................................................................................................................19
3.2 UART Peripheral Interface (PI)........................................................................................................................................ 19
3.3 I2C Peripheral Interface....................................................................................................................................................20
3.4 USB Peripheral Interface................................................................................................................................................. 22
3.5 BSL Core Command Structure........................................................................................................................................ 22
3.6 BSL Security.................................................................................................................................................................... 24
3.7 BSL Core Responses.......................................................................................................................................................25
3.8 BSL Public Functions and Z-Area.................................................................................................................................... 27
4 Bootloader Hardware............................................................................................................................................................29
4.1 Hardware Description.......................................................................................................................................................29
5 Differences Between Devices and Bootloader Versions.................................................................................................. 33
5.1 1xx, 2xx, and 4xx BSL Versions.......................................................................................................................................33
5.2 Special Consideration for ROM BSL Version 1.10...........................................................................................................40
www.ti.com
SLAU319AD – JULY 2010 – REVISED JUNE 2020
Submit Document Feedback
MSP430™ Flash Devices Bootloader (BSL) 1
Copyright © 2020 Texas Instruments Incorporated