www.ti.com
User's Guide
MSP430™ Flash Devices Bootloader (BSL)
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.
1
Introduction.............................................................................................................................................................................3
1.2 Overview of BSL Features.................................................................................................................................................
1.3 BSL Invocation...................................................................................................................................................................
1.4 UART Protocol...................................................................................................................................................................
Protocol......................................................................................................................................................................7
2.1 Synchronization Sequence................................................................................................................................................
2.2
Commands.........................................................................................................................................................................8
2.3 Programming Flow.............................................................................................................................................................
2.4 Data Frame........................................................................................................................................................................
BSL...................................................................................................................................................................14
BSL.................................................................................................................................................................15
2.7 Password Protection........................................................................................................................................................
2.8 Code Protection Fuse......................................................................................................................................................
Packet..............................................................................................................................................................19
3.2 UART Peripheral Interface (PI)........................................................................................................................................
2
Interface....................................................................................................................................................20
3.4 USB Peripheral Interface.................................................................................................................................................
3.5 BSL Core Command Structure........................................................................................................................................
3.6 BSL Security....................................................................................................................................................................
Responses.......................................................................................................................................................25
Hardware............................................................................................................................................................29
Description.......................................................................................................................................................29
SLAU319AD - JULY 2010 - REVISED JUNE 2020
Submit Document Feedback
ABSTRACT
Table of Contents
Information.....................................................................................................................................3
Versions.......................................................................................................................................33
1.10...........................................................................................................40
Copyright © 2020 Texas Instruments Incorporated
MSP430™ Flash Devices Bootloader (BSL)
4
5
7
8
8
8
9
15
15
16
19
19
22
22
24
27
33
1