10嵌入式用于msp430的code composer studio用戶指南v_第1頁(yè)
10嵌入式用于msp430的code composer studio用戶指南v_第2頁(yè)
10嵌入式用于msp430的code composer studio用戶指南v_第3頁(yè)
10嵌入式用于msp430的code composer studio用戶指南v_第4頁(yè)
10嵌入式用于msp430的code composer studio用戶指南v_第5頁(yè)
已閱讀5頁(yè),還剩82頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、Code Composer Studio v6.1 for MSP430User's GuideLiterature Number: SLAU157AIMay 2005 Revised June 2015ContentsPreface6Get Started Now!91.1Software Installation1011.2Flashing the LED .1.3Important MSP430 Documents on the DVD and Web.Development Flow .1011131414151515161616161923232323242829343738

2、4242434446474748525353535354545555552Using Code Composer Studio IDE (CCS).2.1.1 Creating a Project From Scratch .2.1.2 Project Settings .2.1.3 Using Math Library for MSP430 (MSPMathlib) in CCS v5.5 and Newer.2.1.4 Using an Existing CCE v2, CCE v3, CCE v3.1, CCS v4.x, or CCS v5.x Project .2.1.5 Stack

3、 Management .2.1.6 How to Generate Binary Format Files (TI-TXT and INTEL-HEX) .Using the Integrated Debugger.2.2.1 Breakpoint Types.2.2.2 Using Breakpoints .2.12.2EnergyTrace Technology.3.1Introduction.3.2Energy Measurement .3.3Code Composer Studio Integration .3.3.1 EnergyTrace Technology Settings

4、.3.3.2 Controlling EnergyTrace Technology .3.3.3 EnergyTrace+ Mode.3.3.4 EnergyTrace Mode .3.3.5 Comparing Captured Data With Reference Data .3.4EnergyTrace Technology FAQs .3Unit and Intellectual Property Encapsulation .4MemoryUnit (MPU) .4.14.2MemoryIntellectual Property Encapsulation (IPE) .4.2.1

5、 IPE Debug Settings .Frequently Asked Questions.A.1Hardware .A.2Program Development (Assembler, C-Compiler, Linker, IDE) .A.3Debugging.Migration of C Code from IAR 2.x, 3.x, or 4.x to CCS .B.1Interrupt Vector Definition .B.2Intrinsic Functions .B.3Data and Function Placement .B.3.1 Data Placement at

6、 an Absolute Location .B.3.2 Data Placement Into Named Segments .B.3.3 Function Placement Into Named Segments .B.4C Calling Conventions .B.5Other Differences.B.5.1 Initializing Static and Global Variables .AB2ContentsSLAU157AI May 2005 Revised June 2015Submit Documentation FeedbackCopyright © 2

7、0052015, Texas Instruments IncorporatedB.5.2 Custom Boot Routine .B.5.3 Predefined Memory Segment Names .B.5.4 Predefined Macro Names .Migration of Assembler Code from IAR 2.x, 3.x, or 4.x to CCS .56565759606061616162626263646465656667697072737373737373737375757577787980818181CSharing C/C+ Header Fi

8、les With Assembly Source.Segment Control .Translating A430 Assembler Directives to Asm430 Directives .C.1C.2C.3Introduction.Character Strings.Section Control Directives.Constnitialization Directives .Listing Control Directives .File Reference Directives .Conditional Assembly Directives .Symbol Contr

9、ol Directives.C.3.1C.3.2C.3.3C.3.4C.3.5C.3.6C.3.7C.3.8Macro Directives.C.3.9C.3.10 Miscellaneous Directives.C.3.11 Alphabetical Listing and Cross Reference of Asm430 Directives .C.3.12 Unsupported A430 Directives (IAR) .GCC for MSP430 .DWriting Portable C Code for CCS andD.1Interrupt Vector Definiti

10、on .s .EFET-Specifics.E.1E.1.1 Debug View: Run Run .E.1.2 Run Connect Target .E.1.3 Run Advanced Make Device Secure .E.1.4 Project Properties Debug MSP430 Properties Clock Control .E.1.5 Window Show View Breakpoints .E.1.6 Window Show View Other. Debug Trace Control.E.1.7 Project Properties Debug MS

11、P430 Properties Target Voltage.s .FDevice SpecificMSP430L092 .F.1.1 Emulation Modes .F.1.2 Loader Code .F.1.F.1.3 C092 PasswordMSP430F5xx and MSP430F6xx BSL Support .F.2F.3F.4.MSP430FR5xx and MSP430FR6xx PasswordMSP430 Ultra-Low-Power LPMx.5 Mode .F.4.1 What is LPMx.5 .F.4.2 Debugging LPMx.5 Mode on

12、 MSP430 Devices That Support the Ultra-Low-Power Debug Mode.F.4.3 Debugging LPMx.5 Mode on MSP430 Devices That Do Not Support the Ultra-Low-Power DebugMode .8385Revision History.SLAU157AI May 2005 Revised June 2015Submit Documentation FeedbackContents3Copyright © 20052015, Texas Instruments Inc

13、orporatedList of FiguresBreakpoints.Breakpoint Properties .Pulse Density and Current Flow.2-1.2-2.3-1.3-2.3-3.3-4.3-5.3-6.3-7.3-8.3-9.3-10.3-11.3-12.3-13.3-14.3-15.3-16.3-17.3-18.3-19.3-20.3-21.3-22.4-1.4-2.4-3.F-1.F-2.F-3.F-4.F-5.F-6.19202324242526272828282930313233333435353636373842434476777879808

14、2.EnergyTrace Button in the ToolbarExit EnergyTrace Mode .EnergyTrace Technology Preferences.Project Properties .Debug Properties.Battery Selection .Custom Battery Type .Target Connection.EnergyTrace Technology Control Bar .Debug Session With EnergyTrace+ Graphs .Profile Window.States Window.Power W

15、indow.Energy Window .Debug Session With EnergyTrace Graphs .EnergyTrace Profile Window .Zoom Into Power Window.Zoom Into Energy Window .Energy Profile of the Same Program in Resume (Yellow Line) andRun (Green Line) .Comparing Profiles in EnergyTrace+ Mode .Comparing Profiles in EnergyTrace Mode .MPU

16、 Configuration Dialog .IPE Configuration Dialog .IPE Debug Settings .MSP430L092 Modes.MSP430L092 in C092 Emulation Mode .MSP430C092 Password Access .Allow Access to BSL .MSP430 Password Access .Enable Ultra-Low-Power Debug Mode .4List of FiguresSLAU157AI May 2005 Revised June 2015Submit Documentatio

17、n FeedbackCopyright © 20052015, Texas Instruments IncorporatedList of Tables1-1.System Requirements .2-1.Device Architecture, Breakpoints, and Other Emulation Features.3-1.Availability of EnergyTrace and EnergyTrace+ Modes .3-2.EnergyTrace Technology Control Bar Icons .10172429SLAU157AI May 200

18、5 Revised June 2015Submit Documentation FeedbackList of Tables5Copyright © 20052015, Texas Instruments IncorporatedPrefaceSLAU157AI May 2005 Revised June 2015This FirstAbout This ManualThis manual describes the use of TI Code Composer Studio IDE v6.1 (CCS v6.1) with the MSP430 ultra-low-power m

19、icrocontrollers. This document applies only for the Windows version of the Code Composer Studio IDE. The Linux version is similar and, therefore, is not described separately.How to Use This Manualand follow the instructions in the Get Started Now! chapter. This chapter includes instructions on insta

20、lling the software and describes how to run the demonstration programs. After you see how quick andeasy it is to use the development tools, TI recommends that youall of this manual.This manual describes only the setup and basic operation of the software development environment but does not fully des

21、cribe the MSP430 microcontrollers or the complete development software and hardwaresystems. Fors on these items, see the appropriate TI documents listed in Section 1.3, ImportantMSP430 Documents on the DVD and Web, and in Related Documentation From Texas Instruments.This manual applies to the use of

22、 CCS with the TI MSP-FET, MSP-FET430UIF, eZ-FET, and eZ430 development tools series.These tools contain the most up-to-date materials available at the time of packaging. For the latest materials (including data sheets, user's guides, software, and application information), visit the TI MSP430web

23、 site ator contact your local TI sales office.Information About Cautions and WarningsThis document may contain cautions and warnings.The information in a caution or a warning is provided for your carefully.each caution and warningCode Composer Studio, MSP430, E2E, EnergyTrace are trademarks of Texas

24、 Instruments. IAR Embedded Workbench is a registered trademark of IAR Systems.ThinkPad is a registered trademark of Lenovo.Microsoft, Windows, Windows Vista, Windows 7 are registered trademarks of Microsoft Corporation. All other trademarks are the property of their respective owners.6This FirstSLAU

25、157AI May 2005 Revised June 2015Submit Documentation FeedbackCopyright © 20052015, Texas Instruments IncorporatedWARNINGThis is an example of a warning statement.A warning statement describes a situation that could potentially cause harm to you.CAUTIONThis is an example of a caution statement.A

26、 caution statement describes a situation that could potentially damage your software or equipment.Related Documentation From Texas InstrumentsRelated Documentation From Texas InstrumentsCCS v6.1 documentationMSP430 Assembly Language Tools User's Guide (SLAU131)MSP430 Optimizing C/C+ Compiler Use

27、r's Guide (SLAU132)MSP430 development tools documentationMSP430 Hardware Tools User's Guide (SLAU278) eZ430-F2013 Development Tool User's Guide (SLAU176) eZ430-RF2480 User's Guide, (SWRA176)eZ430-RF2500 Development Tool User's Guide (SLAU227) eZ430-RF2500-SEH Development Tool User's Guide (SLAU273) eZ430-Chronos Development

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論