内内容容
Preface ....................................................................................................................................... 5
1 现现在在就就开开始始!! ....................................................................................................................... 7
1.1 软件安装 ...................................................................................................................... 8
1.2 LED 闪烁 ..................................................................................................................... 8
1.3 光盘和网络上重要的 MSP430 文档 ....................................................................................... 9
2 开开发发流流程程 ............................................................................................................................ 10
2.1 概述 .......................................................................................................................... 11
2.2 使用 KickStart .............................................................................................................. 11
2.2.1 项目设置 ........................................................................................................... 12
2.2.2 在 IAR EW430 5.60.1 和更新的版本中使用针对 MSP430 的数学函数库 ................................. 13
2.2.3 用于 MSP430L092 和 MSP430C092 的附加项目设置 ....................................................... 13
2.2.4 从零开始创建一个项目 ........................................................................................... 15
2.2.5 用于 LPMx.5 调试的附加项目设置 .............................................................................. 16
2.2.6 MSP430 器件的密码保护 ........................................................................................ 17
2.2.7 使用一个现有的 IAR V1.x,V2.x 或 V3.x 项目 ................................................................ 18
2.2.8 堆栈管理和 .xcl 文件 ............................................................................................. 18
2.2.9 如何生成德州仪器 (TI) .TXT(和其它格式)文件 ............................................................ 18
2.2.10 示例程序概述 ..................................................................................................... 18
2.3 使用 C-SPY ................................................................................................................. 18
2.3.1 断点类型 ........................................................................................................... 19
2.3.2 使用断点 ........................................................................................................... 21
2.3.3 使用单步执行 ...................................................................................................... 21
2.3.4 使用观察窗口 ...................................................................................................... 21
A 常常见见问问题题和和解解答答 ................................................................................................................... 23
A.1 硬件 .......................................................................................................................... 24
A.2 程序开发(汇编语言、C 语言编译器、连接器) ...................................................................... 24
A.3 调试中 (C-SPY) ............................................................................................................ 26
B FET 专专用用菜菜单单 ..................................................................................................................... 30
B.1 菜单 .......................................................................................................................... 31
B.1.1 Emulator → Device Information ................................................................................ 31
B.1.2 Emulator → Release JTAG on Go ............................................................................. 31
B.1.3 Emulator → Resynchronize JTAG ............................................................................. 31
B.1.4 Emulator → Init New Device .................................................................................... 31
B.1.5 Emulator → Secure - Blow JTAG Fuse ....................................................................... 31
B.1.6 Emulator → Breakpoint Usage ................................................................................. 31
B.1.7 Emulator → Advanced → Clock Control ...................................................................... 31
B.1.8 Emulator → Advanced → Emulation Mode ................................................................... 31
B.1.9 Emulator → Advanced → Memory Dump ..................................................................... 32
B.1.10 Emulator → Advanced → Breakpoint Combiner ............................................................ 32
B.1.11 Emulator → State Storage Control ........................................................................... 32
B.1.12 Emulator → State Storage Window ........................................................................... 32
B.1.13 Emulator → Sequencer Control ............................................................................... 32
B.1.14 Emulator → "Power on" Reset ................................................................................ 32
B.1.15 Emulator → GIE on/off ......................................................................................... 32
2
内容
ZHCU026AC–June 2004–Revised September 2013
SLAU138 — http://www-s.ti.com/sc/techlit/SLAU138
版权 © 2004–2013, Texas Instruments Incorporated