文件名称:
MPLAB® X IDE User’s Guide.pdf
开发工具:
文件大小: 3mb
下载次数: 0
上传时间: 2019-08-09
详细说明:Micro chip 的集成开发环境使用说明,有助于PIC单片机开发应用。MPLAB X IDE
MICROCHIP
USER'S GUIDE
Table of contents
Preface
Chapter 1. What is MPLAB X IDE?
1.1 Introduction
13
1.2 An Overview of Embedded Systems
.14
1.3 The Development Cycle
21
1. 4 Project Manager
22
1.5 Language Tools
23
6 Target Debugging………
24
1.7 Device Programming……………
25
1.8 Components of MPLAB X IDE
∴26
1. 9 MPLAB X IDE Online help
27
1. 10 Other mPlab X ide Documentation
28
1.11 Web site
30
1.12 MPLABⅩ Store.…………………30
1.13 MPLAB X IDE Updates
…30
Chapter 2. Before You Begin
2.1| introductⅰon…
31
2.2 Install jrE and mPLab X idE
31
2.3 Install the USB Device Drivers(For Hardware Tools
32
2. 4 Connect to a Target(For Hardware Tools)
36
2.5 Install the Language Tools
36
2.6 Launch the IDE and view the desktop
37
2.7 Access Information from the start Page
38
2. 8 Shop the MPlab X Store
1重重
40
2.9 Launch Multiple Instances of the DE
41
2. 10 Launch Multiple versions of the IDE
43
Chapter 3. Tutoria
3. 1 Introduction
..45
3.2 Setting Up the hardware and Software
46
3.3 Creating and Setting Up a project
1重1
…47
3.4 Running and Debugging Code
64
Chapter 4. Basic Tasks
4.1 Working with MPLAB X iDE Projects
a:日:.:日:日:.
71
4.2 Create a new project
72
4.3 View Changes In Desktop Panes
.82
e 2011-2015 Microchip Technology Inc
DS50002027D-page 3
MPLABO IDE USer's Guide
4.4 View or Make Changes to Project Properties
83
4.5 Set Up or Change Debugger/Programmer Tool Options
84
4.6 Set Up or Change Language Tool Options
85
4.7 Set Language tool locations
86
4.8 Set Other Tool Options
.88
4.9 Create a new file
89
4.10 Add Existing files to a project
……………91
4.11 Editor Usage
92
4.12 Add and Set Up Library and object Files
93
4.13 Set File and Folder Properties
96
4.14 Set Build Properties
98
4.15 Build a project
102
4.16 Run code
103
4.17 Debug Run Code
104
4.18 Control Program EXecution with Breakpoints
106
4.19 Step Through Code
…109
4.20 Watch Symbol Values Change
110
4.21 Watch Local Variable Values Change ..............................................112
4.22 View/Change Device Memory( including Configuration Bits)…………13
4.23 Program a device
..116
Chapter 5. Additional Tasks
5.1 Performing Additional Tasks……….
119
5.2 Import MPLAB Legacy Project
120
5.3 Prebuilt Projects∴
123
5. 4 Loadable projects Files and symbols
124
5.5 Loadable Projects and Files: Bootloaders
129
5.6 Library projects
130
5.7 Other Embedded Projects
131
5. 8 Sample Projects
131
5. 9 Work with Other Types of Files
131
5. 10 Modify or Create Code Templates
132
5. 11 Switch Hardware or language tools
134
5. 12 Modify Project Folders and Encoding
135
5.13 Speed Up Build Times
.136
5.14 Use the Stopwatch
.136
5. 15 View the disassembly Window
137
5.16 View the ca‖ Stack
137
5.17 View The Call Graph
138
5. 18 View the Dashboard Display
4139
5.19 mprove Your Code…
142
5.20 Control source code
142
5.21 Collaborate on Code Development and Error Tracking
145
5.22 Add Plug-In Tools
146
DS50002027D-page 4
O 2011-2015 Microchip Technology Inc
Table of contents
Chapter 6. Advanced Tasks Concepts
6.1 Introduction wwwwwwwwwwwwwwwwwwwww, 151
6.2 Speed Up MPLAB X IDE
151
6.3 Work with Multiple Projects
153
6. 4 Work with Multiple Configurations
155
6.5 Create User Makefile Projects
158
6.6 Package an MPLAB X IDE Project
…166
6.7 Work with Third-Party Hardware Tools ......................................167
6.8 Log Data
167
6. 9 Customize Toolbars
168
6.10 Checksums
173
6. 11 Configurations
174
Chapter 7. Editor
7. 1 introducti
175
7.2 Source Editor General Tasks: Quick Reference ........................................175
7.3 Editor Usage∴
176
7.4 Editor Options
178
7.5 Editor Red Bangs
180
7.6 Code Fold
181
77 C Code Refactoring……
185
Chapter 8. Project Files and Folders
8. 1 Introduction
重■重
∴187
8.2 Projects Window view
187
8.3 Files Window view
188
8.4 Classes Window view
190
8.5 Favorites window vⅰeW∴
190
8.6 File or folder name restrictions
191
8.vIewing User Configuration Data
191
8.8 Importing an mPlab iDE v8 Project-Relative Paths
…191
8.9 Moving, Copying or Renaming a Project……
191
8. 10 Deleting a Project
192
Chapter 9. Troubleshooting
9. 1 Introduction
193
9.2 USB Driver Installation issues
193
9、3 Cross- Platform( Operating System) Issues…………………………….193
9.4 Windows Operation System Issues
193
9.5 NetBeans platform issues
194
9. 6 MPLAB X IDE Issues
195
9.7 Errors…
198
9. 8 Forums
202
Chapter 10 MPLAB X IDE VS MPLAB IDE V8
10.1 Introduction
203
10.2 Major Differences
.203
2011-2015 Microchip Technology Inc
DS50002027D-page 5
MPLABO IDE USer's Guide
10.3 Menu differences
..206
10.4 Tool Support Differences
..213
10.5 Other Considerations
214
Chapter 11. Desktop Reference
11.1| ntroduction∴
215
11.2 Menus
216
11.3 Toolbars
…228
11. sTatus bar
231
11.5 Grayed out or Missing Items and Buttons
231
Chapter 12 MPLAB X IDE Windows and Dialogs
12.1 Introduction
233
12.2 MPLAB X IDE Windows Management
233
12.3 MPLAB X IDE Windows with Related Menus and dialogs
234
12 4 Call stack Window
235
12.5 Breakpoints Window
.236
12.6 Customize Toolbars window
240
12.7 Dashboard window
240
12.8 Hardware Stack Window
24
12. 9 Memory Windows
242
12.10 Message Center
252
12.11 Output Window
253
12.12 Project Properties Window
254
12.13 Projects Window
254
12.14 Tools Options embedded Window
259
12.15 Trace Window
.:::日:日日
.265
12.16 Watches Window
266
12.17 Wizard windows
270
Chapter 13. NetBeans Windows and Dialogs
13.1 Introduction
271
13.2 NetBeans Specific Windows and Window mer
271
13.3 NetBeans Specific Dialogs
271
Appendix A Configuration Settings Summary
A.1| ntroduction…
273
A2 XC Toolchains
273
A3 MPASM Toolchain
274
A 4018 Toolchain
275
A. 5 HI-TECH PICC TM Toolchain
276
A6 HI-TECHO PICC-18TM Toolchain
276
A7 ASM30 Toolchain
277
A 8 c30 Toolchain
277
A 9 C32 Toolchain
279
DS50002027D-page 6
O 2011-2015 Microchip Technology Inc
Table of contents
Appendix B Working outside the IDE
B. 1 Introduction wwwwwwwwwwwwwwww 281
B.2 Compiling for Debug Outside of MPLaBⅩ|DE………
282
B3 Building a Project Outside of MPLAB X IDE
283
B 4 Creating makefiles outside of mPlab x Ide
284
B5 Working with Revision Control Systems
293
Appendix C. Revision History…………………………….295
Support…,…,…,…,…,…,…,…,…,,…,…,…",",…,"…,…,…,…,",",…,,,…,299
Glossary
303
Index
323
Worldwide sales and service
000000000
330
2011-2015 Microchip Technology Inc
DS50002027D-page 7
MPLABO IDE USer's Guide
NOTES:
DS50002027D-page 8
O 2011-2015 Microchip Technology Inc
MPLAB③XIDE
MICROCHIP
USERS GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated and this manual is no exception. microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.comtoobtainthelatestdocumentationavailable
Documents are identified with a" number this number is located on the bottom of each
page, in front of the page number. the numbering convention for the ds number is
“ DSXXXXXA”, where“ XXXXX is the document number and“ A is the revision level of the
document
For the most up-to-date information on development tools, see the MPLAB IdE online help
Select the Help menu, and then Topics to open a list of available online help files
INTRODUCTION
This chapter contains general information that will be useful to know before using
MPLABX IDE. Items discussed include
Document Layout
Conventions used
° Recommended Reading
DOCUMENT LAYOUT
This document describes how to use the MPLAb X IDE. The layout of the manual is as
Chapter 1."What is MPLAB XIDE? -an overview of what the MPLAB X IDE is
and where to find help
Chapter 2. "Before You Begin"-describes how to install USB drivers for the
hardware tools and language toolsuites for compiling/assembling code
Chapter 3."Tutorial -provides step-by-step descriptions of features for using
MPLAB XIDE
Chapter 4. "Basic Tasks" -describes how to use the basic features of MPLAB X
IDE. It is similar to the tutorial chapter but with more detail
Chapter 5."Additional Tasks"-describes how to use additional features of
MPLAB X IDE, e.g., importing MPLAB IDE v8 projects or using the stopwatch
Chapter 6.Advanced Tasks Concepts"-describes how to use the
advanced features of mPLab X IdE, e.g., working with multiple projects and proj-
ect configurations
Chapter 7."Editor'-provides an overview of editor features. For more details
on the editor, see NetBeans help
o 2011-2015 Microchip Technology Inc
DS50002027D-page 9
MPLABQ X IDE USer's Guide
Chapter 8. Project Files and Folders"describes MPLAB X IdE windows that
are used to view files and folders as well as information about and methods for
working with files
Chapter 9. "Troubleshooting" -discusses troubleshooting techniques
Chapter 10.MPLAB X IDE VS MPLAB IDE V8-explains the major features,
menus, and tool support differences between MPLAB X IdE and MPLAB IDE v8
Chapter 11." Desktop Reference"-provides a reference to MPLAB X IDE
desktop items, including menus, toolbars, and the status bar.
Chapter 12. MPLAB X IDE Windows and Dialogs"-describes the windows
and dialogs that are unique to MPLab X IDE
Chapter 13. NetBeans Windows and Dialogs"references the NetBeans M
windows and dialogs available in MPLAB X IDE
Appendix A"Configuration Settings Summary"-shows how to set Configu-
ration bits in code for supported language tools. This is required in MPLAB X IDE
as the Configurations Settings window only temporarily sets the bits for debug
Appendix B "Working Outside the IDE-describes how to create files in
MPLAB X IDE that may be used outside the IdE. It also describes how to import
files that were created outside the ide into mPlab x ide
Appendix C. Revision History"-list of changes to the document as it has
been updated
DS50002027D-page10
O 2011-2015 Microchip Technology Inc
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.