
Contents
1 Programming With the Bootstrap Loader ............................................................................... 5
1.1 Supplementary Online Information ....................................................................................... 5
1.2 Introduction .................................................................................................................. 5
1.3 Standard RESET and BSL Entry Sequence ............................................................................ 6
1.3.1 MSP430 Devices With Shared JTAG Pins ..................................................................... 6
1.3.2 MSP430 Flash Devices With Dedicated JTAG Pins .......................................................... 7
1.3.3 Devices With USB ................................................................................................. 7
1.4 UART Protocol .............................................................................................................. 7
1.5 USB Protocol ................................................................................................................ 8
2 Bootstrap Loader Protocol – 1xx, 2xx, and 4xx Families .......................................................... 9
2.1 Synchronization Sequence ................................................................................................ 9
2.2 Commands ................................................................................................................... 9
2.2.1 Unprotected Commands .......................................................................................... 9
2.2.2 Password Protected Commands ................................................................................. 9
2.3 Programming Flow ........................................................................................................ 10
2.4 Data Frame ................................................................................................................. 11
2.4.1 Data-Stream Structure ........................................................................................... 11
2.4.2 Checksum ......................................................................................................... 12
2.4.3 Example Sequence ............................................................................................... 12
2.4.4 Commands – Detailed Description ............................................................................. 12
2.5 Loadable BSL .............................................................................................................. 16
2.6 Exiting the BSL ............................................................................................................ 17
2.7 Password Protection ...................................................................................................... 17
2.8 Code Protection Fuse ..................................................................................................... 18
2.9 BSL Internal Settings and Resources .................................................................................. 18
2.9.1 Chip Identification and BSL Version ........................................................................... 18
2.9.2 Vectors to Call the BSL Externally ............................................................................. 18
2.9.3 Initialization Status ............................................................................................... 19
2.9.4 Memory Allocation and Resources ............................................................................. 20
3 Bootstrap Loader Protocol – 5xx and 6xx Families ................................................................ 21
3.1 BSL Data Packet .......................................................................................................... 21
3.2 UART Peripheral Interface (PI) .......................................................................................... 21
3.2.1 Wrapper ............................................................................................................ 21
3.2.2 Abbreviations ...................................................................................................... 21
3.2.3 Messages .......................................................................................................... 22
3.2.4 Interface Specific Commands ................................................................................... 22
3.3 I2C Peripheral Interface .................................................................................................. 23
3.3.1 Basic Protocol With Byte Level Acknowledge ................................................................ 23
3.3.2 I2C Protocol for BSL - Read From Slave ...................................................................... 23
3.3.3 Acknowledge (ACK) .............................................................................................. 24
3.3.4 Wrapper ............................................................................................................ 24
3.4 USB Peripheral Interface ................................................................................................. 25
3.4.1 Wrapper ............................................................................................................ 25
3.4.2 Hardware Requirements ......................................................................................... 25
3.5 BSL Core Command Structure .......................................................................................... 25
2Contents SLAU319F–July 2010–Revised September 2013
Submit Documentation Feedback
Copyright © 2010–2013, Texas Instruments Incorporated