MSP430 Programming Via the Bootstrap Loader

时间:2025-04-27

TI官方应用笔记

MSP430Programming Via the Bootstrap Loader User's Guide

Literature Number:SLAU319A

July2010–Revised August2010

TI官方应用笔记

2SLAU319A–July2010–Revised August2010

Copyright©2010,Texas Instruments Incorporated

TI官方应用笔记

Contents 1Programming Via the Bootstrap Loader (7)

1.1Supplementary Online Information (7)

1.2Introduction (7)

1.3Standard RESET and BSL Entry Sequence (8)

1.3.1MSP430Devices With Shared JTAG Pins (8)

1.3.2MSP430Flash Devices With Dedicated JTAG Pins (9)

1.3.3Devices With USB (9)

1.4UART Protocol (9)

1.5USB Protocol (9)

2ROM-Based Bootstrap Loader Protocol (11)

2.1Synchronization Sequence (11)

2.2Commands (11)

2.2.1Unprotected Commands (11)

2.2.2Password Protected Commands (11)

2.3Programming Flow (12)

2.4Data Frame (13)

2.4.1Data-Stream Structure (13)

2.4.2Checksum (14)

2.4.3Example Sequence (14)

2.4.4Commands–Detailed Description (14)

2.5Loadable BSL (18)

2.6Exiting the BSL (19)

2.7Password Protection (19)

2.8Code Protection Fuse (20)

2.9BSL Internal Settings and Resources (20)

2.9.1Chip Identification and BSL Version (20)

2.9.2Vectors to Call the BSL Externally (20)

2.9.3Initialization Status (21)

2.9.4Memory Allocation and Resources (22)

3Flash-Based Bootstrap Loader Protocol (23)

3.1BSL Data Packet (23)

3.2UART Peripheral Interface(PI) (23)

3.2.1Wrapper (23)

3.2.2Abbreviations (23)

3.2.3Messages (24)

3.2.4Interface Specific Commands (24)

3.3USB Peripheral Interface (24)

3.3.1Wrapper (24)

3.3.2Hardware Requirements (25)

3.4BSL Core Command Structure (25)

3.4.1Abbreviations (25)

3.4.2Command Descriptions (26)

3.5BSL Security (27)

3.5.1Protected Commands (27)

3.5.2RAM Erase (27)

3 SLAU319A–July2010–Revised August2010Contents

Copyright©2010,Texas Instruments Incorporated

TI官方应用笔记

http://

3.6BSL Core Responses (28)

3.6.1Abbreviations (28)

3.6.2BSL Core Messages (29)

3.6.3BSL Version Number (29)

3.6.4Example Sequences for UART BSL (30)

3.7BSL Public Functions and Z-Area (30)

3.7.1Starting the BSL From an External Application (30)

3.7.2Function Description (30)

4Bootstrap Loader Hardware (31)

4.1Hardware Description (31)

4.1.1Power Supply (31)

4.1.2Serial Interface (32)

4.1.3Target Connector (33)

4.1.4Parts List (34)

5Differences Between Devices and Bootstrap Loader Versions (35)

5.15xx/6xx BSL Versions (35)

5.2Special Consideration for ROM BSL Version1.10 (36)

5.3ROM BSL Known Issues (36)

5.4Special Note on the MSP430F14x Device Family BSL (44)

6Bootstrap Loader PCB Layout Suggestion (45)

4Contents SLAU319A–July2010–Revised August2010

Copyright©2010,Texas Instruments Incorporated

TI官方应用笔记

http://

List of Figures

1-1.Standard RESET Sequence (8)

1-2.BSL Entry Sequence at Shared JTAG Pins (8)

1-3.BSL Entry Sequence at Dedicated JTAG Pins (9)

4-1.Bootstrap Loader Interface Schematic (31)

6-1.Universal BSL Interface PCB Layout,Top (45)

6-2.Universal BSL Interface PCB Layout,Bottom (45)

6-3.Universal BSL Interface Component Placement (46)

6-4.Universal BSL Interface Component Placement (47)

List of Tables

2-1.Data Frame of BSL Commands (13)

2-2.Recommendations for MSP430F149['F449](T

A =25°C,V

CC

=3.0V,f

max

=6.7MHz) (17)

2-3.Recommendations for MSP430F2131(T

A =25°C,V

CC

=3.0V,f

max

=6.7MHz) (17)

3-1.UART Protocol Interface (23)

3-2.UART Error Messages (24)

http://B Peripheral Interface (24)

3-4.BSL Core Commands (25)

3-5.BSL Core Responses (28)

3-6.BSL Core Messages (29)

4-1.Serial-Port Signals and Pin Assignments (32)

4-2.RS-232Levels (32)

4-3.Pin Assignment of Target Connector (33)

4-4.Universal BSL Interface Parts List (34)

5-1.BSL Version1.10on'F13x,'F14x(1)(excluding Rev AA),'F11x,and'F11x1 (37)

5-2.BSL Version1.30on'F41x,'F11x,and'F11x1 (38)

5-3.BSL Version1.40on'F12x (39)

5-4.BSL Version1.60on'F11x2,'F12x2,'F43x,'F44x,'FE42x,'FW42x,'F(G)43x,'F415,'F417 (40)

5-5.BSL Version1.61on'F16x,'F161x,'F42x0,'F13x rev AA,'F14x(1)rev AA (41)

5-6.BSL Version2.02on'F21xx,'F22xx,'F24x,'F23x (42)

5-7.BSL Version2.12/2.13on'FG46xx,'F261x,'F471xx (43)

5 SLAU319A–July2010–Revised August2010List of Figures

Copyright©2010,Texas Instruments Incorporated

TI官方应用笔记

6List of Tables SLAU319A–July2010–Revised August2010

Copyright©2010,Texas Instruments Incorporated

TI官方应用笔记

Chapter1

SLAU319A–July2010–Revised August2010

Programming Via the Bootstrap Loader The MSP430BSL enables users to communicate with embedded memory in the MSP430microcontroller 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 bootstrap loader 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 bootstrap loaders as well.

To use the bootstrap loader,a specific BSL entry sequence must be applied.An added sequence of commands initiates the desired function.A boot-loading session can …… 此处隐藏:22952字,全部文档内容请下载后查看。喜欢就下载吧 ……

MSP430 Programming Via the Bootstrap Loader.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:7 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:29元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219