Microchip Technology Zena Guide de l'utilisateur

Naviguer en ligne ou télécharger Guide de l'utilisateur pour Logiciel Microchip Technology Zena. Microchip Technology Zena User`s guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 288
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - User’s Guide

© 2006 Microchip Technology Inc. DS51519BMPLAB® IDEUser’s Guide

Page 2

MPLAB® IDE User’s GuideDS51519B-page x © 2006 Microchip Technology Inc.NOTES:

Page 3 - Table of Contents

MPLAB® IDE User’s GuideDS51519B-page 90 © 2006 Microchip Technology Inc.7.2.1 Selecting the Language ToolsuiteOnce a workspace is opened, a toolsuite

Page 4

Integrated Language Tools© 2006 Microchip Technology Inc. DS51519B-page 91Microchip ASM30 ToolsuiteThis toolsuite includes the language tools MPLAB AS

Page 5

MPLAB® IDE User’s GuideDS51519B-page 92 © 2006 Microchip Technology Inc.DocumentationPlease find the following C compiler documentation on the MPLAB I

Page 6

Integrated Language Tools© 2006 Microchip Technology Inc. DS51519B-page 937.4 THIRD PARTY LANGUAGE TOOLSCurrently supported third-party language tools

Page 7

MPLAB® IDE User’s GuideDS51519B-page 94 © 2006 Microchip Technology Inc.• If you closed the previous dialog, select Project>Set Language Tool Locat

Page 8

Integrated Language Tools© 2006 Microchip Technology Inc. DS51519B-page 957.4.6 microEngineering Labs Language ToolsMPLAB IDE supports the following m

Page 9

MPLAB® IDE User’s GuideDS51519B-page 96 © 2006 Microchip Technology Inc.NOTES:

Page 10 - IDE User’s Guide

© 2006 Microchip Technology Inc. DS51519B-page 97MPLAB® IDEUSER’S GUIDEChapter 8. Integrated Software/Hardware Tools8.1 INTRODUCTIONMPLAB IDE is desi

Page 11

MPLAB® IDE User’s GuideDS51519B-page 98 © 2006 Microchip Technology Inc.8.4 IN-CIRCUIT EMULATORSThe following Microchip in-circuit emulators are suppo

Page 12

Integrated Software/Hardware Tools© 2006 Microchip Technology Inc. DS51519B-page 99Help FilesFrom the MPLAB IDE Help menu, select Topics and then sele

Page 13 - DOCUMENTATION CONVENTIONS

MPLAB® IDEUSER’S GUIDE© 2006 Microchip Technology Inc. DS51519B-page 1PrefaceINTRODUCTIONThis chapter contains general information that will be useful

Page 14

MPLAB® IDE User’s GuideDS51519B-page 100 © 2006 Microchip Technology Inc.NOTES:

Page 15 - THE MICROCHIP WEB SITE

MPLAB® IDEUSER’S GUIDE© 2006 Microchip Technology Inc. DS51519B-page 101Chapter 9. MPLAB Macros9.1 INTRODUCTIONMPLAB IDE supports the creation of mac

Page 16

MPLAB® IDE User’s GuideDS51519B-page 102 © 2006 Microchip Technology Inc.9.3 MACRO MENU AND TOOLBARThe Macro menu contains the following functions:• R

Page 17

© 2006 Microchip Technology Inc. DS51519B-page 103MPLAB® IDEUSER’S GUIDEPart 3 – MPLAB IDE ReferenceChapter 10. MPLAB IDE Troubleshooting...

Page 18

MPLAB® IDE User’s GuideDS51519B-page 104 © 2006 Microchip Technology Inc.NOTES:

Page 19 - Chapter 1. What is MPLAB

© 2006 Microchip Technology Inc. DS51519B-page 105MPLAB® IDEUSER’S GUIDEChapter 10. MPLAB IDE Troubleshooting10.1 INTRODUCTIONThis section is designe

Page 20

MPLAB® IDE User’s GuideDS51519B-page 106 © 2006 Microchip Technology Inc.I cannot get my language tools to work with MPLAB IDE.You may need a newer ve

Page 21 - What is MPLAB

MPLAB IDE Troubleshooting© 2006 Microchip Technology Inc. DS51519B-page 107I tried to Step Over / Step Out of a function/subroutine, and now my progra

Page 22

MPLAB® IDE User’s GuideDS51519B-page 108 © 2006 Microchip Technology Inc.Unresolved BreakpointsThis message displays when breakpoints aren't set

Page 23

© 2006 Microchip Technology Inc. DS51519B-page 109MPLAB® IDEUSER’S GUIDEChapter 11. MPLAB IDE Desktop11.1 INTRODUCTIONThe MPLAB IDE desktop is a resi

Page 24

MPLAB® IDE User’s GuideDS51519B-page 2 © 2006 Microchip Technology Inc.• Chapter 5: External Memory Handling – Describes how MPLAB IDE handles Microc

Page 25

MPLAB® IDE User’s GuideDS51519B-page 110 © 2006 Microchip Technology Inc.OpenOpens an existing source file. You may select multiple files in the Open

Page 26

MPLAB IDE Desktop© 2006 Microchip Technology Inc. DS51519B-page 111ExitCloses the MPLAB IDE application.11.2.2 EditBelow are the menu items in the Edi

Page 27

MPLAB® IDE User’s GuideDS51519B-page 112 © 2006 Microchip Technology Inc.AdvancedAdvanced editing features. Includes making selected text all uppercas

Page 28

MPLAB IDE Desktop© 2006 Microchip Technology Inc. DS51519B-page 113OpenAdd an existing project to the workspace and set as active. Opens the Open Proj

Page 29

MPLAB® IDE User’s GuideDS51519B-page 114 © 2006 Microchip Technology Inc.Select Language ToolsuiteSelect the toolsuite you will use for your project,

Page 30

MPLAB IDE Desktop© 2006 Microchip Technology Inc. DS51519B-page 115HaltHalt (stop) the execution of program code. When you click Halt, status informat

Page 31

MPLAB® IDE User’s GuideDS51519B-page 116 © 2006 Microchip Technology Inc.Enable ProgrammerEstablish communications between MPLAB IDE and the programme

Page 32

MPLAB IDE Desktop© 2006 Microchip Technology Inc. DS51519B-page 117RTOS ViewerIf you have a Real-Time Operating System (RTOS) installed and included i

Page 33

MPLAB® IDE User’s GuideDS51519B-page 118 © 2006 Microchip Technology Inc.Tile HorizontallyArrange open windows in smaller sizes to fit next to each ot

Page 34

MPLAB IDE Desktop© 2006 Microchip Technology Inc. DS51519B-page 11911.3 MPLAB IDE TOOLBARSMPLAB IDE displays different toolbars depending on which fea

Page 35 - 2.2.2 Running MPLAB IDE

Preface© 2006 Microchip Technology Inc. DS51519B-page 3CONVENTIONS USED IN THIS GUIDEThe following conventions may appear in this documentation:DOCUME

Page 36

MPLAB® IDE User’s GuideDS51519B-page 120 © 2006 Microchip Technology Inc.11.3.3 Debug ToolbarThe Debug Toolbar currently contains button icons for the

Page 37 - 2.4 SELECTING THE DEVICE

MPLAB IDE Desktop© 2006 Microchip Technology Inc. DS51519B-page 12111.4 MPLAB IDE STATUS BARThe status bar provides up-to-date information on the stat

Page 38

MPLAB® IDE User’s GuideDS51519B-page 122 © 2006 Microchip Technology Inc.NOTES:

Page 39 - 2.6 SETTING UP LANGUAGE TOOLS

© 2006 Microchip Technology Inc. DS51519B-page 123MPLAB® IDEUSER’S GUIDEChapter 12. MPLAB IDE Windows12.1 INTRODUCTIONMPLAB IDE windows behave as nor

Page 40

MPLAB® IDE User’s GuideDS51519B-page 124 © 2006 Microchip Technology Inc.12.2 CHANGING WINDOW DATA AND PROPERTIESMPLAB IDE windows have some or all of

Page 41

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 12512.2.2.2 MAKING WINDOWS DOCKABLEWindows may be made dockable by clicking on the win

Page 42

MPLAB® IDE User’s GuideDS51519B-page 126 © 2006 Microchip Technology Inc.12.2.2.4 UNDOCKING DOCKABLE WINDOWSDockable windows may be undocked by double

Page 43

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 12712.2.3.2 MAKE COLUMNS VISIBLE/INVISIBLEColumns can be made visible/invisible as fol

Page 44

MPLAB® IDE User’s GuideDS51519B-page 128 © 2006 Microchip Technology Inc.12.3 CODE DISPLAY WINDOW SYMBOLSIn the gutter of some windows, the following

Page 45 - 2.10 CREATING CODE

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 12912.4 PROJECT WINDOWThe Project window contains a summary of information about the p

Page 46

MPLAB® IDE User’s GuideDS51519B-page 4 © 2006 Microchip Technology Inc.RECOMMENDED READINGThis user's guide describes how to use MPLAB IDE. Other

Page 47

MPLAB® IDE User’s GuideDS51519B-page 130 © 2006 Microchip Technology Inc.12.4.2 Project Window Menus – Files TabDepending on where you click in the pr

Page 48

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 131Save AsSave the active project to a new location/name. See Section 13.22 “Save Proj

Page 49

MPLAB® IDE User’s GuideDS51519B-page 132 © 2006 Microchip Technology Inc.Add FilesInsert files into the project. Depending on the type of file, MPLAB

Page 50

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 133FIGURE 12-7: SYMBOL TREE GENERAL STRUCTUREIf the project name is in bold, it is the

Page 51

MPLAB® IDE User’s GuideDS51519B-page 134 © 2006 Microchip Technology Inc.12.4.5 Project Window FAQHow do I:Create/Update a project?See Section 4.3 “Cr

Page 52

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 13512.6 DISASSEMBLY LISTING WINDOWSelect View>Disassembly Listing to view disassemb

Page 53

MPLAB® IDE User’s GuideDS51519B-page 136 © 2006 Microchip Technology Inc.12.7 HARDWARE STACK WINDOWThe Hardware Stack window displays the contents of

Page 54

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 13712.7.3 Hardware Stack Window FAQHow do I:Understand the Return Address information?

Page 55 - 2.13 TUTORIAL SUMMARY

MPLAB® IDE User’s GuideDS51519B-page 138 © 2006 Microchip Technology Inc.• Label (Symbolic Only) – Opcode label in symbolic format.• Disassembly – A d

Page 56

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 139Center Debug LocationCenter the current PC line in the window.Cursor Tracks Debug L

Page 57

Preface© 2006 Microchip Technology Inc. DS51519B-page 5THE MICROCHIP WEB SITEMicrochip provides online support via our web site at www.microchip.com.

Page 58

MPLAB® IDE User’s GuideDS51519B-page 140 © 2006 Microchip Technology Inc.Fill program memory with a value?Right click in the window and select “Fill M

Page 59 - 3.5 CREATING A NEW PROJECT

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 14112.9.1.3 XY DATA (dsPIC DSC DEVICES ONLY)This format displays file register informa

Page 60

MPLAB® IDE User’s GuideDS51519B-page 142 © 2006 Microchip Technology Inc.PropertiesSelect background colors for SRFs and unallocated memory. Also, set

Page 61 - 3.9 ADDING FILES

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 143Export TableOpen the Export As dialog (see Section 13.10 “File Management Dialog”).

Page 62

MPLAB® IDE User’s GuideDS51519B-page 144 © 2006 Microchip Technology Inc.12.11 MEMORY USAGE GAUGEThis window displays the amount of program and data m

Page 63 - 3.12 SETTING BUILD OPTIONS

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 14512.12.1 LCD Pixel Window DisplayFor devices that support LCD output, you can view r

Page 64

MPLAB® IDE User’s GuideDS51519B-page 146 © 2006 Microchip Technology Inc.Output to FileWrite the displayed window contents to a text file.PrintPrint t

Page 65 - 3.15 RUNNING YOUR CODE

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 147• Additional Columns – Hex, Decimal, Binary, CharYou may add radix information to t

Page 66

MPLAB® IDE User’s GuideDS51519B-page 148 © 2006 Microchip Technology Inc.12.14 WATCH WINDOWThe Watch window allows you to monitor program symbols whil

Page 67 - 3.18 USING BREAKPOINTS

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 149Save Watch TabSave the contents of the currently selected Watch tab to a file.Load

Page 68

MPLAB® IDE User’s GuideDS51519B-page 6 © 2006 Microchip Technology Inc.CUSTOMER SUPPORTUsers of Microchip products can receive assistance through seve

Page 69 - Part 2 – MPLAB IDE Features

MPLAB® IDE User’s GuideDS51519B-page 150 © 2006 Microchip Technology Inc.Load a previously saved Watch window?Click the right mouse button in the wind

Page 70

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 15112.16.1 SFRs Window DisplayData is displayed in the following columns.• Address – S

Page 71

MPLAB® IDE User’s GuideDS51519B-page 152 © 2006 Microchip Technology Inc.12.16.3 SFRs Window FAQHow do I:Fill all registers with a value?Right click i

Page 72

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 153Source Code PaneCorresponding source code may be viewed in the lower portion of the

Page 73 - Projects and Workspaces

MPLAB® IDE User’s GuideDS51519B-page 154 © 2006 Microchip Technology Inc.Output to FileExport the contents of the trace memory window to a file. Uses

Page 74

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 155Window Controls• Trigger Position – Three radio buttons allow you to specify where

Page 75

MPLAB® IDE User’s GuideDS51519B-page 156 © 2006 Microchip Technology Inc.Import/Export TableImport from or export to a logic data file.12.18.3 Logic A

Page 76

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 157For more information, see Section 6.2 “Configuration Bits”.• Configuration Bits Win

Page 77

MPLAB® IDE User’s GuideDS51519B-page 158 © 2006 Microchip Technology Inc.Develop with Configuration bits set in code?To use only Configuration bits in

Page 78

MPLAB IDE Windows© 2006 Microchip Technology Inc. DS51519B-page 159Add Filter-in TraceAdd filter-in trace tags on selected code text. See Section 15.5

Page 79

MPLAB® IDEUSER’S GUIDE© 2006 Microchip Technology Inc. DS51519B-page 7Part 1 – MPLAB IDE Getting StartedChapter 1. What is MPLAB® IDE? ...

Page 80

MPLAB® IDE User’s GuideDS51519B-page 160 © 2006 Microchip Technology Inc.AdvancedSet advanced text features. Make selected text all uppercase or lower

Page 81

© 2006 Microchip Technology Inc. DS51519B-page 161MPLAB® IDEUSER’S GUIDEChapter 13. MPLAB IDE Dialogs13.1 INTRODUCTIONMPLAB IDE dialog boxes behave a

Page 82

MPLAB® IDE User’s GuideDS51519B-page 162 © 2006 Microchip Technology Inc.13.2 ABOUT MPLAB IDE DIALOGSelect Help>About MPLAB IDE to open the About M

Page 83

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 16313.4 BREAKPOINTS DIALOGSelect Debugger>Breakpoints to open the Breakpoints dialo

Page 84

MPLAB® IDE User’s GuideDS51519B-page 164 © 2006 Microchip Technology Inc.Fix unresolved breakpointsIf you have set a breakpoint on a line of high-leve

Page 85

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 16513.6 CONFIGURE CHANNEL DIALOGSelect pin and/or bus signals to be used by the Logic

Page 86

MPLAB® IDE User’s GuideDS51519B-page 166 © 2006 Microchip Technology Inc.13.8 EXPORT HEX FILE DIALOGThe Export Hex File dialog is available from File&

Page 87 - External Memory Handling

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 16713.10 FILE MANAGEMENT DIALOGA file management dialog allows you to manage source an

Page 88

MPLAB® IDE User’s GuideDS51519B-page 168 © 2006 Microchip Technology Inc.13.11 FILL MEMORY/REGISTERS DIALOGTo fill memory with a value, right click in

Page 89

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 169Examples13.13 FIND AND REPLACE DIALOGSUse the Find dialog (Edit>Find) to find an

Page 90

MPLAB® IDE User’s GuideDS51519B-page 8 © 2006 Microchip Technology Inc.NOTES:

Page 91 - Additional Features

MPLAB® IDE User’s GuideDS51519B-page 170 © 2006 Microchip Technology Inc.13.15 HELP TOPICS DIALOGSelect Help>Topics to open the MPLAB IDE Help Topi

Page 92

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 17113.19 PROJECT-DISPLAY PREFERENCES DIALOGRight click in an empty area of the Project

Page 93

MPLAB® IDE User’s GuideDS51519B-page 172 © 2006 Microchip Technology Inc.To Change Column Width• Make the window active.• Move the cursor over the lin

Page 94

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 17313.23 SELECT DEVICE DIALOGTo choose a device for development, select Configure>S

Page 95

MPLAB® IDE User’s GuideDS51519B-page 174 © 2006 Microchip Technology Inc.13.24 SELECT LANGUAGE TOOLSUITE DIALOGSelect Project>Select Language Tools

Page 96

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 17513.26.1 Workspace TabSelect Configure>Settings and click the Workspace tab to se

Page 97

MPLAB® IDE User’s GuideDS51519B-page 176 © 2006 Microchip Technology Inc.What Memory is to be Cleared13.26.4 Hot Keys TabSelect Configure>Settings

Page 98

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 177E.g., Hot keys are assigned to an MPLAB ICD 2 debugger command and an MPLAB PM3 pro

Page 99

MPLAB® IDE User’s GuideDS51519B-page 178 © 2006 Microchip Technology Inc.13.27 TABLE SETUP DIALOGRight click in a window and select “Import Table” or

Page 100

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 17913.29 VERSION CONTROL DIALOGSelect Project>Version Control to open the Version C

Page 101 - Integrated Language Tools

© 2006 Microchip Technology Inc. DS51519B-page 9MPLAB® IDEUSER’S GUIDEChapter 1. What is MPLAB® IDE?1.1 AN OVERVIEW OF EMBEDDED SYSTEMSMPLAB IDE is a

Page 102

MPLAB® IDE User’s GuideDS51519B-page 180 © 2006 Microchip Technology Inc.Microsoft Visual SourceSafeSubversion13.30 WATCH/LOCALS DIALOGSet up the Watc

Page 103

MPLAB IDE Dialogs© 2006 Microchip Technology Inc. DS51519B-page 18113.30.2 Preferences TabThis tab is used to select default settings for new symbols

Page 104

MPLAB® IDE User’s GuideDS51519B-page 182 © 2006 Microchip Technology Inc.NOTES:

Page 105

© 2006 Microchip Technology Inc. DS51519B-page 183MPLAB® IDEUSER’S GUIDEChapter 14. MPLAB IDE Operational Reference14.1 INTRODUCTIONReference informa

Page 106

MPLAB® IDE User’s GuideDS51519B-page 184 © 2006 Microchip Technology Inc.14.4 SAVED INFORMATIONInformation concerning your setup of MPLAB IDE is saved

Page 107 - USER’S GUIDE

MPLAB IDE Operational Reference© 2006 Microchip Technology Inc. DS51519B-page 185RegistryThe following information is saved in the registry file of th

Page 108

MPLAB® IDE User’s GuideDS51519B-page 186 © 2006 Microchip Technology Inc.• Promate II – PRO MATE II help and support files, and firmware.• Readmes – R

Page 109 - 8.8 THIRD PARTY TOOLS

© 2006 Microchip Technology Inc. DS51519B-page 187MPLAB® IDEUSER’S GUIDEPart 4 – MPLAB EditorChapter 15. Using the Editor...

Page 110

MPLAB® IDE User’s GuideDS51519B-page 188 © 2006 Microchip Technology Inc.NOTES:

Page 111 - Chapter 9. MPLAB Macros

© 2006 Microchip Technology Inc. DS51519B-page 189MPLAB® IDEUSER’S GUIDEChapter 15. Using the Editor15.1 INTRODUCTIONThe MPLAB Editor is an integrate

Page 112

DS51519B-page ii © 2006 Microchip Technology Inc.Information contained in this publication regarding deviceapplications and the like is provided only

Page 113 - Part 3 – MPLAB IDE Reference

MPLAB® IDE User’s GuideDS51519B-page 10 © 2006 Microchip Technology Inc.1.1.3 Components of a MicrocontrollerThe PICmicro MCU has program memory for t

Page 114

MPLAB® IDE User’s GuideDS51519B-page 190 © 2006 Microchip Technology Inc.15.2 CONFIGURING THE EDITORThe editor may be configured using two dialogs:• E

Page 115

Using the Editor© 2006 Microchip Technology Inc. DS51519B-page 19115.2.1.2 TEXT TABSet up text properties using the Text tab on the Editor Options dia

Page 116

MPLAB® IDE User’s GuideDS51519B-page 192 © 2006 Microchip Technology Inc.15.2.2 Editor Color Customization DialogYou can set color options to be used

Page 117 - MPLAB IDE Troubleshooting

Using the Editor© 2006 Microchip Technology Inc. DS51519B-page 19315.3 WORKING WITH FILESThe following editor features are available for working with

Page 118

MPLAB® IDE User’s GuideDS51519B-page 194 © 2006 Microchip Technology Inc.15.3.5 Closing FilesThere are several ways of closing a file, as shown below:

Page 119

Using the Editor© 2006 Microchip Technology Inc. DS51519B-page 19515.4 WORKING WITH TEXTThe following editor features are available for working with t

Page 120

MPLAB® IDE User’s GuideDS51519B-page 196 © 2006 Microchip Technology Inc.15.4.2 Moving to a Specific LineNo matter where the cursor is in a file, you

Page 121 - MPLAB IDE Desktop

Using the Editor© 2006 Microchip Technology Inc. DS51519B-page 19715.4.5 Pasting TextYou can paste any text contained in the Windows clipboard into a

Page 122

MPLAB® IDE User’s GuideDS51519B-page 198 © 2006 Microchip Technology Inc.15.4.7 Replacing TextTo find and replace text in a file:1. Make sure the file

Page 123

Using the Editor© 2006 Microchip Technology Inc. DS51519B-page 19915.4.11.1 INDENTINGTabs or spaces will be inserted as specified in the Editor Option

Page 124

What is MPLAB® IDE?© 2006 Microchip Technology Inc. DS51519B-page 11The peripherals and the amount of memory an application needs to run a program lar

Page 125

MPLAB® IDE User’s GuideDS51519B-page 200 © 2006 Microchip Technology Inc.15.5 WORKING WITH DEBUG FEATURESWhen a debugger is selected in MPLAB IDE, sev

Page 126

Using the Editor© 2006 Microchip Technology Inc. DS51519B-page 20115.6 KEYBOARD FEATURESThe following keys are specified for the editor:•Shortcuts• Mo

Page 127

MPLAB® IDE User’s GuideDS51519B-page 202 © 2006 Microchip Technology Inc.15.6.2 Movement and SelectionThe keyboard keystrokes shown in Table 15-2 may

Page 128

Using the Editor© 2006 Microchip Technology Inc. DS51519B-page 20315.7 EDITOR TROUBLESHOOTINGThis section is designed to help you troubleshoot any pro

Page 129

MPLAB® IDE User’s GuideDS51519B-page 204 © 2006 Microchip Technology Inc.NOTES:

Page 130

© 2006 Microchip Technology Inc. DS51519B-page 205MPLAB® IDEUSER’S GUIDEPart 5 – MPLAB SIMChapter 16. Simulator Overview ...

Page 131

MPLAB® IDE User’s GuideDS51519B-page 206 © 2006 Microchip Technology Inc.NOTES:

Page 132

© 2006 Microchip Technology Inc. DS51519B-page 207MPLAB® IDEUSER’S GUIDEChapter 16. Simulator Overview16.1 INTRODUCTIONMPLAB SIM is a discrete-event

Page 133

MPLAB® IDE User’s GuideDS51519B-page 208 © 2006 Microchip Technology Inc.Program memory, or core, instruction length is used to group PICmicro MCUs. D

Page 134

Simulator Overview© 2006 Microchip Technology Inc. DS51519B-page 20916.3.2 12-Bit Core Device SimulationThe following topics discuss the 12-bit core d

Page 135 - MPLAB IDE Windows

MPLAB® IDE User’s GuideDS51519B-page 12 © 2006 Microchip Technology Inc.FIGURE 1-4: PICmicro® MCU DATA SHEET – INSTRUCTIONS (EXCERPT)2. Compile, assem

Page 136

MPLAB® IDE User’s GuideDS51519B-page 210 © 2006 Microchip Technology Inc.16.3.3 14-Bit Core Device SimulationThe following topics discuss the 14-bit c

Page 137

Simulator Overview© 2006 Microchip Technology Inc. DS51519B-page 211A WDT time-out is simulated when WDT is enabled, proper pre/postscaler is set and

Page 138

MPLAB® IDE User’s GuideDS51519B-page 212 © 2006 Microchip Technology Inc.A/D Converter (Limited)All the registers, timing function and interrupt gener

Page 139

Simulator Overview© 2006 Microchip Technology Inc. DS51519B-page 21316.3.4.2 16-BIT CORE (PIC17) CPUReset ConditionsAll Reset conditions are supported

Page 140

MPLAB® IDE User’s GuideDS51519B-page 214 © 2006 Microchip Technology Inc.Timer0Timer0 and the interrupt it can generate on overflow is fully supported

Page 141

Simulator Overview© 2006 Microchip Technology Inc. DS51519B-page 21516.3.5.2 16-BIT CORE (PIC18) CPUReset ConditionsAll Reset conditions are supported

Page 142

MPLAB® IDE User’s GuideDS51519B-page 216 © 2006 Microchip Technology Inc.16.3.5.4 16-BIT CORE (PIC18) PERIPHERALSAlong with core support, MPLAB SIM su

Page 143

Simulator Overview© 2006 Microchip Technology Inc. DS51519B-page 217A/D Converter (Limited)All the registers, timing function and interrupt generation

Page 144

MPLAB® IDE User’s GuideDS51519B-page 218 © 2006 Microchip Technology Inc.16.3.6.2 SYSTEM INTEGRATION BLOCKReset SourcesAll Reset sources are supported

Page 145

Simulator Overview© 2006 Microchip Technology Inc. DS51519B-page 21916.3.6.4 PERIPHERALSMPLAB SIM supports the following peripherals:• Input Capture/O

Page 146

What is MPLAB® IDE?© 2006 Microchip Technology Inc. DS51519B-page 13Step 1 is driven by the designer, although MPLAB IDE can help in modeling circuits

Page 147

MPLAB® IDE User’s GuideDS51519B-page 220 © 2006 Microchip Technology Inc.16.4 SIMULATOR EXECUTIONMPLAB SIM operation is specified in the following top

Page 148

Simulator Overview© 2006 Microchip Technology Inc. DS51519B-page 221The following functions and peripherals are affected by simulation on instruction

Page 149

MPLAB® IDE User’s GuideDS51519B-page 222 © 2006 Microchip Technology Inc.NOTES:

Page 150

© 2006 Microchip Technology Inc. DS51519B-page 223MPLAB® IDEUSER’S GUIDEChapter 17. Getting Started with MPLAB SIM17.1 INTRODUCTIONIf you are new to

Page 151

MPLAB® IDE User’s GuideDS51519B-page 224 © 2006 Microchip Technology Inc.17.5 USING THE STOPWATCHThe stopwatch is useful for simple timing between pro

Page 152

Getting Started with MPLAB SIM© 2006 Microchip Technology Inc. DS51519B-page 22517.7.1 PIC18F MCU USART Example – SetupFollow the steps below to set u

Page 153

MPLAB® IDE User’s GuideDS51519B-page 226 © 2006 Microchip Technology Inc.17.7.3 PIC18F MCU USART Example – SCL StimulusTo use SCL Stimulus input to si

Page 154

Getting Started with MPLAB SIM© 2006 Microchip Technology Inc. DS51519B-page 227; software is owned by the Company and/or its supplier, and is ; prote

Page 155

MPLAB® IDE User’s GuideDS51519B-page 228 © 2006 Microchip Technology Inc. bsf TXSTA,BRGH ; Select high baud rate bsf RCSTA,SPEN ; Ena

Page 156

© 2006 Microchip Technology Inc. DS51519B-page 229MPLAB® IDEUSER’S GUIDEChapter 18. Using Stimulus18.1 INTRODUCTIONDuring simulation, the program bei

Page 157

MPLAB® IDE User’s GuideDS51519B-page 14 © 2006 Microchip Technology Inc.1.2 THE DEVELOPMENT CYCLEThe process for writing an application is often descr

Page 158

MPLAB® IDE User’s GuideDS51519B-page 230 © 2006 Microchip Technology Inc.18.2 SCL GENERATOR DIALOGUse the SCL Generator dialog to create synchronous s

Page 159

Using Stimulus© 2006 Microchip Technology Inc. DS51519B-page 231SFR Values As TriggersTriggers and traces will ONLY occur when the SFR is updated by t

Page 160

MPLAB® IDE User’s GuideDS51519B-page 232 © 2006 Microchip Technology Inc.When h:m:s is chosen, values input in the Time column will have the following

Page 161

Using Stimulus© 2006 Microchip Technology Inc. DS51519B-page 233As an example, set up a condition, COND1, such that when the value of register PORTC e

Page 162

MPLAB® IDE User’s GuideDS51519B-page 234 © 2006 Microchip Technology Inc.For the condition set up in the previous example, COND1, set up the following

Page 163

Using Stimulus© 2006 Microchip Technology Inc. DS51519B-page 235To Change the Order of Signals on the Pin/Register tab:• Click on the signal from the

Page 164

MPLAB® IDE User’s GuideDS51519B-page 236 © 2006 Microchip Technology Inc.18.2.5 Register InjectionRegisters may be injected with values set up in a fi

Page 165

Using Stimulus© 2006 Microchip Technology Inc. DS51519B-page 23718.2.5.2 MESSAGE-BASED DATA FILE DESCRIPTIONData in the file will be interpreted in pa

Page 166

MPLAB® IDE User’s GuideDS51519B-page 238 © 2006 Microchip Technology Inc.EXAMPLE 18-5: REGISTER STIMULUS FILE 218.2.6 Register TraceThe value of a sp

Page 167

Using Stimulus© 2006 Microchip Technology Inc. DS51519B-page 23918.3 STIMULUS CONTROLLER DIALOGUse the Stimulus Controller dialog to control how stimu

Page 168

What is MPLAB® IDE?© 2006 Microchip Technology Inc. DS51519B-page 151.3 PROJECT MANAGERThe project manager organizes the files to be edited and other

Page 169

MPLAB® IDE User’s GuideDS51519B-page 240 © 2006 Microchip Technology Inc.18.4 STIMULUS INPUT INTERACTIONIf a pin (e.g., RB1) assignment and a port (e.

Page 170

© 2006 Microchip Technology Inc. DS51519B-page 241MPLAB® IDEUSER’S GUIDEChapter 19. Using Stimulus – PIC17 Devices19.1 INTRODUCTIONStimulus functions

Page 171

MPLAB® IDE User’s GuideDS51519B-page 242 © 2006 Microchip Technology Inc.Asynchronous Setupa) Click on “Pin” to select or change the pin on which stim

Page 172

Using Stimulus – PIC17 Devices© 2006 Microchip Technology Inc. DS51519B-page 24319.2.3 Pin Stimulus DisplaySelect Debugger>Stimulus and then click

Page 173 - MPLAB IDE Dialogs

MPLAB® IDE User’s GuideDS51519B-page 244 © 2006 Microchip Technology Inc.•ActionType = Asynch:Pulse: Change the state of the pin to its opposite and r

Page 174

Using Stimulus – PIC17 Devices© 2006 Microchip Technology Inc. DS51519B-page 24519.3.1.1 CREATING/EDITING A FILE STIMULUS FILE (.FSTI)A file stimulus

Page 175

MPLAB® IDE User’s GuideDS51519B-page 246 © 2006 Microchip Technology Inc.PC Setupa) Click on “Trig Value” to set the PC address at which the trigger f

Page 176

Using Stimulus – PIC17 Devices© 2006 Microchip Technology Inc. DS51519B-page 24719.3.3 File Stimulus DisplaySelect Debugger>Stimulus Controller and

Page 177

MPLAB® IDE User’s GuideDS51519B-page 248 © 2006 Microchip Technology Inc.Buttons – File StimulusThese buttons enable you to save and restore combined

Page 178

© 2006 Microchip Technology Inc. DS51519B-page 249MPLAB® IDEUSER’S GUIDEChapter 20. Simulator Troubleshooting20.1 INTRODUCTIONThis section is designe

Page 179

MPLAB® IDE User’s GuideDS51519B-page 16 © 2006 Microchip Technology Inc.1.4 LANGUAGE TOOLSLanguage tools are programs such as cross-assemblers and cro

Page 180

MPLAB® IDE User’s GuideDS51519B-page 250 © 2006 Microchip Technology Inc.I cannot set conditional breakpointsConditional breakpoints are not yet imple

Page 181

© 2006 Microchip Technology Inc. DS51519B-page 251MPLAB® IDEUSER’S GUIDEChapter 21. Simulator Reference21.1 INTRODUCTIONOnce MPLAB SIM has been selec

Page 182

MPLAB® IDE User’s GuideDS51519B-page 252 © 2006 Microchip Technology Inc.21.2.2 View MenuIn addition to the standard MPLAB IDE View menu items, the fo

Page 183

Simulator Reference© 2006 Microchip Technology Inc. DS51519B-page 253Trace OptionsTo trace all lines of an executing program for display in the trace

Page 184

MPLAB® IDE User’s GuideDS51519B-page 254 © 2006 Microchip Technology Inc.21.3.3 SCL Options tabSelect Debugger>Settings and then click the SCL Opti

Page 185

Simulator Reference© 2006 Microchip Technology Inc. DS51519B-page 25521.3.6 Limitations tabSelect Debugger>Settings and then click the Limitation t

Page 186

MPLAB® IDE User’s GuideDS51519B-page 256 © 2006 Microchip Technology Inc.WDT (Watchdog Timer) OptionsChoose one of the following to determine the simu

Page 187

MPLAB® IDEUSER’S GUIDE© 2006 Microchip Technology Inc. DS51519B-page 257Appendix A. Revision HistoryA.1 REVISION HISTORYRevision A (10/2004)• Initial

Page 188

MPLAB® IDE User’s GuideDS51519B-page 258 © 2006 Microchip Technology Inc.NOTES:

Page 189

© 2006 Microchip Technology Inc. DS51519B-page 259MPLAB® IDEUSER’S GUIDEGlossaryAbsolute SectionA section with a fixed (absolute) address that cannot

Page 190

What is MPLAB® IDE?© 2006 Microchip Technology Inc. DS51519B-page 171.5 TARGET DEBUGGINGIn a development environment, the execution of the code is tes

Page 191

MPLAB® IDE User’s GuideDS51519B-page 260 © 2006 Microchip Technology Inc.Breakpoint, SoftwareAn address where execution of the firmware will halt. Usu

Page 192

Glossary© 2006 Microchip Technology Inc. DS51519B-page 261DownloadDownload is the process of sending data from a host to another device, such as an em

Page 193

MPLAB® IDE User’s GuideDS51519B-page 262 © 2006 Microchip Technology Inc.External SymbolA symbol for an identifier which has external linkage. This ma

Page 194

Glossary© 2006 Microchip Technology Inc. DS51519B-page 263IDEIntegrated Development Environment. MPLAB IDE is Microchip’s integrated develop-ment envi

Page 195 - 14.5 FILE LOCATIONS

MPLAB® IDE User’s GuideDS51519B-page 264 © 2006 Microchip Technology Inc.Linker Script FilesLinker script files are the command files of a linker. The

Page 196

Glossary© 2006 Microchip Technology Inc. DS51519B-page 265Microprocessor ModeOne of the possible program memory configurations of PIC17 and PIC18 micr

Page 197 - Part 4 – MPLAB Editor

MPLAB® IDE User’s GuideDS51519B-page 266 © 2006 Microchip Technology Inc.MPLIB Object LibrarianMPLIB librarian is an object librarian for use with COF

Page 198

Glossary© 2006 Microchip Technology Inc. DS51519B-page 267Pass CounterA counter that decrements each time an event (such as the execution of an instru

Page 199 - Chapter 15. Using the Editor

MPLAB® IDE User’s GuideDS51519B-page 268 © 2006 Microchip Technology Inc.RAMRandom Access Memory (Data Memory). Memory in which information can be acc

Page 200

Glossary© 2006 Microchip Technology Inc. DS51519B-page 269SkidWhen a hardware breakpoint is used to halt the processor, one or more additional instruc

Page 201 - Using the Editor

MPLAB® IDE User’s GuideDS51519B-page 18 © 2006 Microchip Technology Inc.1.6 DEVICE PROGRAMMINGAfter the application has been debugged and is running i

Page 202

MPLAB® IDE User’s GuideDS51519B-page 270 © 2006 Microchip Technology Inc.SymbolA symbol is a general purpose mechanism for describing the various piec

Page 203

Glossary© 2006 Microchip Technology Inc. DS51519B-page 271Watch VariableA variable that you may monitor during a debugging session in a Watch window.W

Page 204

MPLAB® IDE User’s GuideDS51519B-page 272 © 2006 Microchip Technology Inc.NOTES:

Page 205

© 2006 Microchip Technology Inc. DS51519B-page 273MPLAB® IDEUSER’S GUIDEIndexAAbout...

Page 206

MPLAB® IDE User’s GuideDS51519B-page 274 © 2006 Microchip Technology Inc.FFAQ... 203, 249

Page 207

Index© 2006 Microchip Technology Inc. DS51519B-page 275OOpen Dialog ... 167Osc/Trace Tab ...

Page 208

MPLAB® IDE User’s GuideDS51519B-page 276 © 2006 Microchip Technology Inc.Stimulus ... 22

Page 209

Index© 2006 Microchip Technology Inc. DS51519B-page 277NOTES:

Page 210

DS51519B-page 278 © 2006 Microchip Technology Inc.AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 48

Page 211

What is MPLAB® IDE?© 2006 Microchip Technology Inc. DS51519B-page 191.7.2 Additional Optional Components for MPLAB IDEOptional components can be purch

Page 212

MPLAB® IDEUSER’S GUIDE© 2006 Microchip Technology Inc. DS51519B-page iiiTable of ContentsPreface ...

Page 213

MPLAB® IDE User’s GuideDS51519B-page 20 © 2006 Microchip Technology Inc.FIGURE 1-8: DEBUGGER>SETTINGS: LIMITATIONS TABPress the Details button to s

Page 214

What is MPLAB® IDE?© 2006 Microchip Technology Inc. DS51519B-page 21MPLAB IDE Help covers all aspects of MPLAB IDE and all of the Microchip tools. It

Page 215 - Part 5 – MPLAB SIM

MPLAB® IDE User’s GuideDS51519B-page 22 © 2006 Microchip Technology Inc.1.10 MPLAB IDE UPDATES AND VERSION NUMBERINGMPLAB IDE is an evolving program w

Page 216

© 2006 Microchip Technology Inc. DS51519B-page 23MPLAB® IDEUSER’S GUIDEChapter 2. A Basic Tutorial for MPLAB IDE2.1 INTRODUCTIONMPLAB Integrated Deve

Page 217

MPLAB® IDE User’s GuideDS51519B-page 24 © 2006 Microchip Technology Inc.2.2 MPLAB IDE FEATURES AND INSTALLATIONMPLAB IDE is a Windows® Operating Syste

Page 218

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 252.2.2 Running MPLAB IDETo start MPLAB IDE, double click on the icon ins

Page 219 - Simulator Overview

MPLAB® IDE User’s GuideDS51519B-page 26 © 2006 Microchip Technology Inc.2.3 TUTORIAL OVERVIEWIn order to create code that is executable by the target

Page 220

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 272.4 SELECTING THE DEVICETo show menu selections in this document, the m

Page 221

MPLAB® IDE User’s GuideDS51519B-page 28 © 2006 Microchip Technology Inc.2.5 CREATING THE PROJECTThe next step is to create a project using the Project

Page 222

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 292.6 SETTING UP LANGUAGE TOOLSStep Two of the Project Wizard sets up the

Page 223

MPLAB® IDE User’s GuideDS51519B-page iv © 2006 Microchip Technology Inc.Chapter 3. Walk-Through and Detailed Tutorial3.1 Introduction ...

Page 224

MPLAB® IDE User’s GuideDS51519B-page 30 © 2006 Microchip Technology Inc.2.7 NAMING THE PROJECTStep Three of the wizard allows you to name the project

Page 225

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 312.8 ADDING FILES TO THE PROJECTStep Four of the Project Wizard allows f

Page 226

MPLAB® IDE User’s GuideDS51519B-page 32 © 2006 Microchip Technology Inc.FIGURE 2-7: PROJECT WIZARD – SELECT LINKER SCRIPTMake sure that your dialog lo

Page 227

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 33After pressing the Finish button, review the Project Window on the MPLA

Page 228

MPLAB® IDE User’s GuideDS51519B-page 34 © 2006 Microchip Technology Inc.2.9 BUILDING THE PROJECTFrom the Project menu, we can assemble and link the cu

Page 229

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 352.10 CREATING CODEOpen the template file in the project by double click

Page 230

MPLAB® IDE User’s GuideDS51519B-page 36 © 2006 Microchip Technology Inc.FIGURE 2-13: TEMPLATE FILE – MAINWhen any source file is opened, you are autom

Page 231

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 37In this bit of code, we used three variables named COUNT, DVAR and DVAR

Page 232

MPLAB® IDE User’s GuideDS51519B-page 38 © 2006 Microchip Technology Inc.If the code did not assemble and link successfully, check the following items

Page 233

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 39Select the simulator as the debug execution tool. This is done from the

Page 234

Table of Contents© 2006 Microchip Technology Inc. DS51519B-page vChapter 6. Additional Features6.1 Introduction ...

Page 235

MPLAB® IDE User’s GuideDS51519B-page 40 © 2006 Microchip Technology Inc.Next, select Debugger>Reset>Processor Reset and a green arrow shows wher

Page 236

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 41Next, press the Step Into icon or select Debugger>Step Into to singl

Page 237

MPLAB® IDE User’s GuideDS51519B-page 42 © 2006 Microchip Technology Inc.The pull down on the right, allows symbols to be added from the program. Use t

Page 238

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 43You could continue single stepping through the code, but instead, set a

Page 239 - Chapter 18. Using Stimulus

MPLAB® IDE User’s GuideDS51519B-page 44 © 2006 Microchip Technology Inc.Select Debugger>Run to run the application. A text message “Running…” will

Page 240

A Basic Tutorial for MPLAB IDE© 2006 Microchip Technology Inc. DS51519B-page 45Use Debugger>StopWatch to bring up the StopWatch dialog. Make sure t

Page 241 - Using Stimulus

MPLAB® IDE User’s GuideDS51519B-page 46 © 2006 Microchip Technology Inc.NOTES:

Page 242

© 2006 Microchip Technology Inc. DS51519B-page 47MPLAB® IDEUSER’S GUIDEChapter 3. Walk-Through and Detailed Tutorial3.1 INTRODUCTIONThis walk-through

Page 243

MPLAB® IDE User’s GuideDS51519B-page 48 © 2006 Microchip Technology Inc.3.2 SELECTING A DEVICETo begin application development, select the Microchip d

Page 244

Walk-Through and Detailed Tutorial© 2006 Microchip Technology Inc. DS51519B-page 493.4 CREATING SOURCE CODE WITH THE EDITORSelect File>New to open

Page 245

MPLAB® IDE User’s GuideDS51519B-page vi © 2006 Microchip Technology Inc.Chapter 12. MPLAB IDE Windows12.1 Introduction ...

Page 246

MPLAB® IDE User’s GuideDS51519B-page 50 © 2006 Microchip Technology Inc.3.6 USING THE PROJECT WIZARDTo create a new project in the current workspace,

Page 247

Walk-Through and Detailed Tutorial© 2006 Microchip Technology Inc. DS51519B-page 513.8 NAMING AND LOCATING THE PROJECTYou will now enter a name and lo

Page 248

MPLAB® IDE User’s GuideDS51519B-page 52 © 2006 Microchip Technology Inc.The linker script files are as follows: • DevNum – the number associated with

Page 249

Walk-Through and Detailed Tutorial© 2006 Microchip Technology Inc. DS51519B-page 533.11 VIEWING THE PROJECT WINDOWIf it is not already open, open the

Page 250

MPLAB® IDE User’s GuideDS51519B-page 54 © 2006 Microchip Technology Inc.To override project settings for a particular project file, e.g., ProjFile1.as

Page 251

Walk-Through and Detailed Tutorial© 2006 Microchip Technology Inc. DS51519B-page 553.14 CHOOSING A DEBUGGERChoose a tool to help debug your code from

Page 252

MPLAB® IDE User’s GuideDS51519B-page 56 © 2006 Microchip Technology Inc.Tutorial Step 14:Reset your code (Debugger>Reset) and then run it by clicki

Page 253 - Table Entries

Walk-Through and Detailed Tutorial© 2006 Microchip Technology Inc. DS51519B-page 57The file register address of the symbols is listed first, followed

Page 254

MPLAB® IDE User’s GuideDS51519B-page 58 © 2006 Microchip Technology Inc.3.19 CHOOSING A PROGRAMMEROnce you have your code debugged and running smoothl

Page 255

MPLAB® IDEUSER’S GUIDE© 2006 Microchip Technology Inc. DS51519B-page 59Part 2 – MPLAB IDE FeaturesChapter 4. Projects and Workspaces ...

Page 256

Table of Contents© 2006 Microchip Technology Inc. DS51519B-page viiChapter 13. MPLAB IDE Dialogs13.1 Introduction ...

Page 257 - Buttons – Edit Controls

MPLAB® IDE User’s GuideDS51519B-page 60 © 2006 Microchip Technology Inc.NOTES:

Page 258

© 2006 Microchip Technology Inc. DS51519B-page 61MPLAB® IDEUSER’S GUIDEChapter 4. Projects and Workspaces4.1 INTRODUCTIONTwo major features of MPLAB

Page 259

MPLAB® IDE User’s GuideDS51519B-page 62 © 2006 Microchip Technology Inc.4.2 USING THE PROJECT WIZARDThe project wizard consists of several dialogs whi

Page 260

Projects and Workspaces© 2006 Microchip Technology Inc. DS51519B-page 634.2.4 Project Wizard – Name Your ProjectStep 3: Name Your Project – Enter a na

Page 261

MPLAB® IDE User’s GuideDS51519B-page 64 © 2006 Microchip Technology Inc.5. Enter files in the project by selecting Project>Add Files to Project, by

Page 262

Projects and Workspaces© 2006 Microchip Technology Inc. DS51519B-page 654.5 PROJECT FOLDERS AND FILESDepending on how you have structured your project

Page 263 - Simulator Reference

MPLAB® IDE User’s GuideDS51519B-page 66 © 2006 Microchip Technology Inc.4.6 USING A VERSION CONTROL SYSTEM (VCS)If you want to use a version control s

Page 264

Projects and Workspaces© 2006 Microchip Technology Inc. DS51519B-page 674.6.1 Microsoft Visual Source SafeHaving some knowledge of VSS and MPLAB IDE i

Page 265

MPLAB® IDE User’s GuideDS51519B-page 68 © 2006 Microchip Technology Inc.An example of performing the checkout is listed below:$ cd DirABOVEWhereIWantM

Page 266

Projects and Workspaces© 2006 Microchip Technology Inc. DS51519B-page 694.7 SETTING UP/CHANGING A PROJECTYou can use the following steps to create a n

Page 267 - Appendix A. Revision History

MPLAB® IDE User’s GuideDS51519B-page viii © 2006 Microchip Technology Inc.Part 4 – MPLAB EditorChapter 15. Using the Editor15.1 Introduction ...

Page 268

MPLAB® IDE User’s GuideDS51519B-page 70 © 2006 Microchip Technology Inc.4.7.3 Setting Up a Project – Set Up Language ToolsTo add language tools for us

Page 269 - Glossary

Projects and Workspaces© 2006 Microchip Technology Inc. DS51519B-page 714.7.6 Setting Up a Project – Set Build OptionsMPLAB IDE has default settings f

Page 270

MPLAB® IDE User’s GuideDS51519B-page 72 © 2006 Microchip Technology Inc.4.8 USING A SINGLE PROJECT AND WORKSPACEThe most common configuration for appl

Page 271

Projects and Workspaces© 2006 Microchip Technology Inc. DS51519B-page 734.9.1 Setting Up Multiple ProjectsTo set up the workspace to use multiple proj

Page 272

MPLAB® IDE User’s GuideDS51519B-page 74 © 2006 Microchip Technology Inc.The last project opened in a workspace will automatically be set as the active

Page 273

© 2006 Microchip Technology Inc. DS51519B-page 75MPLAB® IDEUSER’S GUIDEChapter 5. External Memory Handling5.1 INTRODUCTIONSome Microchip devices allo

Page 274

MPLAB® IDE User’s GuideDS51519B-page 76 © 2006 Microchip Technology Inc.• The Extended Microcontroller mode allows access to both internal and externa

Page 275

External Memory Handling© 2006 Microchip Technology Inc. DS51519B-page 775.2.5 External Memory InterfaceThe External Memory Interface is a feature tha

Page 276

MPLAB® IDE User’s GuideDS51519B-page 78 © 2006 Microchip Technology Inc.NOTES:

Page 277

© 2006 Microchip Technology Inc. DS51519B-page 79MPLAB® IDEUSER’S GUIDEChapter 6. Additional Features6.1 INTRODUCTIONMPLAB IDE contains additional fe

Page 278

Table of Contents© 2006 Microchip Technology Inc. DS51519B-page ixAppendix A. ...

Page 279

MPLAB® IDE User’s GuideDS51519B-page 80 © 2006 Microchip Technology Inc.6.2.4 Setting for External Memory UseIf your device supports external memory,

Page 280

Additional Features© 2006 Microchip Technology Inc. DS51519B-page 81To add a symbol to a Watch view:• Select the symbol from the drop-down list and th

Page 281

MPLAB® IDE User’s GuideDS51519B-page 82 © 2006 Microchip Technology Inc.6.3.3 Deleting from a Watch ViewTo delete an entry:• Click on the entry to sel

Page 282

Additional Features© 2006 Microchip Technology Inc. DS51519B-page 83To import Watch variable values from a table:• Click on an entry to select the SFR

Page 283

MPLAB® IDE User’s GuideDS51519B-page 84 © 2006 Microchip Technology Inc.6.3.9 Watch Window and Associated DialogsThe following MPLAB IDE windows and d

Page 284

Additional Features© 2006 Microchip Technology Inc. DS51519B-page 85• When you delete a breakpoint in the Program Memory window on any line of assembl

Page 285

MPLAB® IDE User’s GuideDS51519B-page 86 © 2006 Microchip Technology Inc.6.6 MICROCHIP HELPMicrochip Technology provides on-line HTML help for MPLAB ID

Page 286

Additional Features© 2006 Microchip Technology Inc. DS51519B-page 876.6.2 Navigating in the Help ViewerThe main features of the help viewer are shown

Page 287

MPLAB® IDE User’s GuideDS51519B-page 88 © 2006 Microchip Technology Inc.Navigation PaneTo close this pane, click on the Hide button (which will change

Page 288 - *DS51519B*

© 2006 Microchip Technology Inc. DS51519B-page 89MPLAB® IDEUSER’S GUIDEChapter 7. Integrated Language Tools7.1 INTRODUCTIONMPLAB IDE is designed to w

Commentaires sur ces manuels

Pas de commentaire