Zilog Z8F0130 Manuale Utente

Navigare online o scaricare Manuale Utente per Sensori Zilog Z8F0130. Zilog Z8F0130 User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 214
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
Copyright ©2012 Zilog
®
, Inc. All rights reserved.
www.zilog.com
UM013037-1212
This document has been discontinued and thus will no
longer be updated. Please refer instead to Zilog Developer
Studio’s Online Help feature.
ZDS II Online Help can be accessed from the Help menu in ZDS II. So that
we can offer continual improvements to your ZDS II On-Line Help
experience, we welcome your inputs and suggestions. Please feel free to
contact us via our Customer Service page
on the Zilog website.
User Manual
Zilog Developer Studio II –
Z8 Encore!
®
Vedere la pagina 0
1 2 3 4 5 6 ... 213 214

Sommario

Pagina 1

Copyright ©2012 Zilog®, Inc. All rights reserved.www.zilog.comUM013037-1212This document has been discontinued and thus will no longer be updated. Ple

Pagina 2

Table of Contents UM013037-1212xZilog Developer Studio II – Z8 Encore!User ManualLabels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 3

Using the Integrated Development Environment UM013037-121276Zilog Developer Studio II – Z8 Encore!User ManualThis is the safest possible configurati

Pagina 4

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual77Limit Optimizations for Easier DebuggingSelecting this checkbox causes

Pagina 5

Using the Integrated Development Environment UM013037-121278Zilog Developer Studio II – Z8 Encore!User Manualand calls made with function pointers c

Pagina 6

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual79Generate C Listing Files (.lis)When selected, the Generate C Listing Fi

Pagina 7

Using the Integrated Development Environment UM013037-121280Zilog Developer Studio II – Z8 Encore!User Manualerated assembly code and the compiler-g

Pagina 8

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual81Preprocessor DefinitionsThe Preprocessor Definitions field is equivalen

Pagina 9

Using the Integrated Development Environment UM013037-121282Zilog Developer Studio II – Z8 Encore!User ManualIn this example, the compiler looks for

Pagina 10

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual83For Assembly Only projects, the Advanced page is not available.Use Regi

Pagina 11

Using the Integrated Development Environment UM013037-121284Zilog Developer Studio II – Z8 Encore!User Manualrule. For example, in an application th

Pagina 12

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual85top-level routines to parse a format string are not linked into the pro

Pagina 13

UM013037-1212 Table of ContentsZilog Developer Studio II – Z8 Encore!User Manualxi& (And) . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 14

Using the Integrated Development Environment UM013037-121286Zilog Developer Studio II – Z8 Encore!User Manual short bf2:9; long bf3:17;} bf_struct

Pagina 15

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual87Place Const Variables in ROMIn ZDS II releases before 4.10.0, an option

Pagina 16

Using the Integrated Development Environment UM013037-121288Zilog Developer Studio II – Z8 Encore!User Manualalso be seen at the machine instruction

Pagina 17

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual89depend on the old behavior and might have to expend additional effort n

Pagina 18

Using the Integrated Development Environment UM013037-121290Zilog Developer Studio II – Z8 Encore!User Manualin effect or not. In this sense, the AN

Pagina 19

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual91unsigned char uch3 = 128;int int1;char ch1 = -2;int main(void){pu

Pagina 20

Using the Integrated Development Environment UM013037-121292Zilog Developer Studio II – Z8 Encore!User Manual1. Select Settings from the Project men

Pagina 21

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual93Include Zilog Standard Library (Peripheral Support)Select the Include Z

Pagina 22

Using the Integrated Development Environment UM013037-121294Zilog Developer Studio II – Z8 Encore!User ManualUARTSIn the UARTs area, select the chec

Pagina 23

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual95Always Generate from SettingsWhen this button is selected, the linker c

Pagina 24

Table of Contents UM013037-1212xiiZilog Developer Studio II – Z8 Encore!User ManualDisabling Breakpoints . . . . . . . . . . . . . . . . . . . . . .

Pagina 25

Using the Integrated Development Environment UM013037-121296Zilog Developer Studio II – Z8 Encore!User ManualEven though selecting the Always Genera

Pagina 26

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual97You can add or edit your additional directives in the Additional Linker

Pagina 27

Using the Integrated Development Environment UM013037-121298Zilog Developer Studio II – Z8 Encore!User Manual3. Use the Look In drop-down list box t

Pagina 28

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual99Additional Object/Library ModulesClick the Browse button ( ) next to th

Pagina 29

Using the Integrated Development Environment UM013037-1212100Zilog Developer Studio II – Z8 Encore!User ManualC run-time library functions) by compi

Pagina 30

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual101These commands are helpful in getting your project properly configured

Pagina 31

Using the Integrated Development Environment UM013037-1212102Zilog Developer Studio II – Z8 Encore!User ManualStandard Library adapted for embedded

Pagina 32

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual103In the ZDS II 4.10.0 release, the ZSL page is unavailable if you have

Pagina 33

Using the Integrated Development Environment UM013037-1212104Zilog Developer Studio II – Z8 Encore!User Manualyour code or data has grown beyond you

Pagina 34

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual105The Z8 Encore! XP 4K and 16K devices contain a Nonvolatile Data Storag

Pagina 35

UM013037-1212 Table of ContentsZilog Developer Studio II – Z8 Encore!User Manualxiiigets . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 36

Using the Integrated Development Environment UM013037-1212106Zilog Developer Studio II – Z8 Encore!User Manual00-df0000-ffff0000-1fff,4000-5fffHoles

Pagina 37

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual107are any warnings while linking. By default, this checkbox is deselecte

Pagina 38

Using the Integrated Development Environment UM013037-1212108Zilog Developer Studio II – Z8 Encore!User ManualOutput File NameYou can change the nam

Pagina 39

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual109Sort Symbols ByYou can choose whether to have symbols in the link map

Pagina 40

Using the Integrated Development Environment UM013037-1212110Zilog Developer Studio II – Z8 Encore!User Manuallength of hex file records. This optio

Pagina 41

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual111software debug tool that does not require the existence of physical ha

Pagina 42

Using the Integrated Development Environment UM013037-1212112Zilog Developer Studio II – Z8 Encore!User Manual2. Select the appropriate clock freque

Pagina 43

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual113Copy1. Select a target in the Target area of the Debugger page.2. Clic

Pagina 44

Using the Integrated Development Environment UM013037-1212114Zilog Developer Studio II – Z8 Encore!User ManualDelete target_name Target?”. Click Yes

Pagina 45

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual115Ethernet Smart Cable by entering a known Ethernet Smart Cable IP addre

Pagina 46

Table of Contents UM013037-1212xivZilog Developer Studio II – Z8 Encore!User Manualstrchr . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 47

Using the Integrated Development Environment UM013037-1212116Zilog Developer Studio II – Z8 Encore!User Manual– Use the Serial Number drop-down list

Pagina 48

UM013037-1212 Build MenuZilog Developer Studio II – Z8 Encore!User Manual1173. Enter the make file name in the File Name field. You do not have to t

Pagina 49

Using the Integrated Development Environment UM013037-1212118Zilog Developer Studio II – Z8 Encore!User ManualUpdate All DependenciesSelect Update A

Pagina 50

UM013037-1212 Build MenuZilog Developer Studio II – Z8 Encore!User Manual119•Using the Select Configuration dialog box. See the Set Active Configura

Pagina 51

Using the Integrated Development Environment UM013037-1212120Zilog Developer Studio II – Z8 Encore!User Manual5. Click OK. Your new configuration is

Pagina 52

UM013037-1212 Debug MenuZilog Developer Studio II – Z8 Encore!User Manual1213. Select the configuration with the appropriate settings from the Copy

Pagina 53

Using the Integrated Development Environment UM013037-1212122Zilog Developer Studio II – Z8 Encore!User Manual– Verify File Downloads – Upon Com

Pagina 54

UM013037-1212 Debug MenuZilog Developer Studio II – Z8 Encore!User Manual123You might need to reset the device before execution because the program

Pagina 55

Using the Integrated Development Environment UM013037-1212124Zilog Developer Studio II – Z8 Encore!User Manual1. Initializes the communication to th

Pagina 56

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual125Tools MenuThe Tools menu lets you set up the Flash Loader, calculate a f

Pagina 57

UM013037-1212 Table of ContentsZilog Developer Studio II – Z8 Encore!User Manualxvbuild . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 58

Using the Integrated Development Environment UM013037-1212126Zilog Developer Studio II – Z8 Encore!User Manual3. Click the Browse button ( ) to navi

Pagina 59

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual127internal Flash is selected, the address range is displayed in the Flash

Pagina 60

Using the Integrated Development Environment UM013037-1212128Zilog Developer Studio II – Z8 Encore!User Manual10. Select the Use Page Erase checkbox

Pagina 61

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual129write the serial number to the Flash device and then write the hex file.

Pagina 62

Using the Integrated Development Environment UM013037-1212130Zilog Developer Studio II – Z8 Encore!User Manual3. Select Fill Memory. The Fill Memory

Pagina 63

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual1314. In the File Name field, enter the path and name of the file you want

Pagina 64

Using the Integrated Development Environment UM013037-1212132Zilog Developer Studio II – Z8 Encore!User Manual4. In the File Name field, enter the p

Pagina 65

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual1332. Click the Browse button ( ) to select the .hex file for which you wan

Pagina 66

Using the Integrated Development Environment UM013037-1212134Zilog Developer Studio II – Z8 Encore!User ManualShow CRCThis command is only available

Pagina 67

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual135To display, hide, or change the appearance of toolbars, use the followin

Pagina 68

Table of Contents UM013037-1212xviZilog Developer Studio II – Z8 Encore!User Manualtarget get . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 69

Using the Integrated Development Environment UM013037-1212136Zilog Developer Studio II – Z8 Encore!User ManualCustomize: Commands TabThe Commands ta

Pagina 70

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual137OptionsThe Options dialog box contains the following tabs:•Options: Gene

Pagina 71

Using the Integrated Development Environment UM013037-1212138Zilog Developer Studio II – Z8 Encore!User ManualOptions: Editor TabUse the Editor tab

Pagina 72

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual1392. Click the Editor tab.3. Select a file type from the File Type drop-do

Pagina 73

Using the Integrated Development Environment UM013037-1212140Zilog Developer Studio II – Z8 Encore!User Manual6. To configure the background or fore

Pagina 74

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual14110. Click OK to close the Font dialog box.11. Click OK to close the Opti

Pagina 75

Using the Integrated Development Environment UM013037-1212142Zilog Developer Studio II – Z8 Encore!User ManualDisplay Line Number MarginThe Display

Pagina 76

UM013037-1212 Tools MenuZilog Developer Studio II – Z8 Encore!User Manual143Display Indentation GuideThe Display Indentation Guide option allows you

Pagina 77

Using the Integrated Development Environment UM013037-1212144Zilog Developer Studio II – Z8 Encore!User Manual•When the Show DataTips Pop-Up Informa

Pagina 78

UM013037-1212 Window MenuZilog Developer Studio II – Z8 Encore!User Manual145Window MenuThe Window menu allows you to select the ways you want to ar

Pagina 79

UM013037-1212 List of FiguresZilog Developer Studio II – Z8 Encore!User ManualxviiList of FiguresFigure 1. New Project Dialog Box . . . . . . . . .

Pagina 80

Using the Integrated Development Environment UM013037-1212146Zilog Developer Studio II – Z8 Encore!User Manual•Technical Support – see page 146•Abou

Pagina 81

UM013037-1212 Project Menu ShortcutsZilog Developer Studio II – Z8 Encore!User Manual147Project Menu ShortcutsThe one shortcut option for accessing

Pagina 82

Using the Integrated Development Environment UM013037-1212148Zilog Developer Studio II – Z8 Encore!User ManualBuild Menu ShortcutsShortcut options f

Pagina 83

UM013037-1212 Using the EditorZilog Developer Studio II – Z8 Encore!User Manual149Using the EditorZDS II provides an intelligent editor that compris

Pagina 84

Using the Editor UM013037-1212150Zilog Developer Studio II – Z8 Encore!User Manual•Highlighting a Program Counter Line – see page 188Identify and Co

Pagina 85

UM013037-1212 Auto CompletionZilog Developer Studio II – Z8 Encore!User Manual151Auto CompletionYou can accelerate your keyboarding with an autocomp

Pagina 86

Using the Editor UM013037-1212152Zilog Developer Studio II – Z8 Encore!User ManualTyping one or two characters is typically enough for the editor to

Pagina 87

UM013037-1212 Auto CompletionZilog Developer Studio II – Z8 Encore!User Manual153Include file list boxThe editor opens a list box of all possible he

Pagina 88

Using the Editor UM013037-1212154Zilog Developer Studio II – Z8 Encore!User ManualWhen you type an angle bracket following an #include directive, th

Pagina 89

UM013037-1212 Call TipsZilog Developer Studio II – Z8 Encore!User Manual155When autocompletion is disabled, you can still bring up the autocompletio

Pagina 90

List of Figures UM013037-1212xviiiZilog Developer Studio II – Z8 Encore!User ManualFigure 34. Open Dialog Box . . . . . . . . . . . . . . . . . . .

Pagina 91

Using the Editor UM013037-1212156Zilog Developer Studio II – Z8 Encore!User ManualCall Tips becomes available for virtually all of the functions dec

Pagina 92

UM013037-1212 Auto IndentationZilog Developer Studio II – Z8 Encore!User Manual157When call tips are disabled, you can still bring up the Call Tips

Pagina 93

Using the Editor UM013037-1212158Zilog Developer Studio II – Z8 Encore!User ManualIn C program code, auto indentation is supported with brace charac

Pagina 94

UM013037-1212 Multiple ClipboardsZilog Developer Studio II – Z8 Encore!User Manual159To enable or disable auto indentation, perform the following st

Pagina 95

Using the Editor UM013037-1212160Zilog Developer Studio II – Z8 Encore!User Manualsystem clipboard. It works alongside the regular Windows Clipboard

Pagina 96

UM013037-1212 Line and Block CommentsZilog Developer Studio II – Z8 Encore!User Manual161Line and Block CommentsIn a C file, line comments are frame

Pagina 97

Using the Editor UM013037-1212162Zilog Developer Studio II – Z8 Encore!User Manualply pressing a hotkey. This feature improves your productivity by

Pagina 98

UM013037-1212 Abbreviations and ExpansionsZilog Developer Studio II – Z8 Encore!User Manual163Abbreviation and Expansion pairs are saved between ins

Pagina 99

Using the Editor UM013037-1212164Zilog Developer Studio II – Z8 Encore!User ManualIn the Abbreviations dialog box, you can perform the following ope

Pagina 100

UM013037-1212 Abbreviations and ExpansionsZilog Developer Studio II – Z8 Encore!User Manual165– To indent a block of code, precede the code block wi

Pagina 101

UM013037-1212 List of FiguresZilog Developer Studio II – Z8 Encore!User ManualxixFigure 69. Target Copy or Move Dialog Box . . . . . . . . . . . . .

Pagina 102

Using the Editor UM013037-1212166Zilog Developer Studio II – Z8 Encore!User Manual2. Perform either of the following two actions:– Enter the abbrevi

Pagina 103

UM013037-1212 Auto Insertion of Braces and QuotesZilog Developer Studio II – Z8 Encore!User Manual167Auto Insertion of Braces and QuotesWhen typing

Pagina 104

Using the Editor UM013037-1212168Zilog Developer Studio II – Z8 Encore!User ManualClosing characters are not inserted inside comments and strings.To

Pagina 105

UM013037-1212 Long Line IndicatorZilog Developer Studio II – Z8 Encore!User Manual169The Long Line indicator works well only for monospaced fonts (f

Pagina 106

Using the Editor UM013037-1212170Zilog Developer Studio II – Z8 Encore!User Manual5. To move the indicator to a particular column, enter the number

Pagina 107

UM013037-1212 Auto Syntax StylerZilog Developer Studio II – Z8 Encore!User Manual171Auto Syntax StylerThe Auto Syntax Styler displays the language c

Pagina 108

Using the Editor UM013037-1212172Zilog Developer Studio II – Z8 Encore!User ManualThe colors used by the editor’s Auto Syntax Styler are completely

Pagina 109

UM013037-1212 Auto Syntax StylerZilog Developer Studio II – Z8 Encore!User Manual1733. Select an appropriate color from the Color Style list box, an

Pagina 110

Using the Editor UM013037-1212174Zilog Developer Studio II – Z8 Encore!User ManualIf you want to use the default foreground or background color for

Pagina 111

UM013037-1212 Code Folding MarginZilog Developer Studio II – Z8 Encore!User Manual175The folding points of a document are based on the hierarchical

Pagina 112

UM013037-1212iiZilog Developer Studio II – Z8 Encore!User ManualDO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS.LIFE SUPPORT POLICYZILOG’S PRODUCTS A

Pagina 113

List of Figures UM013037-1212xxZilog Developer Studio II – Z8 Encore!User ManualFigure 105. Multiple Clipboards . . . . . . . . . . . . . . . . . .

Pagina 114

Using the Editor UM013037-1212176Zilog Developer Studio II – Z8 Encore!User Manual2. Click the Editor tab. 3. Click the Advanced Editor Options butt

Pagina 115

UM013037-1212 Line Number MarginZilog Developer Studio II – Z8 Encore!User Manual177You can select a line of text by clicking the associated line nu

Pagina 116

Using the Editor UM013037-1212178Zilog Developer Studio II – Z8 Encore!User ManualType Info TipsThe Type Info Tips window is a hovering and short-li

Pagina 117

UM013037-1212 Highlighting and Finding Matched BracesZilog Developer Studio II – Z8 Encore!User Manual179Highlighting and Finding Matched BracesMove

Pagina 118

Using the Editor UM013037-1212180Zilog Developer Studio II – Z8 Encore!User ManualWhen braces or parentheses are nested, the innermost pair containi

Pagina 119

UM013037-1212 Wrap Long LinesZilog Developer Studio II – Z8 Encore!User Manual181•Press Ctrl+Shift+K to select the entire text within the matching p

Pagina 120

Using the Editor UM013037-1212182Zilog Developer Studio II – Z8 Encore!User ManualIf you enable the Wrap Long Lines feature, the Code Folding Margin

Pagina 121

UM013037-1212 Indentation GuidesZilog Developer Studio II – Z8 Encore!User Manual183To enable or disable indentation guides, perform the following s

Pagina 122

Using the Editor UM013037-1212184Zilog Developer Studio II – Z8 Encore!User ManualZoom In/OutThe ZDS II Editor allows you to increase or decrease th

Pagina 123

UM013037-1212 BookmarksZilog Developer Studio II – Z8 Encore!User Manual185To insert a bookmark, position the cursor on the appropriate line of the

Pagina 124

UM013037-1212 List of FiguresZilog Developer Studio II – Z8 Encore!User ManualxxiFigure 141. Debug and Debug Window Toolbars . . . . . . . . . . .

Pagina 125

Using the Editor UM013037-1212186Zilog Developer Studio II – Z8 Encore!User ManualTo remove a bookmark, position the cursor on the line of the activ

Pagina 126

UM013037-1212 Opening an Include FileZilog Developer Studio II – Z8 Encore!User Manual187•Right-click in the Edit window and select Next Bookmark fr

Pagina 127

Using the Editor UM013037-1212188Zilog Developer Studio II – Z8 Encore!User ManualThe opening include file work well only with a project opened in t

Pagina 128

UM013037-1212 Highlighting a Program Counter LineZilog Developer Studio II – Z8 Encore!User Manual189To highlight the PC line, perform the following

Pagina 129

Using the Editor UM013037-1212190Zilog Developer Studio II – Z8 Encore!User ManualMismatched Brace HighlightingMove your text caret just behind the

Pagina 131

List of Figures UM013037-1212xxiiZilog Developer Studio II – Z8 Encore!User Manual

Pagina 132

UM013037-1212 List of TablesZilog Developer Studio II – Z8 Encore!User ManualxxiiiList of TablesTable 1. Edit Window Shortcuts . . . . . . . . . .

Pagina 133

List of Tables UM013037-1212xxivZilog Developer Studio II – Z8 Encore!User ManualTable 34. Z8 Encore! Directive Compatibility . . . . . . . . . .

Pagina 134

UM013037-1212 IntroductionZilog Developer Studio II – Z8 Encore!User Manual1IntroductionThe following sections provide an introduction to the Zilog

Pagina 135

Introduction UM013037-12122Zilog Developer Studio II – Z8 Encore!User Manual•Windows 2000 SP4Recommended Host System Configuration•Windows XP Profess

Pagina 136

UM013037-1212 When Using the USB Smart CableZilog Developer Studio II – Z8 Encore!User Manual3When Using the USB Smart Cable•High-speed USB (fully c

Pagina 137

Introduction UM013037-12124Zilog Developer Studio II – Z8 Encore!User ManualZ8Encore_XP_64XX_Series Z8F1621 40, 44 Z8F64200100KITGZ8F1622 64, 68Z8F24

Pagina 138

UM013037-1212 Z8 Encore! Product SupportZilog Developer Studio II – Z8 Encore!User Manual5Z8Encore_XP_F0823_Series Z8F0113 20, 28 Z8F04A28100KITGZ8F

Pagina 139

UM013037-1212 Revision HistoryZilog Developer Studio II – Z8 Encore!User ManualiiiRevision HistoryEach instance in the following revision history ta

Pagina 140

Introduction UM013037-12126Zilog Developer Studio II – Z8 Encore!User ManualZilog Technical SupportFor technical questions about our products and too

Pagina 141

UM013037-1212 Zilog Technical SupportZilog Developer Studio II – Z8 Encore!User Manual7– product is the specific Zilog product. For example, product

Pagina 142

Introduction UM013037-12128Zilog Developer Studio II – Z8 Encore!User Manual

Pagina 143

UM013037-1212 Getting StartedZilog Developer Studio II – Z8 Encore!User Manual9Getting StartedThis section provides a tutorial of the developer’s en

Pagina 144

Getting Started UM013037-121210Zilog Developer Studio II – Z8 Encore!User Manual•Save the Project – see page 22When you complete this tour, you have

Pagina 145

UM013037-1212 Create a New ProjectZilog Developer Studio II – Z8 Encore!User Manual113. Use the Look In drop-down list box to navigate to the direct

Pagina 146

Getting Started UM013037-121212Zilog Developer Studio II – Z8 Encore!User Manual9. In the Build Type drop-down list box, select Executable to build

Pagina 147

UM013037-1212 Create a New ProjectZilog Developer Studio II – Z8 Encore!User Manual1311. Accept the defaults by clicking Next. The Target and Debug

Pagina 148

Getting Started UM013037-121214Zilog Developer Studio II – Z8 Encore!User Manual13. Click Next.The Target Memory Configuration step of the New Proje

Pagina 149

UM013037-1212 Add a File to the ProjectZilog Developer Studio II – Z8 Encore!User Manual152. In the Add Files to Project dialog box, use the Look In

Pagina 150

Revision History UM013037-1212ivZilog Developer Studio II – Z8 Encore!User Manual

Pagina 151

Getting Started UM013037-121216Zilog Developer Studio II – Z8 Encore!User ManualTo view any of the files in the Edit window during the quick tour, d

Pagina 152

UM013037-1212 Set Up the ProjectZilog Developer Studio II – Z8 Encore!User Manual17pages grouped together for the C (Compiler) and Linker that allow

Pagina 153

Getting Started UM013037-121218Zilog Developer Studio II – Z8 Encore!User Manual5. Select the Code Generation page.6. Make sure that the Limit Optim

Pagina 154

UM013037-1212 Set Up the ProjectZilog Developer Studio II – Z8 Encore!User Manual197. Select the Advanced page. 8. Make certain that the Generate Pr

Pagina 155

Getting Started UM013037-121220Zilog Developer Studio II – Z8 Encore!User Manual9. Select the Output page.10. Make certain that both the IEEE 695 an

Pagina 156

UM013037-1212 Set Up the ProjectZilog Developer Studio II – Z8 Encore!User Manual21The executable format defaults to IEEE 695 when you create an exe

Pagina 157

Getting Started UM013037-121222Zilog Developer Studio II – Z8 Encore!User ManualWhen the Build completed message is displayed in the Build Output wi

Pagina 158

UM013037-1212 Using the Integrated Development EnvironmentZilog Developer Studio II – Z8 Encore!User Manual23Using the Integrated Development Enviro

Pagina 159

Using the Integrated Development Environment UM013037-121224Zilog Developer Studio II – Z8 Encore!User ManualFor a table of all of the shortcuts use

Pagina 160

UM013037-1212 File ToolbarZilog Developer Studio II – Z8 Encore!User Manual25•Build Toolbar – see page 26•Find Toolbar – see page 30•Command Process

Pagina 161

UM013037-1212 Table of ContentsZilog Developer Studio II – Z8 Encore!User ManualvTable of ContentsRevision History . . . . . . . . . . . . . . . . .

Pagina 162

Using the Integrated Development Environment UM013037-121226Zilog Developer Studio II – Z8 Encore!User ManualOpen ButtonThe Open button opens an exi

Pagina 163

UM013037-1212 Build ToolbarZilog Developer Studio II – Z8 Encore!User Manual27•Compile/Assemble File Button – see page 27•Build Button – see page 27

Pagina 164

Using the Integrated Development Environment UM013037-121228Zilog Developer Studio II – Z8 Encore!User ManualConnect to Target ButtonThe Connect to

Pagina 165

UM013037-1212 Build ToolbarZilog Developer Studio II – Z8 Encore!User Manual296. Configures and executes the debugger options selected in the Debugg

Pagina 166

Using the Integrated Development Environment UM013037-121230Zilog Developer Studio II – Z8 Encore!User Manual3. Configures the device using the sett

Pagina 167

UM013037-1212 Command Processor ToolbarZilog Developer Studio II – Z8 Encore!User Manual31Find FieldTo locate text in the active file, enter the tex

Pagina 168

Using the Integrated Development Environment UM013037-121232Zilog Developer Studio II – Z8 Encore!User ManualBookmarks ToolbarThe Bookmarks toolbar

Pagina 169

UM013037-1212 Debug ToolbarZilog Developer Studio II – Z8 Encore!User Manual33•Verify Download Button – see page 34•Reset Button – see page 34•Stop

Pagina 170

Using the Integrated Development Environment UM013037-121234Zilog Developer Studio II – Z8 Encore!User Manual3. Configures the device using the sett

Pagina 171

UM013037-1212 Debug ToolbarZilog Developer Studio II – Z8 Encore!User Manual353. If files have been modified, ZDS II asks, “Would you like to rebuil

Pagina 172

Table of Contents UM013037-1212viZilog Developer Studio II – Z8 Encore!User ManualMenu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 173

Using the Integrated Development Environment UM013037-121236Zilog Developer Studio II – Z8 Encore!User ManualStep Over ButtonThe Step Over button ex

Pagina 174

UM013037-1212 Debug Windows ToolbarZilog Developer Studio II – Z8 Encore!User Manual37•Special Function Registers Window Button – see page 37•Clock

Pagina 175

Using the Integrated Development Environment UM013037-121238Zilog Developer Studio II – Z8 Encore!User ManualLocals Window ButtonThe Locals Window b

Pagina 176

UM013037-1212 Project Workspace WindowZilog Developer Studio II – Z8 Encore!User Manual39The Project Workspace window provides access to related fun

Pagina 177

Using the Integrated Development Environment UM013037-121240Zilog Developer Studio II – Z8 Encore!User Manualwhich file or folder is highlighted, th

Pagina 178

UM013037-1212 Edit WindowZilog Developer Studio II – Z8 Encore!User Manual41The Edit window supports the shortcuts listed in Table 35.This section c

Pagina 179

Using the Integrated Development Environment UM013037-121242Zilog Developer Studio II – Z8 Encore!User Manual•Pause the debugging (Break)•Step into,

Pagina 180

UM013037-1212 Edit WindowZilog Developer Studio II – Z8 Encore!User Manual43To insert a bookmark, position the cursor on the appropriate line of the

Pagina 181

Using the Integrated Development Environment UM013037-121244Zilog Developer Studio II – Z8 Encore!User Manual•Type Ctrl+F2.To remove all bookmarks i

Pagina 182

UM013037-1212 Output WindowsZilog Developer Studio II – Z8 Encore!User Manual45To dock the Output window with another window, click and hold the win

Pagina 183

UM013037-1212 Table of ContentsZilog Developer Studio II – Z8 Encore!User ManualviiUsing the ANSI C-Compiler. . . . . . . . . . . . . . . . . . . .

Pagina 184

Using the Integrated Development Environment UM013037-121246Zilog Developer Studio II – Z8 Encore!User ManualMessage Output WindowThe Message Output

Pagina 185

UM013037-1212 Menu BarZilog Developer Studio II – Z8 Encore!User Manual47Menu BarThe menu bar lists menu items that you use in the Z8 Encore! develo

Pagina 186

Using the Integrated Development Environment UM013037-121248Zilog Developer Studio II – Z8 Encore!User Manual•Save – see page 55•Save As – see page

Pagina 187

UM013037-1212 File MenuZilog Developer Studio II – Z8 Encore!User Manual49To delete a file from your project, use the Open Project dialog box. Highl

Pagina 188

Using the Integrated Development Environment UM013037-121250Zilog Developer Studio II – Z8 Encore!User Manual3. Use the Look In drop-down list box t

Pagina 189

UM013037-1212 File MenuZilog Developer Studio II – Z8 Encore!User Manual51For static libraries, click Finish.For a Standard project, the New Project

Pagina 190

Using the Integrated Development Environment UM013037-121252Zilog Developer Studio II – Z8 Encore!User Manual12. Select the Use Page Erase Before Fl

Pagina 191

UM013037-1212 File MenuZilog Developer Studio II – Z8 Encore!User Manual5317. Enter the memory ranges appropriate for the target CPU.18. Click Finis

Pagina 192

Using the Integrated Development Environment UM013037-121254Zilog Developer Studio II – Z8 Encore!User Manual2. Use the Look In drop-down list box t

Pagina 193

UM013037-1212 File MenuZilog Developer Studio II – Z8 Encore!User Manual55If the Save/Restore Project Workspace checkbox is selected (see the Option

Pagina 194

Table of Contents UM013037-1212viiiZilog Developer Studio II – Z8 Encore!User ManualCustomizing Start-Up Files . . . . . . . . . . . . . . . . . . .

Pagina 195

Using the Integrated Development Environment UM013037-121256Zilog Developer Studio II – Z8 Encore!User ManualSave AllSelect Save All from the File m

Pagina 196

UM013037-1212 Edit MenuZilog Developer Studio II – Z8 Encore!User Manual573. To print the file, click Print.To cancel the print preview, click Close

Pagina 197

Using the Integrated Development Environment UM013037-121258Zilog Developer Studio II – Z8 Encore!User Manual•Go to Line – see page 61•Manage Breakp

Pagina 198

UM013037-1212 Edit MenuZilog Developer Studio II – Z8 Encore!User Manual59FindTo find text in the active file, use the following procedure:1. Select

Pagina 199

Using the Integrated Development Environment UM013037-121260Zilog Developer Studio II – Z8 Encore!User ManualFind in FilesThis function searches the

Pagina 200

UM013037-1212 Edit MenuZilog Developer Studio II – Z8 Encore!User Manual61ReplaceTo find and replace text in an active file, use the following proce

Pagina 201

Using the Integrated Development Environment UM013037-121262Zilog Developer Studio II – Z8 Encore!User ManualEnter the appropriate line number in th

Pagina 202

UM013037-1212 Edit MenuZilog Developer Studio II – Z8 Encore!User Manual63Disable AllTo make all listed breakpoints inactive, click Disable All. Ind

Pagina 203

Using the Integrated Development Environment UM013037-121264Zilog Developer Studio II – Z8 Encore!User ManualAbbreviationSelect an abbreviation from

Pagina 204

UM013037-1212 View MenuZilog Developer Studio II – Z8 Encore!User Manual65SaveClick the Save button to save the new abbreviation and expansion pair

Pagina 205

UM013037-1212 Table of ContentsZilog Developer Studio II – Z8 Encore!User ManualixOperator Precedence . . . . . . . . . . . . . . . . . . . . . . .

Pagina 206

Using the Integrated Development Environment UM013037-121266Zilog Developer Studio II – Z8 Encore!User Manual•Workspace – see page 66•Output – see p

Pagina 207

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual67The Project menu contains the following options:•Add Files – see page 6

Pagina 208

Using the Integrated Development Environment UM013037-121268Zilog Developer Studio II – Z8 Encore!User ManualSettingsSelect Settings from the Projec

Pagina 209

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual69have changed since the last build. Would you like to rebuild the affect

Pagina 210

Using the Integrated Development Environment UM013037-121270Zilog Developer Studio II – Z8 Encore!User ManualCPUThe CPU drop-down list box defines w

Pagina 211

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual71Information checkbox returns to the setting it had before the Limit Opt

Pagina 212

Using the Integrated Development Environment UM013037-121272Zilog Developer Studio II – Z8 Encore!User ManualIncludesThe Includes field allows you t

Pagina 213

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual73DefinesThe Defines field is equivalent to placing <symbol> EQU &l

Pagina 214

Using the Integrated Development Environment UM013037-121274Zilog Developer Studio II – Z8 Encore!User ManualWhen the target label is external to th

Pagina 215

UM013037-1212 Project MenuZilog Developer Studio II – Z8 Encore!User Manual75When this page is selected, the fundamental options related to code gen

Commenti su questo manuale

Nessun commento