Freescale Semiconductor Microcontrollers Manuale Utente

Navigare online o scaricare Manuale Utente per Software Freescale Semiconductor Microcontrollers. Freescale Semiconductor Microcontrollers User's Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 0
Microcontrollers
Debugger Manual
Revised: 22 October 2007
Vedere la pagina 0
1 2 3 4 5 6 ... 891 892

Sommario

Pagina 1 - Debugger Manual

Microcontrollers Debugger Manual Revised: 22 October 2007

Pagina 2 - How to Contact Us

Table of Contents10Microcontrollers Debugger ManualFrom Within an Existing Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 3

Debugger ComponentsGeneral Debugger Components100Microcontrollers Debugger ManualMemory Context MenuThe Memory Context menu allows you to execute memo

Pagina 4 - 4 Control Points 157

Debugger ComponentsGeneral Debugger Components101Microcontrollers Debugger Manual Drag OutTable 3.22 describes the drag actions possible from the Memo

Pagina 5

Debugger ComponentsGeneral Debugger Components102Microcontrollers Debugger ManualDrop IntoTable 3.23 shows the drop actions possible in the Memory com

Pagina 6 - 6 How To... 199

Debugger ComponentsGeneral Debugger Components103Microcontrollers Debugger Manual The Module component displays all source files (source modules) boun

Pagina 7

Debugger ComponentsGeneral Debugger Components104Microcontrollers Debugger ManualProcedure ComponentThe Procedure window shown in Figure 3.46 displays

Pagina 8

Debugger ComponentsGeneral Debugger Components105Microcontrollers Debugger Manual Drag OutTable 3.26 shows the drag actions possible from the Procedur

Pagina 9 - 16 SofTec HC08 Connection 395

Debugger ComponentsGeneral Debugger Components106Microcontrollers Debugger ManualProfiler ComponentThe Profiler window shown in Figure 3.48 provides i

Pagina 10

Debugger ComponentsGeneral Debugger Components107Microcontrollers Debugger Manual Profiler OperationsClick the fold/unfold icon to unfold/fold the sou

Pagina 11

Debugger ComponentsGeneral Debugger Components108Microcontrollers Debugger ManualSplit View Associated Context MenuFigure 3.52 shows the Profiler cont

Pagina 12

Debugger ComponentsGeneral Debugger Components109Microcontrollers Debugger Manual Output File SaveThe Save As entry opens a Save As dialog box where y

Pagina 13

Table of Contents11Microcontrollers Debugger Manual Connection (HCS08FCS) Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432Pe

Pagina 14 - Connections

Debugger ComponentsGeneral Debugger Components110Microcontrollers Debugger ManualAn animation occurs during recording, replaying and pausing. The curr

Pagina 15

Debugger ComponentsGeneral Debugger Components111Microcontrollers Debugger Manual In Listing 3.2, an .abs file is loaded, a breakpoint is set, the ass

Pagina 16 - Features

Debugger ComponentsGeneral Debugger Components112Microcontrollers Debugger ManualTIP Many more registers and registers information might by provided b

Pagina 17 - Book VII - Commands

Debugger ComponentsGeneral Debugger Components113Microcontrollers Debugger Manual Drag OutTable 3.31 contains the drag actions possible from the Regis

Pagina 18 - Book IX - Debugger Legacy

Debugger ComponentsGeneral Debugger Components114Microcontrollers Debugger ManualDemo Version LimitationsNo limitationAssociated CommandsATTRIBUTES.Ta

Pagina 19 - Supported 869

Debugger ComponentsGeneral Debugger Components115Microcontrollers Debugger Manual Source ComponentThe Source window shown in Figure 3.58 displays the

Pagina 20 - Table of Contents

Debugger ComponentsGeneral Debugger Components116Microcontrollers Debugger Manualto the Control Points chapter. If execution stops, the current positi

Pagina 21 - Introduction

Debugger ComponentsGeneral Debugger Components117Microcontrollers Debugger Manual • Holding down the left mouse button and pressing the T key: Highlig

Pagina 22 - Manual Contents

Debugger ComponentsGeneral Debugger Components118Microcontrollers Debugger ManualSetting Permanent Breakpoints• Point to an instruction in the Source

Pagina 23 - Book I - Debugger Engine

Debugger ComponentsGeneral Debugger Components119Microcontrollers Debugger Manual Figure 3.63 Source Associated Context MenuTable 3.33 Source Associ

Pagina 24 - Book I Contents

Table of Contents12Microcontrollers Debugger ManualMonitor Setup Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 25

Debugger ComponentsGeneral Debugger Components120Microcontrollers Debugger ManualRun To Cursor When selected, sets a temporary breakpoint at the neare

Pagina 26 - Debugger Features

Debugger ComponentsGeneral Debugger Components121Microcontrollers Debugger Manual NOTE If some statements do not show marks although the mark display

Pagina 27

Debugger ComponentsGeneral Debugger Components122Microcontrollers Debugger ManualGo to Line This menu entry is only enabled if a source file is loaded

Pagina 28 - Starting the Debugger

Debugger ComponentsGeneral Debugger Components123Microcontrollers Debugger Manual NOTE If an item (single word or source section) has been selected in

Pagina 29 - Debugger Command Line Start

Debugger ComponentsGeneral Debugger Components124Microcontrollers Debugger ManualDrag OutTable 3.35 shows the drag actions possible from the Source co

Pagina 30 - Command Line Options

Debugger ComponentsGeneral Debugger Components125Microcontrollers Debugger Manual Drop IntoTable 3.36 shows the drop actions possible into the Source

Pagina 31 - Order of Commands

Debugger ComponentsGeneral Debugger Components126Microcontrollers Debugger ManualYou can use a virtual SCI (Serial Communication Interface) port provi

Pagina 32 - Debugger Main Window

Debugger ComponentsGeneral Debugger Components127Microcontrollers Debugger Manual You can simply choose one of the default configurations in the Defau

Pagina 33 - Main Window Menu Bar

Debugger ComponentsGeneral Debugger Components128Microcontrollers Debugger ManualESC is the ESC Character (ASCII code 27 decimal).These commands can b

Pagina 34 - File Menu

Debugger ComponentsGeneral Debugger Components129Microcontrollers Debugger Manual • TERM_APPEND_BOTH: append output to file and window• TERM_APPEND_FI

Pagina 35

Table of Contents13Microcontrollers Debugger Manual DBG Module Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 36 - Configuration Window

Debugger ComponentsGeneral Debugger Components130Microcontrollers Debugger ManualTrace ComponentThe Trace window shown in Figure 3.73 records and disp

Pagina 37 - Command Buttons:

Debugger ComponentsGeneral Debugger Components131Microcontrollers Debugger Manual Figure 3.74 Trace MenuAssociated Context MenuThe Trace context menu

Pagina 38 - Customizing the Toolbar

Debugger ComponentsGeneral Debugger Components132Microcontrollers Debugger ManualFigure 3.75 Trace Associated Context MenuFigure 3.76 Trace Search S

Pagina 39 - Examples of View Menu Options

Debugger ComponentsVisualization Utilities133Microcontrollers Debugger Manual Demo Version LimitationsThe number of frames is limited to 50.Associated

Pagina 40

Debugger ComponentsVisualization Utilities134Microcontrollers Debugger ManualIn the figure above, for example, the Object Pool is expanded. The Object

Pagina 41 - Run Menu

Debugger ComponentsVisualization Utilities135Microcontrollers Debugger Manual Symbol TableThe symbol table shown in Figure 3.80 displays all loaded sy

Pagina 42 - Shift + F11 keys

Debugger ComponentsVisualization Utilities136Microcontrollers Debugger ManualFigure 3.82 Inspector Window Exceptions IconEvents are only used in the

Pagina 43 - Connection Menu

Debugger ComponentsVisualization Utilities137Microcontrollers Debugger Manual IO RegistersThe IO Registers icon shown in Figure 3.84 shows all the IO

Pagina 44 - Loading an Executable File

Debugger ComponentsVisualization Utilities138Microcontrollers Debugger ManualValues can be entered in hexadecimal (with preceding 0x), in decimal, in

Pagina 45 - Load Options Buttons

Debugger ComponentsVisualization Utilities139Microcontrollers Debugger Manual Inspector MenuThe Inspector menu contains entries described in Table 3.4

Pagina 46 - Startup Command File

Table of Contents14Microcontrollers Debugger Manual26 RS08 Open Source BDM Connection 561RS08 Open Source BDM Technical Considerations. . . . . . . .

Pagina 47 - Component Menu

Debugger ComponentsVisualization Utilities140Microcontrollers Debugger ManualDrag OutItems that can be dragged, depends on which icon is selected. Tab

Pagina 48

Debugger ComponentsVisualization Utilities141Microcontrollers Debugger Manual Visualization Tool ComponentThe Visualization Tool component is a very c

Pagina 49

Debugger ComponentsVisualization Utilities142Microcontrollers Debugger ManualInstrument SelectionYou can select a single instrument by left clicking t

Pagina 50 - Window Menu

Debugger ComponentsVisualization Utilities143Microcontrollers Debugger Manual Associated Context MenuThe context menu of the VisualizationTool depends

Pagina 51 - Help Menu

Debugger ComponentsVisualization Utilities144Microcontrollers Debugger ManualPaste Edit mode Adds instruments, which are temporary stored in the clipb

Pagina 52 - Component Associated Menus

Debugger ComponentsVisualization Utilities145Microcontrollers Debugger Manual VisualizationTool PropertiesLike other instruments, the VisualizationToo

Pagina 53 - Component Context Menu

Debugger ComponentsVisualization Utilities146Microcontrollers Debugger ManualInstrumentsWhen you first add an instrument, it is in “move mode”. Place

Pagina 54 - Example:

Debugger ComponentsVisualization Utilities147Microcontrollers Debugger Manual Analog InstrumentThe Analog instrument (Figure 3.89) represents the clas

Pagina 55 - Drag and Drop Combinations

Debugger ComponentsVisualization Utilities148Microcontrollers Debugger Manual Bitmap InstrumentYou can use the Bitmap instrument to give a special loo

Pagina 56

Debugger ComponentsVisualization Utilities149Microcontrollers Debugger Manual flasher is on, while bit 1 says that the brake light is on. So for your

Pagina 57

Table of Contents15Microcontrollers Debugger Manual FCS Visualization Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 58

Debugger ComponentsVisualization Utilities150Microcontrollers Debugger ManualLED InstrumentThe LED instrument is used for observing one definite bit o

Pagina 59 - Selection Dialog Box

Debugger ComponentsVisualization Utilities151Microcontrollers Debugger Manual 7-Segment Display instrument attributes are shown in Table 3.53.Switch

Pagina 60

Debugger ComponentsVisualization Utilities152Microcontrollers Debugger ManualText InstrumentThe Text instrument has several functions: Static Text, Va

Pagina 61

Debugger ComponentsVisualization Utilities153Microcontrollers Debugger Manual Static Text is used for adding descriptions on the workspace. Its attrib

Pagina 62 - Loading Component Windows

Debugger ComponentsVisualization Utilities154Microcontrollers Debugger ManualCommand: Use this instrument mode to specify a command to execute by clic

Pagina 63

Debugger ComponentsVisualization Utilities155Microcontrollers Debugger Manual Drop IntoIn Edit mode, the drag and drop functionality supplies a very e

Pagina 64 - General Debugger Components

Debugger ComponentsVisualization Utilities156Microcontrollers Debugger Manual

Pagina 65 - Assembly Menu

157Microcontrollers Debugger Manual4Control PointsThis chapter provides an overview of the debugger control points: Breakpoints, Watchpoints, and Mark

Pagina 66

Control PointsBreakpoints158Microcontrollers Debugger Manual• Enable/disable a selected control point by checking or unchecking the related checkbox.•

Pagina 67

Control PointsBreakpoints159Microcontrollers Debugger Manual Breakpoints are controlled through the Breakpoints tab of the Controlpoints Configuration

Pagina 68 - Retrieving Source Statement

Table of Contents16Microcontrollers Debugger ManualP&E Multilink/Cyclone Pro Setup Dialog Box. . . . . . . . . . . . . . . . . . . . . .674Connect

Pagina 69 - Command Line Component

Control PointsBreakpoints160Microcontrollers Debugger ManualFigure 4.2 Controlpoints Configuration Window (Breakpoints Tab)Breakpoints TabThe Control

Pagina 70

Control PointsBreakpoints161Microcontrollers Debugger Manual • Update button to Update all modifications in the dialog box.• Add button to add new bre

Pagina 71 - Command Menu

Control PointsBreakpoints162Microcontrollers Debugger ManualSaving BreakpointsThe Debugger provides a way to store all defined breakpoints of the curr

Pagina 72 - Cache Size

Control PointsBreakpoints163Microcontrollers Debugger Manual The codeSize value is an expression. It is usually a constant number to specify (for secu

Pagina 73 - Coverage Component

Control PointsSetting Breakpoints164Microcontrollers Debugger ManualNOTE For more information about this syntax, see BS and SAVEBP commands.Setting Br

Pagina 74 - Coverage Menu

Control PointsSetting Breakpoints165Microcontrollers Debugger Manual Temporary BreakpointsTemporary breakpoints are activated next time the instructio

Pagina 75 - Output File

Control PointsSetting Breakpoints166Microcontrollers Debugger ManualHolding down the left mouse button and pressing the P key: 1. Point at a C state

Pagina 76 - DA-C Link Component

Control PointsSetting Breakpoints167Microcontrollers Debugger Manual 5. Select the breakpoint you want to modify by clicking on the corresponding entr

Pagina 77 - DA-C Link Menu

Control PointsSetting Breakpoints168Microcontrollers Debugger ManualUsing the Source Window Context Menu:1. Point at a C statement in the Source Compo

Pagina 78

Control PointsSetting Breakpoints169Microcontrollers Debugger Manual Choosing Show Breakpoints from Source Context Menu1. Point in the Source Componen

Pagina 79 - Data Component

Table of Contents17Microcontrollers Debugger Manual Advanced Options: Erase Prevention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701NV

Pagina 80 - Expression Editor

Control PointsWatchpoints170Microcontrollers Debugger ManualWatchpointsWatchpoints are control points associated with a memory range. Program executio

Pagina 81 - Data Menu

Control PointsWatchpoints171Microcontrollers Debugger Manual Figure 4.4 Memory Context MenuFigure 4.5 Data Context Menu

Pagina 82 - Scope Submenu

Control PointsWatchpoints172Microcontrollers Debugger ManualFigure 4.6 Controlpoints Configuration Window (Watchpoints Tab) Watchpoints TabThe Watchp

Pagina 83 - Format Submenu

Control PointsWatchpoints173Microcontrollers Debugger Manual NOTE Current and Interval values are limited to 2,147,483,647. A beep occurs and the char

Pagina 84 - Mode Submenu

Control PointsSetting Watchpoints174Microcontrollers Debugger ManualSetting Watchpoints Watchpoints may be set in a Data or Memory window.NOTE Due to

Pagina 85 - Options Submenu

Control PointsSetting Watchpoints175Microcontrollers Debugger Manual Setting a Write WatchpointA red vertical bar is displayed in front of a variable

Pagina 86 - Zoom and Sort Submenus

Control PointsSetting Watchpoints176Microcontrollers Debugger ManualUsing the Left Mouse Button and Pressing the B Key:1. Point at a variable in the D

Pagina 87

Control PointsSetting Watchpoints177Microcontrollers Debugger Manual stops. Current is reloaded with the value stored in the interval field to enable

Pagina 88 - SUBMENU Open Module

Control PointsSetting Watchpoints178Microcontrollers Debugger ManualDeleting a WatchpointThe Debugger provides three ways to delete a watchpoint:Use D

Pagina 89

Control PointsMarkpoints179Microcontrollers Debugger Manual 4. You can enter the command in the Command field. The command is a single debugger comman

Pagina 90 - Memory Component

Table of Contents18Microcontrollers Debugger ManualBook VIII - Environment VariablesBook VIII Contents . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 91 - Memory Address Spaces

Control PointsMarkpoints180Microcontrollers Debugger ManualFigure 4.7 Source Window Context MenuFigure 4.8 Memory Context Menu

Pagina 92 - Memory Operations

Control PointsMarkpoints181Microcontrollers Debugger Manual Figure 4.9 Data Context MenuFigure 4.10 Controlpoints Configuration Window (Markpoints T

Pagina 93 - Memory Menu

Control PointsSetting Markpoints182Microcontrollers Debugger Manual• Markpoint: group box that displays the address of the currently selected markpoin

Pagina 94 - Word Size Submenu

Control PointsSetting Markpoints183Microcontrollers Debugger Manual Setting a Data MarkpointA blue letter L is displayed in front of a variable associ

Pagina 95

Control PointsHalting on a Control Point184Microcontrollers Debugger ManualDeleting a MarkpointTo delete a markpoint:Using the Left Mouse Button and P

Pagina 96 - Display Submenu

185Microcontrollers Debugger Manual5Real Time Kernel AwarenessThe Debugger allows you to load and control applications on the target system, or applic

Pagina 97 - Display Address

Real Time Kernel AwarenessTask Description Language186Microcontrollers Debugger ManualInspecting Task StateEach multitasking operating system stores t

Pagina 98 - Search Pattern

Real Time Kernel AwarenessTask Description Language187Microcontrollers Debugger Manual Assignment = Ident ':=' Expression.ErrorMsg = 'M

Pagina 99 - Update Rate

Real Time Kernel AwarenessApplication Example188Microcontrollers Debugger ManualApplication Example Listing 5.1 shows an example of a OSPARAM.PRM file

Pagina 100 - Memory Context Menu

Real Time Kernel AwarenessInspecting Kernel Data Structures189Microcontrollers Debugger Manual Inspecting Kernel Data Structures To allow the debugger

Pagina 101 - Drag Out

Table of Contents19Microcontrollers Debugger Manual 38 Legacy Target Interfaces Removed 86739 HC(S)08 Full-Chip Simulator Components No Longer Support

Pagina 102 - Module Component

Real Time Kernel AwarenessOSEK Kernel Awareness190Microcontrollers Debugger Manual END PLACEMENT ... OS_DATA INTO RTK_SEC; ...

Pagina 103 - Module Menu

Real Time Kernel AwarenessOSEK Kernel Awareness191Microcontrollers Debugger Manual OSEK Run Time InterfaceThe OSEK Run Time Interface (ORTI) is an int

Pagina 104 - Procedure Component

Real Time Kernel AwarenessOSEK Kernel Awareness192Microcontrollers Debugger Manualcombination with the dynamic data. The dynamic data gives informatio

Pagina 105 - Drop Into

Real Time Kernel AwarenessOSEK Kernel Awareness193Microcontrollers Debugger Manual OSEK RTK Inspector ComponentOSEK awareness is described through the

Pagina 106 - Profiler Component

Real Time Kernel AwarenessOSEK Kernel Awareness194Microcontrollers Debugger ManualThe following sections offer a description of typical objects along

Pagina 107 - Profiler Operations

Real Time Kernel AwarenessOSEK Kernel Awareness195Microcontrollers Debugger Manual Inspector StackThe Stack shown in Figure 5.4 displays the current s

Pagina 108 - Output File Filter

Real Time Kernel AwarenessOSEK Kernel Awareness196Microcontrollers Debugger Manual• Current Value: displays the current value of the system timer.• Ac

Pagina 109 - Recorder Component

Real Time Kernel AwarenessOSEK Kernel Awareness197Microcontrollers Debugger Manual Inspector MessageThe Message shown in Figure 5.7 displays the curre

Pagina 110 - Recorder Menu

Real Time Kernel AwarenessOSEK Kernel Awareness198Microcontrollers Debugger Manual

Pagina 111 - Register Component

199Microcontrollers Debugger Manual6How To...This chapter provides answers to frequently asked questions. Topics include:• How To Configure the Debugg

Pagina 112 - Editing Registers

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. CodeWarrior is a trademark or reg-istered trademark of Freescale Sem

Pagina 113

Table of Contents20Microcontrollers Debugger Manual

Pagina 114

How To...Starting Debugger from CodeWarrior IDE200Microcontrollers Debugger ManualDefining the Default Directory in the MCUTOOLS.INIWhen starting from

Pagina 115 - Source Component

How To...Automating Debugger Startup201Microcontrollers Debugger Manual Automating Debugger StartupOften the same tasks have to be performed after sta

Pagina 116 - On-Line Disassembling

How To...How To Load an Application202Microcontrollers Debugger Manualthis file (for example, CALL INIT.CMD), it automatically executes when the conne

Pagina 117 - Setting Temporary Breakpoints

How To...How to Stop an Application203Microcontrollers Debugger Manual How to Stop an ApplicationThere are two ways to stop program execution:• Choose

Pagina 118 - Source Menus

How To...How to Step in the Application204Microcontrollers Debugger ManualOn the Next Source InstructionThe Debugger provides two ways of stepping to

Pagina 119 - Debugger Components

How To...How to Work on Variables205Microcontrollers Debugger Manual STOPPED (STOP) in the status line indicates that the application is stopped by a

Pagina 120

How To...How to Work on Variables206Microcontrollers Debugger Manual• Double-clickDouble-click a function name in the Procedure component.The Data com

Pagina 121 - Open Source File

How To...How to Work on Variables207Microcontrollers Debugger Manual Change Format for Variable Value DisplayThe Debugger allows you to see the value

Pagina 122 - Find Operations

How To...How to Work on Variables208Microcontrollers Debugger ManualModify a Variable ValueThe Debugger allows you to change the value of a variable,

Pagina 123 - Folding Menu

How To...How to Work on the Register209Microcontrollers Debugger Manual Inspect Memory Starting at a Variable Location AddressThe Debugger provides tw

Pagina 124

21Microcontrollers Debugger ManualIntroduction Manual ContentsThe Microcontrollers Debugger Manual consists of the following books:Book 1: Debugger en

Pagina 125 - Terminal Component

How To...How to Work on the Register210Microcontrollers Debugger ManualModify a Register ContentThe Debugger allows you to change the content of index

Pagina 126

How To...How to Work on the Register211Microcontrollers Debugger Manual Start Memory Dump at Address Where Register is PointingThe Debugger provides t

Pagina 127 - File Control Commands

How To...Modify Content of Memory Address212Microcontrollers Debugger ManualModify Content of Memory AddressThe Debugger allows you to change the cont

Pagina 128

How To...How to View Code213Microcontrollers Debugger Manual How to View CodeThe Debugger allows you to view the code associated with each assembler i

Pagina 129 - How to Use Virtual SCI

How To...How to Communicate with the Application214Microcontrollers Debugger ManualHow to Communicate with the ApplicationThe Debugger has a pseudo-te

Pagina 130 - Trace Component

215Microcontrollers Debugger Manual7CodeWarrior IDE IntegrationThis chapter provides information on how to use and configure the Simulator/Debugger wi

Pagina 131 - Associated Context Menu

CodeWarrior IDE IntegrationDebugger Configuration216Microcontrollers Debugger ManualFigure 7.1 IDE Target Window - Build Extras Panel

Pagina 132

217Microcontrollers Debugger Manual8Debugger DDE CapabilitiesIntroductionThe DDE is a form of interprocess communication that uses shared memory to ex

Pagina 133 - Visualization Utilities

Debugger DDE Capabilities218Microcontrollers Debugger Manual3. Push the Connect button of the DDEClient. The following message appears in DDECLient: C

Pagina 134 - Stack Icon

219Microcontrollers Debugger Manual9Synchronized Debugging Through DA-C IDEThis chapter provides information on how to use and configure Freescale too

Pagina 135 - Exceptions Icon

Manual Contents22Microcontrollers Debugger Manual• HCS08 On-Chip DBG ModuleBook 4: RS08 Debug Connections• RS08 Full Chip Simulation• RS08 P&E Mul

Pagina 136 - Object Pool

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit220Microcontrollers Debugger Manualcurrent installation. An example

Pagina 137 - Inspector Operations

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit221Microcontrollers Debugger Manual Referential Project Root Directo

Pagina 138

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit222Microcontrollers Debugger ManualConfigure Library PathAn addition

Pagina 139 - Inspector Menu

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit223Microcontrollers Debugger Manual Preprocessor - Header Directorie

Pagina 140

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit224Microcontrollers Debugger ManualAdding Files to ProjectIn the Pro

Pagina 141 - Visualization Tool Component

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit225Microcontrollers Debugger Manual Building The DatabaseDevelopment

Pagina 142 - VisualizationTool Menu

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit226Microcontrollers Debugger ManualFigure 9.6 Logical View TabDoubl

Pagina 143

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit227Microcontrollers Debugger Manual Compiler ConfigurationIn Menu &q

Pagina 144

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit228Microcontrollers Debugger ManualClick on OK to validate these set

Pagina 145 - VisualizationTool Properties

Synchronized Debugging Through DA-C IDEConfiguring DA-C IDE for Freescale Tool Kit229Microcontrollers Debugger Manual Maker ConfigurationIn the same w

Pagina 146 - Instruments

23Microcontrollers Debugger ManualBook I - Debugger EngineBook I ContentsEach section of the Debugger manual includes information to help you become m

Pagina 147 - Bar Instrument

Synchronized Debugging Through DA-C IDEDebugger Interface230Microcontrollers Debugger ManualDebugger InterfaceDA-C v3.5 currently integrates a DAPI in

Pagina 148 - Bitmap Instrument

Synchronized Debugging Through DA-C IDEDebugger Interface231Microcontrollers Debugger Manual Figure 9.10 Communication between DA-C IDE and DebuggerC

Pagina 149 - Knob Instrument

Synchronized Debugging Through DA-C IDEDebugger Interface232Microcontrollers Debugger ManualFigure 9.11 DA-C Debugger Options Dialog BoxIn the Debugg

Pagina 150 - 7-Segment Display Instrument

Synchronized Debugging Through DA-C IDESynchronized Debugging233Microcontrollers Debugger Manual Figure 9.13 DA-C Component OpeningThe Debugger DAC w

Pagina 151 - Switch Instrument

Synchronized Debugging Through DA-C IDETroubleshooting234Microcontrollers Debugger ManualFigure 9.15 DA-C toolbarNOTE If changes are made to your sou

Pagina 152 - Text Instrument

Synchronized Debugging Through DA-C IDETroubleshooting235Microcontrollers Debugger Manual Open the setup dialog box in the Debugger by clicking on the

Pagina 153

Synchronized Debugging Through DA-C IDETroubleshooting236Microcontrollers Debugger Manual

Pagina 154

237Microcontrollers Debugger ManualBook II - HC08 Debug ConnectionsBook II ContentsEach section of the Debugger manual includes information to help yo

Pagina 155

Book II Contents238Microcontrollers Debugger Manual

Pagina 156

239Microcontrollers Debugger Manual10Microcontroller Debugging First StepsSince the initial steps for creating a project are similar, the following in

Pagina 157 - Control Points

Book I Contents24Microcontrollers Debugger Manual

Pagina 158 - Breakpoints

Microcontroller Debugging First StepsTechnical Considerations240Microcontrollers Debugger Manualhas a totally different simulation engine to accuratel

Pagina 159

Microcontroller Debugging First StepsDebugging First Steps Using the Wizard241Microcontrollers Debugger Manual Refer to the inDART®-HC08 In-Circuit De

Pagina 160 - Breakpoints Tab

Microcontroller Debugging First StepsDebugging First Steps Using the Wizard242Microcontrollers Debugger ManualFigure 10.2 Project Parameters Screen

Pagina 161 - Checking Expressions

Microcontroller Debugging First StepsDebugging First Steps Using the Wizard243Microcontrollers Debugger Manual 6. Choose the languages to be supported

Pagina 162 - Saving Breakpoints

Microcontroller Debugging First StepsDebugging First Steps Using the Wizard244Microcontrollers Debugger ManualFigure 10.4 Processor Expert Screen11.

Pagina 163

Microcontroller Debugging First StepsDebugging First Steps Using the Wizard245Microcontrollers Debugger Manual 13. Depending on CPU derivative selecte

Pagina 164 - Setting Breakpoints

Microcontroller Debugging First StepsSwitching Connections246Microcontrollers Debugger Manual17. In the IDE main window toolbar Project menu, choose P

Pagina 165 - Permanent Breakpoints

Microcontroller Debugging First StepsSwitching Connections247Microcontrollers Debugger Manual 1. From the Debugger main menu, select Component | Set C

Pagina 166 - Counting Breakpoints

Microcontroller Debugging First StepsSwitching Connections248Microcontrollers Debugger Manual3. Press the OK button. The Debugger main menu entry bar

Pagina 167 - Conditional Breakpoints

Microcontroller Debugging First StepsSwitching Connections249Microcontrollers Debugger Manual The Set Connection dialog box now appears.Figure 10.12

Pagina 168 - Deleting Breakpoints

25Microcontrollers Debugger Manual1IntroductionThis section is an introduction to the Debugger from Freescale used in 8/16 bit embedded applications.F

Pagina 169

Microcontroller Debugging First StepsSwitching Connections250Microcontrollers Debugger ManualThe menu selection MultilinkCyclonePro > Connect takes

Pagina 170 - Watchpoints

Microcontroller Debugging First StepsSwitching Connections251Microcontrollers Debugger Manual Loading the HC(S)08 or RS08 Open Source BDM ConnectionTo

Pagina 171

Microcontroller Debugging First StepsSwitching Connections252Microcontrollers Debugger Manual3. Press the OK button. The Debugger main menu entry bar

Pagina 172 - Watchpoints Tab

253Microcontrollers Debugger Manual11HC08 Full Chip SimulationFull Chip Simulation (FCS) connection runs a complete simulation of all processor periph

Pagina 173 - Checking Syntax

HC08 Full Chip SimulationConfiguration Procedure254Microcontrollers Debugger ManualFigure 11.2 Connection (HCS08FCS) List Menu

Pagina 174 - Setting Watchpoints

HC08 Full Chip SimulationConfiguration Procedure255Microcontrollers Debugger Manual Select Device OptionThe Device option on the HC08FCS menu allows y

Pagina 175 - Setting a Write Watchpoint

HC08 Full Chip SimulationConfiguration Procedure256Microcontrollers Debugger ManualThis command is extremely useful for verifying specific timings of

Pagina 176 - Using the Data Context Menu:

HC08 Full Chip SimulationConfiguration Procedure257Microcontrollers Debugger Manual viewed and their values modified, and the values can be stored bac

Pagina 177

HC08 Full Chip SimulationConfiguration Procedure258Microcontrollers Debugger ManualADC Module OptionIn Full Chip Simulation Mode (FCS), this option le

Pagina 178 - Deleting a Watchpoint

HC08 Full Chip SimulationConfiguration Procedure259Microcontrollers Debugger Manual For more information on ADC configuration, refer to the Freescale

Pagina 179 - Markpoints

IntroductionDebugger Features26Microcontrollers Debugger ManualDebugger Features• True 32-bit application• Powerful features for embedded debugging• S

Pagina 180

HC08 Full Chip SimulationConfiguration Procedure260Microcontrollers Debugger ManualExample>ADCLRClear the input buffer for ADC simulation.Clock Gen

Pagina 181 - Markpoints Tab

HC08 Full Chip SimulationConfiguration Procedure261Microcontrollers Debugger Manual Figure 11.11 Frequency DisplayOnce the CGM is properly configured

Pagina 182 - Setting Markpoints

HC08 Full Chip SimulationConfiguration Procedure262Microcontrollers Debugger ManualCertain peripherals that run directly from the XTAL run at differen

Pagina 183 - Setting a Memory Markpoint

HC08 Full Chip SimulationConfiguration Procedure263Microcontrollers Debugger Manual Figure 11.13 Memory Component WindowIf you enable the Shutdown pi

Pagina 184 - Halting on a Control Point

HC08 Full Chip SimulationConfiguration Procedure264Microcontrollers Debugger ManualCYCLES CommandThe CYCLES command changes the value of the cycles co

Pagina 185 - Awareness

HC08 Full Chip SimulationConfiguration Procedure265Microcontrollers Debugger Manual SHTDWN CommandWhen you enable the Shutdown pin in the High Resolut

Pagina 186 - Task Description Language

HC08 Full Chip SimulationConfiguration Procedure266Microcontrollers Debugger ManualFigure 11.15 Simulated Port Inputs Dialog BoxUsing the Simulated P

Pagina 187 - Real Time Kernel Awareness

HC08 Full Chip SimulationConfiguration Procedure267Microcontrollers Debugger Manual INPUT<x> CommandThe INPUT<x> command sets the simulate

Pagina 188 - Application Example

HC08 Full Chip SimulationConfiguration Procedure268Microcontrollers Debugger ManualExample>INPUTSShow I/O port input values. External Interrupt Mod

Pagina 189

HC08 Full Chip SimulationConfiguration Procedure269Microcontrollers Debugger Manual INPUTS CommandIn Full Chip Simulation and CPU-Only Simulation mode

Pagina 190 - OSEK Kernel Awareness

27Microcontrollers Debugger Manual2Debugger InterfaceThis chapter describes the Debugger Graphical User Interface (GUI). Topics include:• Introduction

Pagina 191 - ORTI File and Filename

HC08 Full Chip SimulationConfiguration Procedure270Microcontrollers Debugger Manualthe INPUTS command to bring up the Simulated Port Inputs for all ge

Pagina 192 - ORTI File Structure

HC08 Full Chip SimulationConfiguration Procedure271Microcontrollers Debugger Manual INPUT<x> CommandThe INPUT<x> command sets the simulate

Pagina 193 - OSEK RTK Inspector Component

HC08 Full Chip SimulationConfiguration Procedure272Microcontrollers Debugger ManualExample>INPUTSShow I/O port input values.Multi-Master Inter-Inte

Pagina 194 - Inspector Task

HC08 Full Chip SimulationConfiguration Procedure273Microcontrollers Debugger Manual The MMIIC data input/output log buffer simulation allows the user

Pagina 195 - Inspector SystemTimer

HC08 Full Chip SimulationConfiguration Procedure274Microcontrollers Debugger ManualMulti-Master Inter-Integrated Circuit Module CommandsThe following

Pagina 196 - Inspector Alarm

HC08 Full Chip SimulationConfiguration Procedure275Microcontrollers Debugger Manual The next two data bytes read are 22 and 23. If the microprocessor

Pagina 197 - Inspector Message

HC08 Full Chip SimulationConfiguration Procedure276Microcontrollers Debugger ManualIICDOThe IICDO command displays a window, which shows data shifted

Pagina 198

HC08 Full Chip SimulationConfiguration Procedure277Microcontrollers Debugger Manual FCSMSCAN08 Background and Assembly ExampleThe MSCAN08 peripheral i

Pagina 199 - How To

HC08 Full Chip SimulationConfiguration Procedure278Microcontrollers Debugger ManualRomStart equ $8000 ; start of Flash1 for AZ6

Pagina 200 - MCUTOOLS.INI

HC08 Full Chip SimulationConfiguration Procedure279Microcontrollers Debugger Manual db $02 ; Message 3 Length db $55

Pagina 201 - Automating Debugger Startup

Debugger InterfaceStarting the Debugger28Microcontrollers Debugger ManualThe following list is an overview of files that the CodeWarrior IDE uses for

Pagina 202 - How to Start an Application

HC08 Full Chip SimulationConfiguration Procedure280Microcontrollers Debugger Manual lda 1,x ; get next byte in message address

Pagina 203 - How to Stop an Application

HC08 Full Chip SimulationConfiguration Procedure281Microcontrollers Debugger Manual lda 7,x ; get the message data sta

Pagina 204 - Step Out from a Function Call

HC08 Full Chip SimulationConfiguration Procedure282Microcontrollers Debugger Manual and #$7F lsla sta CT1IDR2 lda 3,x

Pagina 205 - How to Work on Variables

HC08 Full Chip SimulationConfiguration Procedure283Microcontrollers Debugger Manual lda 1,x ; get next byte in message address

Pagina 206 - Using Context Menu

HC08 Full Chip SimulationConfiguration Procedure284Microcontrollers Debugger Manual* after a RESET. ****

Pagina 207

HC08 Full Chip SimulationConfiguration Procedure285Microcontrollers Debugger Manual sta CRFLG ; reset receive flag rti****

Pagina 208 - Allocated

HC08 Full Chip SimulationConfiguration Procedure286Microcontrollers Debugger Manualwhich give the addresses of peripheral registers on the microcontro

Pagina 209 - How to Work on the Register

HC08 Full Chip SimulationConfiguration Procedure287Microcontrollers Debugger Manual Figure 11.26 CAN IN DisplayInput packets can be added by double-c

Pagina 210 - Modify a Register Content

HC08 Full Chip SimulationConfiguration Procedure288Microcontrollers Debugger ManualFigure 11.28 CAN Example Input PacketOnce the DATA packet informat

Pagina 211 - Register is Pointing

HC08 Full Chip SimulationConfiguration Procedure289Microcontrollers Debugger Manual key to break the execution. Now type the CANOUT command. Figure 11

Pagina 212 - Using Drag and Drop

Debugger InterfaceStarting the Debugger29Microcontrollers Debugger Manual Starting Debug from the Main Window Menu BarYou can also start the debugger

Pagina 213 - How to View Code

HC08 Full Chip SimulationConfiguration Procedure290Microcontrollers Debugger ManualFCSMSCAN CommandsYou can use the following FCSMSCAN commands with t

Pagina 214

HC08 Full Chip SimulationConfiguration Procedure291Microcontrollers Debugger Manual Where <n> is the value to be entered into the next location

Pagina 215 - CodeWarrior IDE Integration

HC08 Full Chip SimulationConfiguration Procedure292Microcontrollers Debugger ManualFigure 11.34 Memory Component WindowIf the PIT interrupt is enable

Pagina 216

HC08 Full Chip SimulationConfiguration Procedure293Microcontrollers Debugger Manual Figure 11.35 SCI IN Buffer DisplaySCI Data Output Buffer simulati

Pagina 217 - Debugger DDE Capabilities

HC08 Full Chip SimulationConfiguration Procedure294Microcontrollers Debugger ManualThe user can also observe different SCI flags in the Memory window.

Pagina 218

HC08 Full Chip SimulationConfiguration Procedure295Microcontrollers Debugger Manual Syntax>SCDI [<n>]Where:<n> The value to be entered

Pagina 219 - Through DA-C IDE

HC08 Full Chip SimulationConfiguration Procedure296Microcontrollers Debugger ManualFigure 11.39 SCI OUT Buffer DisplayFCS Slave LIN Interface Control

Pagina 220 - Create New Project

HC08 Full Chip SimulationConfiguration Procedure297Microcontrollers Debugger Manual Figure 11.40 SLIC IN Buffer DisplayFigure 11.41 SLIC Input Data

Pagina 221 - Configure File Types

HC08 Full Chip SimulationConfiguration Procedure298Microcontrollers Debugger ManualAfter the simulated SLIC input is received, the first queued-in pac

Pagina 222 - Configure Library Path

HC08 Full Chip SimulationConfiguration Procedure299Microcontrollers Debugger Manual Example>SLCCLRClear input and output buffer for SLC simulationS

Pagina 223

3Microcontrollers Debugger ManualTable of ContentsIntroductionManual Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 224 - Adding Files to Project

Debugger InterfaceStarting the Debugger30Microcontrollers Debugger ManualCommand Line OptionsDOS command line options are:-T=<time>: Test mode T

Pagina 225 - Building The Database

HC08 Full Chip SimulationConfiguration Procedure300Microcontrollers Debugger ManualSLCOUT CommandThe SLCOUT command displays the output buffer from th

Pagina 226 - Configuring The Tools

HC08 Full Chip SimulationConfiguration Procedure301Microcontrollers Debugger Manual Figure 11.46 SPI IN Buffer DisplaySPI data output buffer simulati

Pagina 227 - Compiler Configuration

HC08 Full Chip SimulationConfiguration Procedure302Microcontrollers Debugger Manualinterrupts are enabled, the FCS jumps to an appropriate subroutine

Pagina 228 - Linker Configuration

HC08 Full Chip SimulationConfiguration Procedure303Microcontrollers Debugger Manual Syntax>SPDI [<n>]Where:<n> The value to be entered

Pagina 229 - Maker Configuration

HC08 Full Chip SimulationConfiguration Procedure304Microcontrollers Debugger ManualFigure 11.50 SPI OUT Buffer DisplaySPFREQ CommandThe SPFREQ comman

Pagina 230 - Debugger Interface

HC08 Full Chip SimulationConfiguration Procedure305Microcontrollers Debugger Manual • Flag polling• Interrupt enabled mode of operation.FCS mode uses

Pagina 231

HC08 Full Chip SimulationConfiguration Procedure306Microcontrollers Debugger ManualIf the Timer module is configured for an Output Compare event, once

Pagina 232

HC08 Full Chip SimulationConfiguration Procedure307Microcontrollers Debugger Manual FCS Timer Interface Module CommandsThe following FCS timer interfa

Pagina 233

HC08 Full Chip SimulationConfiguration Procedure308Microcontrollers Debugger ManualINPUT<x> CommandThe INPUT<x> command sets the simulated

Pagina 234 - Troubleshooting

HC08 Full Chip SimulationConfiguration Procedure309Microcontrollers Debugger Manual Syntax>INPUTSExample>INPUTSShow I/O port input values.FCS Un

Pagina 235

Debugger InterfaceStarting the Debugger31Microcontrollers Debugger Manual -Nodefaults This prevents the debugger from loading the default layout. For

Pagina 236

HC08 Full Chip SimulationConfiguration Procedure310Microcontrollers Debugger Manual; (C)opyright P&E Microcomputer Systems, 2005;; You may use thi

Pagina 237 - Book II - HC08 Debug

HC08 Full Chip SimulationConfiguration Procedure311Microcontrollers Debugger Manual * The following descriptors give the information to the PC what ty

Pagina 238 - Book II Contents

HC08 Full Chip SimulationConfiguration Procedure312Microcontrollers Debugger Manual db $03 ; Class Code (HID) db $00

Pagina 239 - First Steps

HC08 Full Chip SimulationConfiguration Procedure313Microcontrollers Debugger Manual db $26,$FF,$00 ; Logical Maximum ($FF) db

Pagina 240 - Technical Considerations

HC08 Full Chip SimulationConfiguration Procedure314Microcontrollers Debugger Manual ldhx #0 ; clear H:X pointer lda wVa

Pagina 241

HC08 Full Chip SimulationConfiguration Procedure315Microcontrollers Debugger Manual cpx #8 ; all descriptors more than 8 byte

Pagina 242

HC08 Full Chip SimulationConfiguration Procedure316Microcontrollers Debugger Manual ldhx #8SAVE_SETUP: lda {UE0D0-1},x ; save da

Pagina 243

HC08 Full Chip SimulationConfiguration Procedure317Microcontrollers Debugger Manual sthx buffptr ; save index to data buffer

Pagina 244

HC08 Full Chip SimulationConfiguration Procedure318Microcontrollers Debugger Manual cli ; Allow interrupts to happenmain_lo

Pagina 245

HC08 Full Chip SimulationConfiguration Procedure319Microcontrollers Debugger Manual rti********************************************************

Pagina 246 - Switching Connections

Debugger InterfaceDebugger Main Window32Microcontrollers Debugger ManualNOTE The function Open in the File menu interprets any file without an .ini ex

Pagina 247

HC08 Full Chip SimulationConfiguration Procedure320Microcontrollers Debugger Manual* Vectors - Specifying Reset and USB Interrupt Routines ********

Pagina 248 - Connection

HC08 Full Chip SimulationConfiguration Procedure321Microcontrollers Debugger Manual In the FLASH, the descriptor tables are created, which describe th

Pagina 249

HC08 Full Chip SimulationConfiguration Procedure322Microcontrollers Debugger ManualNow we can use the USBIN command to specify USB packets that come a

Pagina 250

HC08 Full Chip SimulationConfiguration Procedure323Microcontrollers Debugger Manual To replicate this stage in the simulator, enter the SETUP packet a

Pagina 251 - BDM Connection

HC08 Full Chip SimulationConfiguration Procedure324Microcontrollers Debugger ManualFigure 11.57 USB Packet Exchange Diagram

Pagina 252

HC08 Full Chip SimulationConfiguration Procedure325Microcontrollers Debugger Manual Figure 11.58 USB Packet Setup FullFigure 11.59 USB IN Data Buffe

Pagina 253 - HC08 Full Chip Simulation

HC08 Full Chip SimulationConfiguration Procedure326Microcontrollers Debugger ManualFigure 11.62 USB OUT BufferNotice in Figure 11.63 the DATA0 packet

Pagina 254

HC08 Full Chip SimulationConfiguration Procedure327Microcontrollers Debugger Manual Figure 11.64 USB IN BufferFigure 11.65 USBOUT BufferNow that we

Pagina 255 - Select Device Option

HC08 Full Chip SimulationConfiguration Procedure328Microcontrollers Debugger ManualFigure 11.66 Set Address Packet ExchangeUSB CommandsThe following

Pagina 256 - View Register Files Option

HC08 Full Chip SimulationConfiguration Procedure329Microcontrollers Debugger Manual USBIN CommandThe USBIN command allows the user to create packets f

Pagina 257 - Peripheral Modules Options

Debugger InterfaceDebugger Main Window33Microcontrollers Debugger Manual Debugger Main Window ToolbarThe Debugger Main Window toolbar is the default t

Pagina 258 - ADC Module Option

HC08 Full Chip SimulationConfiguration Procedure330Microcontrollers Debugger ManualFigure 11.67 USB IN Buffer DisplayUSBOUT CommandThe USBOUT command

Pagina 259 - ADC User Commands

HC08 Full Chip SimulationConfiguration Procedure331Microcontrollers Debugger Manual USBRESET CommandThe USB RESET command simulates a USB reset from t

Pagina 260

HC08 Full Chip SimulationConfiguration Procedure332Microcontrollers Debugger Manual

Pagina 261 - CGM Commands

333Microcontrollers Debugger Manual12MON08 Interface ConnectionThe MON08 connection setting permits a connection to Class 1-4 devices. Refer to the de

Pagina 262 - High-Resolution PWM Module

MON08 Interface ConnectionConnection Procedure334Microcontrollers Debugger ManualFigure 12.2 P&E Connection Manager Window - Connect to Target T

Pagina 263 - High-Resolution PWM Commands

MON08 Interface ConnectionConnection Procedure335Microcontrollers Debugger Manual 4. Define the proper communication port and baud rate setting in the

Pagina 264 - GOTOCYCLE Command

MON08 Interface ConnectionConnection Procedure336Microcontrollers Debugger Manualfor a short time after the supply has been switched off, but the supp

Pagina 265 - SHTDWN Command

MON08 Interface ConnectionConnection Procedure337Microcontrollers Debugger Manual Power Up and Power Down Radio ButtonsThis is the default option and

Pagina 266 - Input/Output Ports Commands

MON08 Interface ConnectionConnection Procedure338Microcontrollers Debugger ManualTurn Target Power Off and Leave Target Power On Radio ButtonsThis opt

Pagina 267 - INPUTS Command

MON08 Interface ConnectionConnection Procedure339Microcontrollers Debugger Manual Figure 12.8 P&E Connection Manager Window - MON08 16-Pin Header

Pagina 268 - External Interrupt Module

Debugger InterfaceDebugger Main Window34Microcontrollers Debugger Manual File MenuThe File menu shown in Figure 2.7 is dedicated to the debugger proje

Pagina 269 - Keyboard Interrupt Module

MON08 Interface ConnectionConnection Procedure340Microcontrollers Debugger ManualSTATUS AreaThe status area of the MON08 16-Pin Header Signals tab con

Pagina 270 - Keyboard Interrupt Commands

MON08 Interface ConnectionConnection Procedure341Microcontrollers Debugger Manual – The part did not start the monitor mode security check on reset. S

Pagina 271

MON08 Interface ConnectionConnection Procedure342Microcontrollers Debugger Manual• 6 – ROM is accessible (un-secured): If the device properly entered

Pagina 272

MON08 Interface ConnectionConnection Procedure343Microcontrollers Debugger Manual Advanced Programming/Debug OptionsThe Advanced Programming/Debug Opt

Pagina 273

MON08 Interface ConnectionConnection Procedure344Microcontrollers Debugger ManualNOTE The Non-Volatile Memory Preservation and Custom Trim functionali

Pagina 274 - Commands

MON08 Interface ConnectionConnection Procedure345Microcontrollers Debugger Manual View Register Files OptionThe View Register Files menu option also g

Pagina 275

MON08 Interface ConnectionDevice Class Description346Microcontrollers Debugger ManualDevice Class DescriptionThe following device information summariz

Pagina 276 - FCSMSCAN Controller Module

MON08 Interface ConnectionDevice Class Description347Microcontrollers Debugger Manual mode check and access the Flash on the processor. A simple reset

Pagina 277 - FCSDemo CAN Program

MON08 Interface ConnectionDevice Class Description348Microcontrollers Debugger Manual

Pagina 278

349Microcontrollers Debugger Manual13ICS MON08 Interface ConnectionICS ModeIn-Circuit Simulation (ICS) Mode is a P&E Microcomputer Systems mode of

Pagina 279

Debugger InterfaceDebugger Main Window35Microcontrollers Debugger Manual Table 2.2 describes File Menu entries. You can shortcut some of these functio

Pagina 280

ICS MON08 Interface ConnectionConnection Procedure350Microcontrollers Debugger ManualConnection ProcedureTo select the ICS MON08 Interface connection:

Pagina 281

ICS MON08 Interface ConnectionConnection Procedure351Microcontrollers Debugger Manual 3. Access the Interface Selection Manager assistant by clicking

Pagina 282

ICS MON08 Interface ConnectionConnection Procedure352Microcontrollers Debugger ManualAdvanced Settings TabThe P&E Connection Manager window’s Adva

Pagina 283

ICS MON08 Interface ConnectionConnection Procedure353Microcontrollers Debugger Manual Target Has RESET Button In Class III boards, the software occasi

Pagina 284

ICS MON08 Interface ConnectionConnection Procedure354Microcontrollers Debugger ManualFigure 13.5 Power Down Dialog Box3. Software automatically power

Pagina 285

ICS MON08 Interface ConnectionConnection Procedure355Microcontrollers Debugger Manual Serial Port Stop BitsSerial Port Stop Bits allow users of Class

Pagina 286

ICS MON08 Interface ConnectionConnection Procedure356Microcontrollers Debugger ManualThis status indicates whether or not the first echoed character f

Pagina 287

ICS MON08 Interface ConnectionConnection Procedure357Microcontrollers Debugger Manual check was successfully passed. If a break character is not recei

Pagina 288

ICS MON08 Interface ConnectionConnection Procedure358Microcontrollers Debugger ManualActive Mode Connection Menu OptionsWhen the microprocessor is con

Pagina 289

ICS MON08 Interface ConnectionConnection Procedure359Microcontrollers Debugger Manual Prompt on Flash Program CheckboxChecking Always Erase and Progra

Pagina 290 - FCSMSCAN Commands

Debugger InterfaceDebugger Main Window36Microcontrollers Debugger ManualConfiguration WindowOpen the Configuration window by selecting Configuration f

Pagina 291 - CANOUT Command

ICS MON08 Interface ConnectionConnection Procedure360Microcontrollers Debugger ManualFigure 13.10 PROG08SZ Programmer WindowView Register Files Optio

Pagina 292

ICS MON08 Interface ConnectionDevice Class Description361Microcontrollers Debugger Manual Figure 13.12 Timer Interface Module Register ListingSelecti

Pagina 293

ICS MON08 Interface ConnectionDevice Class Description362Microcontrollers Debugger ManualClass 2 DeviceICS Board without processor, connected to the u

Pagina 294 - FCSSCI Commands

ICS MON08 Interface ConnectionDevice Class Description363Microcontrollers Debugger Manual Figure 13.14 Reset ConnectionIn this configuration, because

Pagina 295 - SCDO Command

ICS MON08 Interface ConnectionDevice Class Description364Microcontrollers Debugger Manual

Pagina 296

365Microcontrollers Debugger Manual14HC08 P&E Multilink/Cyclone Pro ConnectionThe HC08 P&E Multilink/Cyclone Pro Connection setting permits a

Pagina 297

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure366Microcontrollers Debugger ManualFigure 14.2 P&E Connection Manager Window - C

Pagina 298 - FCSSLIC Commands

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure367Microcontrollers Debugger Manual 7. To add a serial/parallel port P&E device s

Pagina 299 - SLCDI Command

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure368Microcontrollers Debugger ManualAdvanced Settings TabThe Advanced Settings tab of

Pagina 300 - SLCOUT Command

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure369Microcontrollers Debugger Manual Target Has RESET Button CheckboxWith Class III bo

Pagina 301

Debugger InterfaceDebugger Main Window37Microcontrollers Debugger Manual Command Buttons:• OK: Changes are confirmed and saved in current project file

Pagina 302 - FCSSPI Commands

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure370Microcontrollers Debugger Manual3. Software automatically powers up the ICS, which

Pagina 303 - SPDO Command

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure371Microcontrollers Debugger Manual Pulse IRQ on StopThe IRQ on Stop allows the users

Pagina 304 - FCSTimer Interface Module

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure372Microcontrollers Debugger Manualmonitor mode communications regardless of the secu

Pagina 305

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure373Microcontrollers Debugger Manual – No Power to the ICS.If this status bit returns

Pagina 306

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure374Microcontrollers Debugger Manual– The processor did not power all the way down bec

Pagina 307

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure375Microcontrollers Debugger Manual Figure 14.13 HC08 Device Extended MenusConnect O

Pagina 308

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure376Microcontrollers Debugger ManualAdvanced Programming/Debug OptionsThe Advanced Pro

Pagina 309

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure377Microcontrollers Debugger Manual NOTE The Non-Volatile Memory Preservation and Cus

Pagina 310

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure378Microcontrollers Debugger ManualView Register Files OptionThe View Register Files

Pagina 311

HC08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure379Microcontrollers Debugger Manual Debugging LimitationsThe following limitations ar

Pagina 312

Debugger InterfaceDebugger Main Window38Microcontrollers Debugger ManualView MenuIn the Main Window View menu (Figure 2.10) you can choose to show or

Pagina 313

HC08 P&E Multilink/Cyclone Pro ConnectionDevice Class Description380Microcontrollers Debugger ManualDevice Class DescriptionThe following device i

Pagina 314

381Microcontrollers Debugger Manual15HC08 ICS P&E Multilink/Cyclone Pro ConnectionsIn-Circuit Simulation (ICS) Mode is a P&E Microcomputer Sys

Pagina 315

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure382Microcontrollers Debugger ManualConnection Procedure1. Choose the ICS P&E

Pagina 316

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure383Microcontrollers Debugger Manual 3. The device power selection in the Power/C

Pagina 317

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure384Microcontrollers Debugger ManualFigure 15.5 Remove A Manually Configured Mul

Pagina 318

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure385Microcontrollers Debugger Manual Tpu and Tpd Timing TextboxesTpu and Tpd set

Pagina 319

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure386Microcontrollers Debugger ManualPower Up/Down Radio ButtonsPower Down ICS pro

Pagina 320

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure387Microcontrollers Debugger Manual Cycle Power Up/Down Radio ButtonsCycle Power

Pagina 321

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure388Microcontrollers Debugger Manual‘N’, which indicates that the character was n

Pagina 322

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure389Microcontrollers Debugger Manual check was successfully passed. If a break ch

Pagina 323

Debugger InterfaceDebugger Main Window39Microcontrollers Debugger Manual Figure 2.11 Customize Toolbar Dialog Box• Select the desired shortcut button

Pagina 324

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure390Microcontrollers Debugger ManualActive Mode Menu OptionsWhen the microprocess

Pagina 325

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure391Microcontrollers Debugger Manual Prompt on Flash Program CheckboxChecking Alw

Pagina 326

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsConnection Procedure392Microcontrollers Debugger ManualFigure 15.12 PROG08SZ Programmer WindowView

Pagina 327

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsDevice Class Description393Microcontrollers Debugger Manual Figure 15.14 Timer Interface Module Reg

Pagina 328 - USB Commands

HC08 ICS P&E Multilink/Cyclone Pro ConnectionsDevice Class Description394Microcontrollers Debugger ManualClass 8 DeviceP&E’s Cyclone Pro commu

Pagina 329 - USBIN Command

395Microcontrollers Debugger Manual16SofTec HC08 ConnectionThis section guides you through the first steps toward debugging with the CodeWarrior IDE a

Pagina 330 - USBOUT Command

SofTec HC08 ConnectionUsing the Stationery Wizard396Microcontrollers Debugger ManualUsing the Stationery WizardTo take the first steps toward debuggin

Pagina 331 - USBRESET Command

SofTec HC08 ConnectionFrom Within an Existing Project397Microcontrollers Debugger Manual From Within an Existing ProjectTo take the first steps toward

Pagina 332

SofTec HC08 ConnectionFrom Within an Existing Project398Microcontrollers Debugger ManualFigure 16.3 MCU Configuration Dialog Box8. Press the OK butto

Pagina 333 - MON08 Interface

SofTec HC08 ConnectionFrom Within an Existing Project399Microcontrollers Debugger Manual About OptionSelect the inDART-HC08 > About option to displ

Pagina 334 - MON08 Interface Connection

Table of Contents4Microcontrollers Debugger ManualComponent Windows Object Info Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53Compon

Pagina 335 - Advanced Settings Tab

Debugger InterfaceDebugger Main Window40Microcontrollers Debugger ManualFigure 2.13 Component Window without Title and HeadlineFigure 2.14 shows a co

Pagina 336 - Target Has RESET Button

SofTec HC08 ConnectionFrom Within an Existing Project400Microcontrollers Debugger ManualFigure 16.6 Communication Settings Dialog BoxNOTE If your har

Pagina 337

401Microcontrollers Debugger Manual17HC08 FSICEBASE EmulatorThis chapter is intended for developers, testers, application engineers, and anyone intere

Pagina 338 - Target MCU Security Bytes

HC08 FSICEBASE EmulatorFSICEBASE Overview402Microcontrollers Debugger ManualSystem RequirementsThe FSICEBASE system requires a host computer with the

Pagina 339

HC08 FSICEBASE EmulatorFSICEBASE Overview403Microcontrollers Debugger Manual – 24 general-purpose logic clips, five of which can be used to trigger th

Pagina 340 - STATUS Area

HC08 FSICEBASE EmulatorFSICEBASE Overview404Microcontrollers Debugger Manualclock, an oscillator, or any other circuitry that you might use to perform

Pagina 341

HC08 FSICEBASE EmulatorSetting Up the FSICEBASE System405Microcontrollers Debugger Manual Setting Up the FSICEBASE SystemThe Freescale In-Circuit Emul

Pagina 342

HC08 FSICEBASE EmulatorSetting Up the FSICEBASE System406Microcontrollers Debugger Manualc. Connect other end of USB cable to host computerNOTE The ho

Pagina 343 - Sync to PLL Change Checkbox

HC08 FSICEBASE EmulatorEstablishing Communication407Microcontrollers Debugger Manual Establishing CommunicationThe Freescale In-Circuit Emulator Base

Pagina 344

HC08 FSICEBASE EmulatorEstablishing Communication408Microcontrollers Debugger ManualFigure 17.1 Communication Dialog Box7. Select TCP/IP8. In the tex

Pagina 345

HC08 FSICEBASE EmulatorSetting Up the System409Microcontrollers Debugger Manual 4. From debugger main menu, select FSICEBASE-HC085. Select Communicati

Pagina 346 - Device Class Description

Debugger InterfaceDebugger Main Window41Microcontrollers Debugger Manual Figure 2.15 Component Window without Headline and Small BorderRun MenuThe Ma

Pagina 347 - Class 4 Device

HC08 FSICEBASE EmulatorSetting Up the System410Microcontrollers Debugger Manual4. Select appropriate processor from Processor drop-down menu5. Select

Pagina 348

HC08 FSICEBASE EmulatorSetting Up the System411Microcontrollers Debugger Manual 3. Select Communication — The FSICE Communication dialog box opens (Fi

Pagina 349 - ICS MON08 Interface

HC08 FSICEBASE EmulatorSetting Up the System412Microcontrollers Debugger ManualThe debugger saves the communication information that you specified. It

Pagina 350 - Connection Procedure

HC08 FSICEBASE EmulatorSetting Up the System413Microcontrollers Debugger Manual Figure 17.4 FSICEBASE Configuration Utility Window3. Click Connect to

Pagina 351

HC08 FSICEBASE EmulatorSpecifying a Memory Map414Microcontrollers Debugger Manual9. If applicable, in Default Gateway text box, type the IP address th

Pagina 352

HC08 FSICEBASE EmulatorSpecifying a Memory Map415Microcontrollers Debugger Manual If an EM is connected to the FSICEBASE, the CodeWarrior IDE software

Pagina 353

HC08 FSICEBASE EmulatorSpecifying a Memory Map416Microcontrollers Debugger ManualTo Modify a Memory Map:1. Start the debugger — the True-time Simulato

Pagina 354 - Cycle Power Radio Button

HC08 FSICEBASE EmulatorSpecifying a Memory Map417Microcontrollers Debugger Manual 5. To delete an existing range:a. From Memory list box, select porti

Pagina 355

HC08 FSICEBASE EmulatorSpecifying a Memory Map418Microcontrollers Debugger ManualFigure 17.8 Target Signals Dialog Box4. Specify clock source. From M

Pagina 356

HC08 FSICEBASE EmulatorSetting Up Logic Cables and Connectors419Microcontrollers Debugger Manual Emulation System ResetThe debugger allows you to rese

Pagina 357

Debugger InterfaceDebugger Main Window42Microcontrollers Debugger ManualTable 2.4 Run Menu DescriptionMenu entry DescriptionStart/Continue Starts or

Pagina 358

HC08 FSICEBASE EmulatorSetting Up Logic Cables and Connectors420Microcontrollers Debugger Manualuse this source, make the desired clock connection to

Pagina 359

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)421Microcontrollers Debugger Manual Bus State Analyzer (BSA)The bus state analyzer (BSA) shows the logi

Pagina 360

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)422Microcontrollers Debugger ManualTo define an event:1. Start the debugger2. Load the program to debug

Pagina 361

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)423Microcontrollers Debugger Manual 5. Select Term or RangeA range consists of two 32-bit values. Range

Pagina 362 - Class 3 Device

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)424Microcontrollers Debugger ManualRecording ModesWhen you define an event, you can specify the recordi

Pagina 363

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)425Microcontrollers Debugger Manual D occurs, the sequencer starts again looking for event A.) Data sto

Pagina 364

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)426Microcontrollers Debugger Manual• External Selects the external clock• Custom selects the programmab

Pagina 365 - Pro Connection

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)427Microcontrollers Debugger Manual 3. To change the kinds of data and the way that data is displayed:a

Pagina 366

HC08 FSICEBASE EmulatorBus State Analyzer (BSA)428Microcontrollers Debugger Manual

Pagina 367

429Microcontrollers Debugger ManualBook III - HCS08 Debug ConnectionsBook III ContentsEach section of the Debugger manual includes information to help

Pagina 368

Debugger InterfaceDebugger Main Window43Microcontrollers Debugger Manual You can provide shortcuts for some of these functions using the toolbar. Refe

Pagina 369

Book III Contents430Microcontrollers Debugger Manual

Pagina 370 - Serial Port Stop Bits

431Microcontrollers Debugger Manual18HCS08 Full Chip SimulationFull Chip Simulation (FCS) does not involve real input and output. Because of this, it

Pagina 371

HCS08 Full Chip SimulationConfiguration Procedure432Microcontrollers Debugger ManualConnection (HCS08FCS) Menu Once you have chosen Full Chip Simulati

Pagina 372

HCS08 Full Chip SimulationConfiguration Procedure433Microcontrollers Debugger Manual Device OptionThe Device selection of the HCS08FCS menu allows the

Pagina 373

HCS08 Full Chip SimulationConfiguration Procedure434Microcontrollers Debugger Manualinitialization does not apply to a reset command. When you change

Pagina 374 - Device Option

HCS08 Full Chip SimulationPeripheral Modules Commands435Microcontrollers Debugger Manual Figure 18.6 Register WindowPeripheral Modules CommandsIf you

Pagina 375 - Active Mode Menu Options

HCS08 Full Chip SimulationPeripheral Modules Commands436Microcontrollers Debugger ManualADC ModuleIn Full Chip Simulation (FCS), this module simulates

Pagina 376

HCS08 Full Chip SimulationPeripheral Modules Commands437Microcontrollers Debugger Manual When the conversion is complete, the FCS sets the appropriate

Pagina 377

HCS08 Full Chip SimulationPeripheral Modules Commands438Microcontrollers Debugger ManualExample>ADCLRClear the input buffer for ADC simulation.Cloc

Pagina 378

HCS08 Full Chip SimulationPeripheral Modules Commands439Microcontrollers Debugger Manual Figure 18.11 Frequency DisplayOnce the ICG is properly confi

Pagina 379 - Debugging Tips

Debugger InterfaceDebugger Main Window44Microcontrollers Debugger ManualLoading an Executable FileUse the Connection menu to load a debugger connectio

Pagina 380

HCS08 Full Chip SimulationPeripheral Modules Commands440Microcontrollers Debugger Manualspeed of simulation; it does, however, affect the ratio in whi

Pagina 381 - Cyclone Pro Connections

HCS08 Full Chip SimulationPeripheral Modules Commands441Microcontrollers Debugger Manual Figure 18.13 IIC Input Buffer DisplayThe IIC data input/outp

Pagina 382

HCS08 Full Chip SimulationPeripheral Modules Commands442Microcontrollers Debugger ManualIIC interrupts are enabled, the FCS jumps to an appropriate su

Pagina 383

HCS08 Full Chip SimulationPeripheral Modules Commands443Microcontrollers Debugger Manual Pulls up the data window with all the input values>IICDI 2

Pagina 384

HCS08 Full Chip SimulationPeripheral Modules Commands444Microcontrollers Debugger Manual3. The data byte $AA comes in4. The data byte $22 comes in5. A

Pagina 385 - Target has RESET Button

HCS08 Full Chip SimulationPeripheral Modules Commands445Microcontrollers Debugger Manual the same time, you can use the INPUTS command to bring up the

Pagina 386 - Power Up/Down Radio Buttons

HCS08 Full Chip SimulationPeripheral Modules Commands446Microcontrollers Debugger ManualINPUT<x> CommandThe INPUT<x> command sets the simu

Pagina 387

HCS08 Full Chip SimulationPeripheral Modules Commands447Microcontrollers Debugger Manual INPUTS CommandIn FCS and CPU-Only Simulation mode, the INPUTS

Pagina 388

HCS08 Full Chip SimulationPeripheral Modules Commands448Microcontrollers Debugger ManualFigure 18.19 Simulated Port Inputs Dialog BoxAn IRQ event occ

Pagina 389

HCS08 Full Chip SimulationPeripheral Modules Commands449Microcontrollers Debugger Manual IRQ CommandsThe following interrupt request command is availa

Pagina 390

Debugger InterfaceDebugger Main Window45Microcontrollers Debugger Manual Load Options ButtonsThese three buttons allow you to select which part of the

Pagina 391

HCS08 Full Chip SimulationPeripheral Modules Commands450Microcontrollers Debugger ManualKeyboard Interrupt ModuleIn FCS, this module simulates all fun

Pagina 392

HCS08 Full Chip SimulationPeripheral Modules Commands451Microcontrollers Debugger Manual The user can poll the KBI Interrupt Pending flag if the Polli

Pagina 393

HCS08 Full Chip SimulationPeripheral Modules Commands452Microcontrollers Debugger ManualFigure 18.24 Simulated Port Inputs Dialog BoxWhen using In-Ci

Pagina 394 - Class 8 Device

HCS08 Full Chip SimulationPeripheral Modules Commands453Microcontrollers Debugger Manual Figure 18.25 Memory Component WindowIf the MTIM interrupt is

Pagina 395 - SofTec HC08 Connection

HCS08 Full Chip SimulationPeripheral Modules Commands454Microcontrollers Debugger ManualFigure 18.26 SCI IN Buffer DisplaySCI Data Output Buffer simu

Pagina 396 - Using the Stationery Wizard

HCS08 Full Chip SimulationPeripheral Modules Commands455Microcontrollers Debugger Manual The user can also observe different SCI flags in the Memory w

Pagina 397

HCS08 Full Chip SimulationPeripheral Modules Commands456Microcontrollers Debugger ManualExample>SCDI $55Set the next input value to the SCI to $55&

Pagina 398 - User’s Manual Option

HCS08 Full Chip SimulationPeripheral Modules Commands457Microcontrollers Debugger Manual Serial Peripheral Interface Module In FCS, this module simula

Pagina 399 - MCU Configuration Dialog Box

HCS08 Full Chip SimulationPeripheral Modules Commands458Microcontrollers Debugger ManualFigure 18.32 SPI OUT Buffer DisplayAt any point, you can use

Pagina 400 - About Dialog Box

HCS08 Full Chip SimulationPeripheral Modules Commands459Microcontrollers Debugger Manual SPCLR CommandUse the SPCLR command to flush the input and out

Pagina 401 - HC08 FSICEBASE Emulator

Debugger InterfaceDebugger Main Window46Microcontrollers Debugger ManualFigure 2.19 Connection Command File WindowThe command file in the edit box is

Pagina 402 - System Features

HCS08 Full Chip SimulationPeripheral Modules Commands460Microcontrollers Debugger ManualFigure 18.34 SPI IN Buffer DisplaySPDO CommandThe SPDO comman

Pagina 403 - System Components

HCS08 Full Chip SimulationPeripheral Modules Commands461Microcontrollers Debugger Manual SPFREQ CommandThe SPFREQ command lets the user set the freque

Pagina 404 - Additional Components

HCS08 Full Chip SimulationPeripheral Modules Commands462Microcontrollers Debugger ManualFigure 18.36 Simulated Port Inputs Dialog BoxUse the Simulate

Pagina 405 - Setting Up the Hardware

HCS08 Full Chip SimulationPeripheral Modules Commands463Microcontrollers Debugger Manual the user steps through the code. To determine the exact amoun

Pagina 406

HCS08 Full Chip SimulationPeripheral Modules Commands464Microcontrollers Debugger ManualGOTOCYCLE CommandThe GOTOCYCLE command executes the program in

Pagina 407 - Establishing Communication

HCS08 Full Chip SimulationPeripheral Modules Commands465Microcontrollers Debugger Manual INPUTS CommandIn FCS and CPU-Only Simulation mode, the INPUTS

Pagina 408

HCS08 Full Chip SimulationPeripheral Modules Commands466Microcontrollers Debugger Manual

Pagina 409 - Setting Up the System

467Microcontrollers Debugger Manual19HCS08 P&E Multilink/Cyclone Pro ConnectionThe HCS08 P&E Multilink/Cyclone Pro Connection setting permits

Pagina 410

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure468Microcontrollers Debugger ManualFigure 19.2 HCS08 Connection Assistant Interface

Pagina 411

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure469Microcontrollers Debugger Manual Figure 19.3 HCS08 Connection Assistant Interfac

Pagina 412

Debugger InterfaceDebugger Main Window47Microcontrollers Debugger Manual The default settings enable the STARTUP.CMD file located in the current proje

Pagina 413

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure470Microcontrollers Debugger ManualMultilinkCyclonePro Menu DescriptionWhen you sele

Pagina 414 - Specifying a Memory Map

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure471Microcontrollers Debugger Manual Active Mode Menu OptionsWhen the microprocessor

Pagina 415

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure472Microcontrollers Debugger ManualFigure 19.7 Advanced Options Dialog BoxPrompt on

Pagina 416 - To Modify a Memory Map:

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure473Microcontrollers Debugger Manual Start Expert Mode Programmer OptionThe Start Exp

Pagina 417 - Specifying the Clock Speed

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure474Microcontrollers Debugger ManualFigure 19.9 Choose A Register Block WindowIf reg

Pagina 418

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure475Microcontrollers Debugger Manual Bus Trace OptionThe Bus Trace menu option allows

Pagina 419 - Emulation System Reset

HCS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure476Microcontrollers Debugger Manual

Pagina 420

477Microcontrollers Debugger Manual20HCS08 Open Source BDM ConnectionThis chapter guides you through the first steps toward debugging with the CodeWar

Pagina 421 - Bus State Analyzer (BSA)

HCS08 Open Source BDM ConnectionFirst Steps Using the Stationery Wizard478Microcontrollers Debugger ManualFirst Steps Using the Stationery WizardTo ta

Pagina 422

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project479Microcontrollers Debugger Manual First Steps From Within an Existing Pro

Pagina 423

Debugger InterfaceDebugger Main Window48Microcontrollers Debugger ManualFigure 2.20 Component MenuTable 2.6 describes the Component Menu entries.NOTE

Pagina 424 - Recording Modes

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project480Microcontrollers Debugger ManualFigure 20.3 MCU Configuration Dialog Bo

Pagina 425 - Time Tag Clock Frequency

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project481Microcontrollers Debugger Manual Select Derivative OptionSelect HCS08 Op

Pagina 426 - Viewing Data

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project482Microcontrollers Debugger ManualHCS08 Open Source BDM Setup Dialog BoxTh

Pagina 427

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project483Microcontrollers Debugger Manual Select Derivative Dialog BoxThis dialog

Pagina 428

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project484Microcontrollers Debugger ManualInformation Required to Unsecure the Dev

Pagina 429 - Book III - HCS08 Debug

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project485Microcontrollers Debugger Manual Show Status Dialog BoxThis dialog box p

Pagina 430 - Book III Contents

HCS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project486Microcontrollers Debugger Manual

Pagina 431 - HCS08 Full Chip Simulation

487Microcontrollers Debugger Manual21HCS08 Serial Monitor ConnectionThis section guides you through the first steps toward debugging with the CodeWarr

Pagina 432 - Connection (HCS08FCS) Menu

HCS08 Serial Monitor ConnectionFirst Steps Using the Stationery Wizard488Microcontrollers Debugger ManualFirst Steps Using the Stationery WizardTo tak

Pagina 433

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project489Microcontrollers Debugger Manual First Steps from Within an Existing Proj

Pagina 434 - View Register Files Command

Debugger InterfaceDebugger Main Window49Microcontrollers Debugger Manual Figure 2.21 Set Connection Dialog Box6. Use the Processor list menu to selec

Pagina 435 - Peripheral Modules Commands

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project490Microcontrollers Debugger ManualFigure 21.3 Monitor Setup Window - Monit

Pagina 436 - ADC Module

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project491Microcontrollers Debugger Manual Figure 21.5 Monitor Setup Window - Vect

Pagina 437 - ADC Module Commands

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project492Microcontrollers Debugger ManualMONITOR-HCS08 Menu OptionsOnce the HCS08

Pagina 438 - Clock Generation Module

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project493Microcontrollers Debugger Manual Bus TraceSelect the MONITOR-HCS08 > B

Pagina 439 - XTAL Command

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project494Microcontrollers Debugger ManualFigure 21.9 Monitor Setup Window - Vecto

Pagina 440

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project495Microcontrollers Debugger Manual Derivative Selection Dialog BoxWithin th

Pagina 441

HCS08 Serial Monitor ConnectionFirst Steps from Within an Existing Project496Microcontrollers Debugger Manual

Pagina 442 - IICDI Command

497Microcontrollers Debugger Manual22SofTec HCS08 ConnectionThis chapter guides you through the first steps toward debugging with the CodeWarrior IDE

Pagina 443

SofTec HCS08 ConnectionFirst Steps Using the Stationery Wizard498Microcontrollers Debugger ManualFirst Steps Using the Stationery WizardTo take the fi

Pagina 444 - IICCLR Command

SofTec HCS08 ConnectionFirst Steps from Within an Existing Project499Microcontrollers Debugger Manual First Steps from Within an Existing ProjectTo ta

Pagina 445

Table of Contents5Microcontrollers Debugger Manual Breakpoints Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 446

Debugger InterfaceDebugger Main Window50Microcontrollers Debugger ManualWindow MenuIn this menu, shown in Figure 2.22, you can set the component windo

Pagina 447

SofTec HCS08 ConnectionFirst Steps from Within an Existing Project500Microcontrollers Debugger ManualFigure 22.3 MCU Configuration Dialog Box8. Press

Pagina 448

SofTec HCS08 ConnectionFirst Steps from Within an Existing Project501Microcontrollers Debugger Manual Trigger Module SettingsSelect SofTec-HCS08 >

Pagina 449 - IRQ Commands

SofTec HCS08 ConnectionFirst Steps from Within an Existing Project502Microcontrollers Debugger Manualspecific HCS08 derivative. In the case of the MC9

Pagina 450

503Microcontrollers Debugger Manual23HCS08 On-Chip DBG ModuleThe HCS08 derivatives featuring an on-chip DBG module require a debugger graphical user i

Pagina 451

HCS08 On-Chip DBG ModuleSpecific Connection Menu Options504Microcontrollers Debugger Manual• Real time program code profiling and coverage within the

Pagina 452 - Modulo Timer Interrupt Module

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows505Microcontrollers Debugger Manual Context Menu Entries in S

Pagina 453

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows506Microcontrollers Debugger ManualTo set a trigger, select a

Pagina 454

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows507Microcontrollers Debugger Manual Figure 23.4 Triggers Set

Pagina 455 - SCI Commands

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows508Microcontrollers Debugger ManualTrigger Stored as Markpoin

Pagina 456

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows509Microcontrollers Debugger Manual Figure 23.6 Controlpoint

Pagina 457

Debugger InterfaceDebugger Main Window51Microcontrollers Debugger Manual NOTE Autosize and Component Menu are checked by default.Help MenuThis is the

Pagina 458 - SPI Commands

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows510Microcontrollers Debugger ManualFigure 23.7 Data Window C

Pagina 459 - SPDI Command

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows511Microcontrollers Debugger Manual Figure 23.8 Triggers Set

Pagina 460

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows512Microcontrollers Debugger ManualExpert TriggersThe Expert

Pagina 461 - Timer Interface Module

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows513Microcontrollers Debugger Manual Figure 23.10 Expert Trig

Pagina 462

HCS08 On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows514Microcontrollers Debugger ManualTrigger Settings The Trigg

Pagina 463 - Timer Module Commands

HCS08 On-Chip DBG ModuleDBG Support Status Bar Item515Microcontrollers Debugger Manual Trigger Module UsageThis menu entry can be used to globally set

Pagina 464

HCS08 On-Chip DBG ModuleTrigger Module Settings Window516Microcontrollers Debugger ManualThe status bar displays the current DBG Module Mode Setup (as

Pagina 465

HCS08 On-Chip DBG ModuleTrigger Module Settings Window517Microcontrollers Debugger Manual DBG Module Mode SetupFirst of all, the on-chip DBG module pr

Pagina 466

HCS08 On-Chip DBG ModuleTrigger Module Settings Window518Microcontrollers Debugger ManualExpert ModeThe User needs to know the on-chip DBG module real

Pagina 467 - Cyclone Pro Connection

HCS08 On-Chip DBG ModuleTrigger Module Settings Window519Microcontrollers Debugger Manual Expert Mode TabThe expert mode tab gives you an access to mo

Pagina 468

Debugger InterfaceComponent Associated Menus52Microcontrollers Debugger ManualAbout BoxSelect Help > About to display the About box. The about box

Pagina 469 - Hotsync Button

HCS08 On-Chip DBG ModuleTrigger Module Settings Window520Microcontrollers Debugger ManualFigure 23.19 Debugger Main Window - Coverage and Profiler Wi

Pagina 470 - Connect Option

HCS08 On-Chip DBG ModuleTrigger Module Settings Window521Microcontrollers Debugger Manual Memory Access TriggersThis section describes the various typ

Pagina 471

HCS08 On-Chip DBG ModuleTrigger Module Settings Window522Microcontrollers Debugger ManualMemory Access at Address A and Value on Data Bus MatchThis mo

Pagina 472

HCS08 On-Chip DBG ModuleTrigger Module Settings Window523Microcontrollers Debugger Manual Memory Access at Address A and Value on Data Bus MismatchThi

Pagina 473

HCS08 On-Chip DBG ModuleTrigger Module Settings Window524Microcontrollers Debugger ManualInstruction at Address A or Address B is ExecutedThis mode is

Pagina 474

HCS08 On-Chip DBG ModuleTrigger Module Settings Window525Microcontrollers Debugger Manual Instruction at Address A and Value on Data Bus MatchThis mod

Pagina 475 - Bus Trace Option

HCS08 On-Chip DBG ModuleTrigger Module Settings Window526Microcontrollers Debugger ManualFigure 23.26 Memory Access at Address A and Value on Data Bu

Pagina 476

HCS08 On-Chip DBG ModuleTrigger Module Settings Window527Microcontrollers Debugger Manual The trigger addresses is typically not a program code addres

Pagina 477 - HCS08 Open Source BDM

HCS08 On-Chip DBG ModuleTrigger Module Settings Window528Microcontrollers Debugger Manual• Start recording after trigger hit and DO NOT halt when the

Pagina 478

HCS08 On-Chip DBG ModuleTrigger Module Settings Window529Microcontrollers Debugger Manual Trigger EditingTypically trigger addresses and/or type can b

Pagina 479

Debugger InterfaceComponent Associated Menus53Microcontrollers Debugger Manual Component FilesEach component is a windows file with a .wnd extensionCo

Pagina 480 - Setup Option

HCS08 On-Chip DBG ModuleTrigger Module Settings Window530Microcontrollers Debugger Manual•The Show Location button shows the location of the trigger (

Pagina 481

HCS08 On-Chip DBG ModuleTrigger Module Settings Window531Microcontrollers Debugger Manual Figure 23.32 Trigger Settings Tab InformationGeneral Settin

Pagina 482

HCS08 On-Chip DBG ModuleTrace Component Window532Microcontrollers Debugger Manual• Automatically analyze the FIFO content: When the Trace Component Wi

Pagina 483 - Select Derivative Dialog Box

HCS08 On-Chip DBG ModuleTrace Component Window533Microcontrollers Debugger Manual It is not necessary to open the Trace window/component to make use o

Pagina 484

HCS08 On-Chip DBG ModuleTrace Component Window534Microcontrollers Debugger ManualFigure 23.35 Trace Window - Context Menu OptionsSelecting Show Locat

Pagina 485 - Show Status Dialog Box

HCS08 On-Chip DBG ModuleTrace Component Window535Microcontrollers Debugger Manual on-chip DBG module. By consequence, the Textual display mode simply

Pagina 486

HCS08 On-Chip DBG ModuleTrace Component Window536Microcontrollers Debugger ManualDumping Frames to FileSelecting Dump in the Trace window context sens

Pagina 487 - HCS08 Serial Monitor

HCS08 On-Chip DBG ModuleTrace Component Window537Microcontrollers Debugger Manual Displayed columns:• FIFO Depth: A number representing the depth in t

Pagina 488

HCS08 On-Chip DBG ModuleLimitations538Microcontrollers Debugger ManualLimitationsThe following limitations apply in demo/unregistered debugger mode:•

Pagina 489

HCS08 On-Chip DBG ModuleHCS08 DBG V3 New Features539Microcontrollers Debugger Manual Figure 23.43 LOOP1 recording mode selectionAbility to record unt

Pagina 490

Debugger InterfaceHighlights of the User Interface54Microcontrollers Debugger ManualHighlights of the User InterfaceThis section describes some of the

Pagina 491

HCS08 On-Chip DBG ModuleHCS08 DBG V3 New Features540Microcontrollers Debugger ManualFigure 23.44 Recording a PIN reset

Pagina 492 - MONITOR-HCS08 Menu Options

HCS08 On-Chip DBG ModuleHCS08 DBG V3 New Features541Microcontrollers Debugger Manual Figure 23.45 Recording an illegal opcode resetRecording from Res

Pagina 493 - Monitor Setup Window

HCS08 On-Chip DBG ModuleHCS08 DBG V3 New Features542Microcontrollers Debugger ManualFigure 23.46 Recording out of reset mode selectionFigure 23.47 S

Pagina 494 - Vector Table Mirroring Tab

HCS08 On-Chip DBG ModuleHCS08 DBG V3 New Features543Microcontrollers Debugger Manual Expert Triggers tab extendedThe Expert Triggers tab has been rede

Pagina 495

HCS08 On-Chip DBG ModuleHCS08 DBG V3 New Features544Microcontrollers Debugger Manual

Pagina 496

545Microcontrollers Debugger ManualBook IV - RS08 Debug ConnectionsBook IV ContentsEach section of the Debugger manual includes information to help yo

Pagina 497 - SofTec HCS08 Connection

Book IV Contents546Microcontrollers Debugger Manual

Pagina 498

547Microcontrollers Debugger Manual24RS08 Full Chip SimulationFull Chip Simulation (FCS) does not involve real input and output. Because of this, it d

Pagina 499

RS08 Full Chip SimulationConfiguration Procedure548Microcontrollers Debugger ManualConnection (RS08FCS) Menu Once you have chosen Full Chip Simulation

Pagina 500 - SofTec HCS08 Menu Options

RS08 Full Chip SimulationConfiguration Procedure549Microcontrollers Debugger Manual Full Chip Simulation Module CommandsThe RS08FCS Menu contains the

Pagina 501

Debugger InterfaceHighlights of the User Interface55Microcontrollers Debugger Manual To Drag and Drop an ObjectTo drag an object from one component wi

Pagina 502

RS08 Full Chip SimulationConfiguration Procedure550Microcontrollers Debugger ManualShow Processor PinsThe Processor Pins dialog box is a convenient to

Pagina 503 - HCS08 On-Chip DBG

RS08 Full Chip SimulationConfiguration Procedure551Microcontrollers Debugger Manual Run Till Cycle CommandThis menu option, which corresponds to the G

Pagina 504 - HCS08 On-Chip DBG Module

RS08 Full Chip SimulationPeripheral Modules Commands552Microcontrollers Debugger ManualFigure 24.9 Timer Interface Module Register ListingSelecting a

Pagina 505 - Assembly and Memory Windows

553Microcontrollers Debugger Manual25RS08 P&E Multilink/Cyclone Pro ConnectionThe RS08 P&E Multilink/Cyclone Pro Connection setting permits a

Pagina 506

RS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure554Microcontrollers Debugger ManualFigure 25.2 RS08 Connection Assistant Interface S

Pagina 507

RS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure555Microcontrollers Debugger Manual MultilinkCyclonePro Menu DescriptionWhen you have

Pagina 508 - Trigger Stored as Markpoints

RS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure556Microcontrollers Debugger ManualConnect OptionThe Connect option initiates an atte

Pagina 509 - Data and Memory Windows

RS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure557Microcontrollers Debugger Manual Prompt on Flash Program CheckboxChecking Always E

Pagina 510

RS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure558Microcontrollers Debugger ManualShow Processor PinsThe Processor Pins dialog box i

Pagina 511

RS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure559Microcontrollers Debugger Manual Figure 25.10 Choose A Register Block WindowIf re

Pagina 512 - Expert Triggers

Debugger InterfaceHighlights of the User Interface56Microcontrollers Debugger ManualDragging from Data Component WindowTable 2.10 summarizes dragging

Pagina 513

RS08 P&E Multilink/Cyclone Pro ConnectionConnection Procedure560Microcontrollers Debugger Manual

Pagina 514 - Trigger Settings

561Microcontrollers Debugger Manual26RS08 Open Source BDM ConnectionThis chapter guides you through the first steps toward debugging with the CodeWarr

Pagina 515 - DBG Support Status Bar Item

RS08 Open Source BDM ConnectionFirst Steps Using the Stationery Wizard562Microcontrollers Debugger ManualFirst Steps Using the Stationery WizardTo tak

Pagina 516

RS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project563Microcontrollers Debugger Manual First Steps From Within an Existing Proj

Pagina 517 - Automatic Mode (Default)

RS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project564Microcontrollers Debugger ManualFigure 26.3 MCU Configuration Dialog Box

Pagina 518 - Expert Mode

RS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project565Microcontrollers Debugger Manual Reset to Normal Mode OptionSelect RS08 O

Pagina 519 - Profiling and Coverage Mode

RS08 Open Source BDM ConnectionFirst Steps From Within an Existing Project566Microcontrollers Debugger ManualSelect Derivative Dialog BoxThis dialog b

Pagina 520 - Disabled Mode

567Microcontrollers Debugger Manual27SofTec RS08 ConnectionThis section guides you through the first steps toward debugging with the CodeWarrior IDE a

Pagina 521 - Memory Access Triggers

SofTec RS08 ConnectionFirst Steps Using the Stationery Wizard568Microcontrollers Debugger ManualFirst Steps Using the Stationery WizardTo take the fir

Pagina 522 - Bus Match

SofTec RS08 ConnectionFirst Steps Using the Stationery Wizard569Microcontrollers Debugger Manual Figure 27.2 IDE Main Window - Project Menu7. Choose

Pagina 523 - Instruction Triggers

Debugger InterfaceHighlights of the User Interface57Microcontrollers Debugger Manual Dragging from Source Component WindowTable 2.11 summarizes draggi

Pagina 524

SofTec RS08 ConnectionFirst Steps From Within an Existing Project570Microcontrollers Debugger ManualFirst Steps From Within an Existing ProjectTo take

Pagina 525 - Mismatch

SofTec RS08 ConnectionFirst Steps From Within an Existing Project571Microcontrollers Debugger Manual Figure 27.4 MCU Configuration Dialog Box8. Press

Pagina 526 - Capture Triggers

SofTec RS08 ConnectionFirst Steps From Within an Existing Project572Microcontrollers Debugger ManualMCU Configuration OptionSelect SofTec-RS08 > MC

Pagina 527 - DBG Module Options

SofTec RS08 ConnectionFirst Steps From Within an Existing Project573Microcontrollers Debugger Manual Figure 27.7 Communication Settings Dialog BoxAbo

Pagina 528 - Data Recording

SofTec RS08 ConnectionFirst Steps From Within an Existing Project574Microcontrollers Debugger Manual

Pagina 529 - Trigger Editing

575Microcontrollers Debugger ManualBook V - ColdFire® V1.0 Debug ConnectionsBook V ContentsEach section of the Debugger manual includes information to

Pagina 530 - Information

Book V Contents576Microcontrollers Debugger Manual

Pagina 531 - General Settings Tab

577Microcontrollers Debugger Manual28ColdFire V1 Full Chip Simulation ConnectionThe Full Chip Simulation (FCS) connection runs a complete simulation o

Pagina 532 - Trace Component Window

ColdFire V1 Full Chip Simulation Connection578Microcontrollers Debugger ManualDebugger Status Bar with Full Chip SimulationThe status bar (Figure 28.2

Pagina 533 - Instructions Display

ColdFire V1 Full Chip Simulation Connection579Microcontrollers Debugger Manual The status bars show the selected simulated derivative or simulated COR

Pagina 534 - Textual Display

Debugger InterfaceHighlights of the User Interface58Microcontrollers Debugger ManualDragging from the Memory Component WindowTable 2.12 summarizes dra

Pagina 535 - Column Display and Moving

ColdFire V1 Full Chip Simulation Connection580Microcontrollers Debugger ManualCommand Files WindowFigure 28.5 shows the FCS connection Command Files w

Pagina 536 - Clearing Frames

ColdFire V1 Full Chip Simulation Connection581Microcontrollers Debugger Manual Memory Configuration Dialog Box FeaturesThe memory configuration dialog

Pagina 537 - Recorded Data Display

ColdFire V1 Full Chip Simulation Connection582Microcontrollers Debugger ManualMemory Configuration ModesUse the Memory Configuration dialog box to sel

Pagina 538 - HCS08 DBG V3 New Features

ColdFire V1 Full Chip Simulation Connection583Microcontrollers Debugger Manual Manual Configuration: The Memory Configuration dialog box lists an entr

Pagina 539 - Recording until reset

ColdFire V1 Full Chip Simulation Connection584Microcontrollers Debugger ManualMemory Block SettingYou must set memory blocks within the available memo

Pagina 540

ColdFire V1 Full Chip Simulation Connection585Microcontrollers Debugger Manual Memory Configuration Dialog Box Command ButtonsThe Memory Configuration

Pagina 541 - Recording from Reset

ColdFire V1 Full Chip Simulation Connection586Microcontrollers Debugger Manual• To modify the value of each read or write type, change the value of th

Pagina 542

ColdFire V1 Full Chip Simulation Connection587Microcontrollers Debugger Manual frequency is always the oscillator frequency. Two radio buttons allow y

Pagina 543 - Expert Triggers tab extended

ColdFire V1 Full Chip Simulation Connection588Microcontrollers Debugger Manual You can retrieve the following types of information from the Trace wind

Pagina 544

ColdFire V1 Full Chip Simulation Connection589Microcontrollers Debugger Manual FCS Warning (ID 12): reading from unimplemented register at pc = 0x400a

Pagina 545 - Book IV - RS08 Debug

Debugger InterfaceHighlights of the User Interface59Microcontrollers Debugger Manual Dragging from Module Component WindowTable 2.15 summarizes draggi

Pagina 546 - Book IV Contents

ColdFire V1 Full Chip Simulation Connection590Microcontrollers Debugger ManualExample:in>warning_setup nonein>warning_setup haltin>warning_se

Pagina 547 - RS08 Full Chip Simulation

ColdFire V1 Full Chip Simulation Connection591Microcontrollers Debugger Manual MESSAGE_HIDE_ID CommandThe MESSAGE_HIDE_ID command hides a message of a

Pagina 548 - Connection (RS08FCS) Menu

ColdFire V1 Full Chip Simulation ConnectionFCS and Silicon On-Chip Peripherals Simulation592Microcontrollers Debugger ManualComponentsDebugger engine.

Pagina 549 - Modify MTIM TCLK

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities593Microcontrollers Debugger Manual You can see the current mode of Simulation (

Pagina 550 - Show Processor Pins

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities594Microcontrollers Debugger ManualAnalog Meter ComponentUse the Analog Meter wi

Pagina 551 - Run Till Cycle Command

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities595Microcontrollers Debugger Manual IO_LED ComponentThe IO_LED window shown in F

Pagina 552

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities596Microcontrollers Debugger ManualIO_LED MenuThe IO LED Menu contains a single

Pagina 553

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities597Microcontrollers Debugger Manual LED ComponentThe LED window shown in Figure

Pagina 554

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities598Microcontrollers Debugger ManualClick OK to accept the specified location. Cl

Pagina 555

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities599Microcontrollers Debugger Manual Phone OperationsClick a phone key and the ma

Pagina 556

Table of Contents6Microcontrollers Debugger ManualInspecting Task State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 557 - Trim Programming Checkbox

Debugger InterfaceHighlights of the User Interface60Microcontrollers Debugger Manual

Pagina 558

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities600Microcontrollers Debugger ManualADC/DAC ComponentThe ADC_DAC window shown in

Pagina 559

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities601Microcontrollers Debugger Manual Figure 28.21 Internal Converter Module Orga

Pagina 560

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities602Microcontrollers Debugger ManualDAC The DAC is an 8-bit resolution converter

Pagina 561 - RS08 Open Source BDM

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities603Microcontrollers Debugger Manual ADC/DAC Setup Dialog BoxThe dialog box shown

Pagina 562

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities604Microcontrollers Debugger ManualDisplay Properties Dialog BoxThis dialog box,

Pagina 563

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities605Microcontrollers Debugger Manual IT_Keyboard ComponentThe 20-key IT_Keyboard

Pagina 564 - Select Derivative Option

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities606Microcontrollers Debugger ManualScanning is one method to read such keyboards

Pagina 565 - Show Status Option

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities607Microcontrollers Debugger Manual Interruption Keyboard Setup The Interruption

Pagina 566

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities608Microcontrollers Debugger ManualLCD Component The LCD Display component messa

Pagina 567 - SofTec RS08 Connection

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities609Microcontrollers Debugger Manual Figure 28.32 The DDRAM ControllerThe Addres

Pagina 568

61Microcontrollers Debugger Manual3Debugger ComponentsThis chapter explains how the different components of the Debugger work. This chapter contains t

Pagina 569

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities610Microcontrollers Debugger ManualInstruction ListingFigure 28.33 lists the ins

Pagina 570

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities611Microcontrollers Debugger Manual Cursor or Display Shift • Doesn't chang

Pagina 571 - SofTec RS08 Menu Options

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities612Microcontrollers Debugger ManualThe Initialization StepInitialization require

Pagina 572

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities613Microcontrollers Debugger Manual LCD Display The LCD Display dialog box shown

Pagina 573

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities614Microcontrollers Debugger ManualMonitor ComponentThe Monitor window shown in

Pagina 574

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities615Microcontrollers Debugger Manual Add Channel The Add Channel dialog box shown

Pagina 575 - Debug Connections

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities616Microcontrollers Debugger ManualChange Colors The Change Colors dialog box sh

Pagina 576 - Book V Contents

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities617Microcontrollers Debugger Manual Push Buttons ComponentThe Push Buttons windo

Pagina 577 - Simulation Connection

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities618Microcontrollers Debugger ManualPush Buttons Setup The Setup dialog box shown

Pagina 578

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities619Microcontrollers Debugger Manual Drag Out: Nothing can be dragged out.Drop In

Pagina 579 - Open I/O Component Dialog Box

Debugger ComponentsComponent Introduction62Microcontrollers Debugger ManualConnection ComponentsDifferent debugger connections are available. For exam

Pagina 580 - Memory Configuration

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities620Microcontrollers Debugger ManualProgrammable IO_Ports MenuFigure 28.48 shows

Pagina 581

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities621Microcontrollers Debugger Manual Figure 28.50 Coupler Control RegisterDrag O

Pagina 582 - Memory Configuration Settings

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities622Microcontrollers Debugger ManualFigure 28.52 7-Segments Display Component Co

Pagina 583 - Memory Check Options

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities623Microcontrollers Debugger Manual 7-Segments Display Setup The 7-Segments Disp

Pagina 584 - Memory Block Properties

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities624Microcontrollers Debugger ManualDrop Into:Nothing can be dropped in.Demo Vers

Pagina 585 - Access Details Dialog Box

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities625Microcontrollers Debugger Manual Cache Size The Size of the Cache dialog box,

Pagina 586 - Clock Frequency Setup

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities626Microcontrollers Debugger ManualEND10000000 a = 0; The first line defines the

Pagina 587 - Bus Trace

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities627Microcontrollers Debugger Manual Table 28.13 describes the bits used in the S

Pagina 588 - Full Chip Simulation Warnings

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities628Microcontrollers Debugger ManualUse Escape sequences to handle redirection of

Pagina 589 - WARNING_SETUP Command

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities629Microcontrollers Debugger Manual • TERM_TO_WINDOW (sends output to terminal w

Pagina 590

Debugger ComponentsComponent Introduction63Microcontrollers Debugger Manual Figure 3.2 Open Window Component Window3. In the Open Window Component wi

Pagina 591 - MESSAGE_HIDE_RESET Command

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities630Microcontrollers Debugger Manual

Pagina 592 - Simulation

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities631Microcontrollers Debugger Manual Drop Into:Nothing can be dropped in.Demo Ver

Pagina 593 - FCS Visualization Utilities

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities632Microcontrollers Debugger ManualConfigure Terminal ConnectionsThe terminal wi

Pagina 594 - Analog Meter Component

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities633Microcontrollers Debugger Manual If you have chosen a connection from or to t

Pagina 595 - IO_LED Component

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities634Microcontrollers Debugger ManualESC is the ESC Character (ASCII code 27 decim

Pagina 596 - IO_LED Menu

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities635Microcontrollers Debugger Manual Using the Virtual SCIIn its default Virtual

Pagina 597 - LED Component

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities636Microcontrollers Debugger ManualWagon ComponentThe Wagon window shown in Figu

Pagina 598 - Phone Component

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities637Microcontrollers Debugger Manual Wagon Setup When you select Setup from the W

Pagina 599 - Phone Operations

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation638Microcontrollers Debugger ManualTrue Time I/O Stimulation The FCS I/O Stimulati

Pagina 600 - ADC/DAC Component

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation639Microcontrollers Debugger Manual 2. Choose Simulator > Set > Sim.3. Choos

Pagina 601 - Visualization Screen

Debugger ComponentsGeneral Debugger Components64Microcontrollers Debugger ManualGeneral Debugger ComponentsThis section describes the various features

Pagina 602 - ADC/DAC Menu

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation640Microcontrollers Debugger ManualListing 28.6 IO_Show Procedure in io_demo.cst

Pagina 603 - ADC/DAC Setup Dialog Box

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation641Microcontrollers Debugger Manual The Stimulation component executing io_var.txt

Pagina 604 - Display Properties Dialog Box

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation642Microcontrollers Debugger ManualFigure 28.74 Source Component Window8. Activat

Pagina 605 - IT_Keyboard Component

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation643Microcontrollers Debugger Manual VECTOR 7 Interrupt_Function /* set vector on

Pagina 606 - IT_Keyboard Menu

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation644Microcontrollers Debugger ManualDetailed Explanationdef a = TargetObject.#210.B

Pagina 607 - Interruption Keyboard Setup

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation645Microcontrollers Debugger Manual This line of code reads pbits (three bits in L

Pagina 608 - LCD Component

ColdFire V1 Full Chip Simulation ConnectionTrue Time I/O Stimulation646Microcontrollers Debugger ManualTimedEvent = [ “+” | “#” ] Time AssignmentList.

Pagina 609

ColdFire V1 Full Chip Simulation ConnectionElectrical Signal Generators and Signals Application to Device Pins647Microcontrollers Debugger Manual • Th

Pagina 610 - Instruction Listing

ColdFire V1 Full Chip Simulation ConnectionElectrical Signal Generators and Signals Application to Device Pins648Microcontrollers Debugger ManualSigna

Pagina 611 - Function Set

ColdFire V1 Full Chip Simulation ConnectionElectrical Signal Generators and Signals Application to Device Pins649Microcontrollers Debugger Manual TIME

Pagina 612 - LCD Menus

Debugger ComponentsGeneral Debugger Components65Microcontrollers Debugger Manual Assembly MenuThe Assembly menu shown in Figure 3.4 contains all funct

Pagina 613 - LCD Display

ColdFire V1 Full Chip Simulation ConnectionElectrical Signal Generators and Signals Application to Device Pins650Microcontrollers Debugger ManualINF m

Pagina 614 - Monitor Component

ColdFire V1 Full Chip Simulation ConnectionElectrical Signal Generators and Signals Application to Device Pins651Microcontrollers Debugger Manual SETS

Pagina 615 - Monitor Settings

ColdFire V1 Full Chip Simulation ConnectionElectrical Signal Generators and Signals Application to Device Pins652Microcontrollers Debugger ManualRemar

Pagina 616 - Change Colors

ColdFire V1 Full Chip Simulation ConnectionElectrical Signal Generators and Signals Application to Device Pins653Microcontrollers Debugger Manual WARN

Pagina 617 - Push Buttons Component

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials654Microcontrollers Debugger ManualCommand Set to Apply Signal on ATD PinThe following example

Pagina 618 - Use with LEDs Component

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials655Microcontrollers Debugger Manual 6. Change the directory if you want (Location > Set)7.

Pagina 619 - Drag Out:

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials656Microcontrollers Debugger ManualStep 3 - Target CPU WindowThe Target CPU window in the cent

Pagina 620 - Port Address

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials657Microcontrollers Debugger Manual Standard and Professional Editions offer a wider range of

Pagina 621 - 7-Segments Display Component

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials658Microcontrollers Debugger ManualFigure 28.78 Project Window - Processor Expert TabUnder Be

Pagina 622 - 7-Segments Display Menu

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials659Microcontrollers Debugger Manual Figure 28.79 Bean Inspector WindowStep 7 - Generation of

Pagina 623 - 7-Segments Display Setup

Debugger ComponentsGeneral Debugger Components66Microcontrollers Debugger ManualSetting BreakpointsBreakpoints can be set, edited and deleted when usi

Pagina 624 - Stimulation Component

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials660Microcontrollers Debugger ManualStep 9 - Entering User Code1. Open the user module MyGuessT

Pagina 625 - Example of a Stimulation File

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials661Microcontrollers Debugger Manual void main(void) { /*** Processor Expert internal initiali

Pagina 626 - TestTerm Component

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials662Microcontrollers Debugger ManualFigure 28.80 Terminal Configuration Dialog4. Select the Sa

Pagina 627 - Output Redirection

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials663Microcontrollers Debugger Manual Figure 28.81 Debugger Main Window - Final ApplicationPWM

Pagina 628 - How to Redirect

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials664Microcontrollers Debugger Manual5. Enter a project name like PWM_Sample 6. Change the direc

Pagina 629 - Using TestTerm

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials665Microcontrollers Debugger Manual Step 6 - Bean Inspector PWM1.PWMIn the Bean Inspector wind

Pagina 630 - TestTerm Menu

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials666Microcontrollers Debugger Manual /*** Processor Expert internal initialization. DON'T

Pagina 631

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials667Microcontrollers Debugger Manual 6. Select Target Periodical for Type of Unit7. Select 1000

Pagina 632

ColdFire V1 Full Chip Simulation ConnectionFCS Tutorials668Microcontrollers Debugger ManualFigure 28.82 Debugger Main WIndow - Final Application

Pagina 633

669Microcontrollers Debugger Manual29ColdFire P&E Multilink/Cyclone Pro ConnectionThis chapter guides you through the first steps toward debugging

Pagina 634

Debugger ComponentsGeneral Debugger Components67Microcontrollers Debugger Manual Table 3.2 Assembly Context Menu DescriptionMenu Entry DescriptionSet

Pagina 635 - Using the Virtual SCI

ColdFire P&E Multilink/Cyclone Pro ConnectionFirst Steps Using the Stationery Wizard670Microcontrollers Debugger ManualFirst Steps Using the Stati

Pagina 636 - Wagon Menu

ColdFire P&E Multilink/Cyclone Pro ConnectionFirst Steps From Within an Existing Project671Microcontrollers Debugger Manual First Steps From Withi

Pagina 637 - Wagon Setup

ColdFire P&E Multilink/Cyclone Pro ConnectionFirst Steps From Within an Existing Project672Microcontrollers Debugger ManualFigure 29.3 Set Deriva

Pagina 638 - True Time I/O Stimulation

ColdFire P&E Multilink/Cyclone Pro ConnectionFirst Steps From Within an Existing Project673Microcontrollers Debugger Manual P&E Multilink/Cycl

Pagina 639

ColdFire P&E Multilink/Cyclone Pro ConnectionFirst Steps From Within an Existing Project674Microcontrollers Debugger ManualTrigger Module Settings

Pagina 640 - Stimulation

ColdFire P&E Multilink/Cyclone Pro ConnectionFirst Steps From Within an Existing Project675Microcontrollers Debugger Manual When checking “Program

Pagina 641

ColdFire P&E Multilink/Cyclone Pro ConnectionFirst Steps From Within an Existing Project676Microcontrollers Debugger ManualFigure 29.8 Connection

Pagina 642

677Microcontrollers Debugger Manual30SofTec ColdFire ConnectionThis chapter guides you through the first steps toward debugging with the CodeWarrior™

Pagina 643

SofTec ColdFire ConnectionFirst Steps Using the Stationery Wizard678Microcontrollers Debugger ManualFirst Steps Using the Stationery WizardTo take the

Pagina 644 - Detailed Explanation

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project679Microcontrollers Debugger Manual First Steps From Within an Existing ProjectTo

Pagina 645 - Stimulation Input File Syntax

Debugger ComponentsGeneral Debugger Components68Microcontrollers Debugger ManualRetrieving Source Statement• Point to an instruction in the Assembly c

Pagina 646

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project680Microcontrollers Debugger ManualFigure 30.3 Set Derivative Dialog Box8. Press

Pagina 647 - Application to Device Pins

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project681Microcontrollers Debugger Manual SofTec ColdFire Menu OptionsOnce the SofTec C

Pagina 648 - File Example 1

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project682Microcontrollers Debugger ManualFlashSelect SofTec-MCF51 > Flash to open th

Pagina 649 - File Parameters

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project683Microcontrollers Debugger Manual provided in the Communication Settings dialog

Pagina 650 - Signal Commands

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project684Microcontrollers Debugger ManualPress the Communication Settings button in thi

Pagina 651 - CLOSESIGNALFILE Command

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project685Microcontrollers Debugger Manual The dialog may slightly differ according to c

Pagina 652 - IO Component

SofTec ColdFire ConnectionFirst Steps From Within an Existing Project686Microcontrollers Debugger ManualAbout Dialog BoxThis dialog box belongs to the

Pagina 653 - Pinconn Commands

687Microcontrollers Debugger Manual31ColdFire On-Chip DBG ModuleThe ColdFire® derivatives featuring an on-chip debugger (DBG) module require a debugge

Pagina 654 - FCS Tutorials

ColdFire On-Chip DBG ModuleContext Menu Entries in Source, Data, Assembly and Memory Windows688Microcontrollers Debugger ManualContext Menu Entries in

Pagina 655

ColdFire On-Chip DBG ModuleTrigger Module Settings Window689Microcontrollers Debugger Manual Trigger Module Settings WindowThis window can be opened f

Pagina 656 - Step 4 - Bean Selector Window

Debugger ComponentsGeneral Debugger Components69Microcontrollers Debugger Manual Demo Version LimitationsNo limitationAssociated CommandsFollowing com

Pagina 657 - Step 5 - Project Panel Window

ColdFire On-Chip DBG ModuleTrigger Module Settings Window690Microcontrollers Debugger Manual•A User Triggers mode, which provides two complex breakpoi

Pagina 658

ColdFire On-Chip DBG ModuleTrigger Module Settings Window691Microcontrollers Debugger Manual Figure 31.4 Trace Settings for Automatic modeSync PC DBG

Pagina 659

ColdFire On-Chip DBG ModuleTrigger Module Settings Window692Microcontrollers Debugger ManualUser Triggers modeWhen choosing the User Triggers mode, th

Pagina 660 - Step 9 - Entering User Code

ColdFire On-Chip DBG ModuleTrigger Module Settings Window693Microcontrollers Debugger Manual Figure 31.7 Trigger Stop Condition sequencerThe trigger

Pagina 661 - Step 10 - Run

ColdFire On-Chip DBG ModuleTrigger Module Settings Window694Microcontrollers Debugger ManualExpert ModeThe Expert mode is a “Do It Yourself” interface

Pagina 662

ColdFire On-Chip DBG ModuleTrigger Module Settings Window695Microcontrollers Debugger Manual Figure 31.10 Expert Trigger Settings: CSR2 interactive t

Pagina 663 - PWM Sample

ColdFire On-Chip DBG ModuleTrigger Module Settings Window696Microcontrollers Debugger ManualFigure 31.12 General Settings tab

Pagina 664 - Step 4 - Creating PWM Bean

697Microcontrollers Debugger ManualBook VI - Connection Common FeaturesBook VI ContentsEach section of the Debugger manual includes information to hel

Pagina 665 - Step 7 - Generate Driver Code

Book VI Contents698Microcontrollers Debugger Manual

Pagina 666

699Microcontrollers Debugger Manual32Flash ProgrammingNon-Volatile Memory Control Utility IntroductionWriting to Flash modules, EEPROMs, or other non-

Pagina 667 - Duty Time Bar Properties

Table of Contents7Microcontrollers Debugger Manual How to View Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 668

Debugger ComponentsGeneral Debugger Components70Microcontrollers Debugger ManualKeying In CommandsYou can type Debugger commands after the in> term

Pagina 669 - ColdFire P&E Multilink/

Flash ProgrammingAutomated Application Programming700Microcontrollers Debugger ManualFigure 32.1 Flash Programming Acceptance Dialog BoxSelect the OK

Pagina 670

Flash ProgrammingAutomated Application Programming701Microcontrollers Debugger Manual Advanced Options: Erase PreventionSelect the Advanced button in

Pagina 671

Flash ProgrammingNVMC Graphical User Interface702Microcontrollers Debugger ManualNVMC Graphical User InterfaceThe NVMC utility is integrated into the

Pagina 672

Flash ProgrammingNVMC Graphical User Interface703Microcontrollers Debugger Manual • Disabled — A disabled module is not active on the chip, so program

Pagina 673 - Debugging Memory Map

Flash ProgrammingNVMC Graphical User Interface704Microcontrollers Debugger ManualFigure 32.6 Non-Volatile Memory Control Dialog BoxFor each block, th

Pagina 674 - Trigger Module Settings

Flash ProgrammingNVMC Graphical User Interface705Microcontrollers Debugger Manual The second checkbox of the Configuration group is Save and restore w

Pagina 675 - Connection Manager Dialog Box

Flash ProgrammingNVMC Graphical User Interface706Microcontrollers Debugger ManualNOTE You simply click on a module in the list to select and/or use Se

Pagina 676 - Set Derivative Dialog Box

Flash ProgrammingNVMC Graphical User Interface707Microcontrollers Debugger Manual Another way to load an .FPP parameter file is by clicking the Browse

Pagina 677 - SofTec ColdFire Connection

Flash ProgrammingNVMC Graphical User Interface708Microcontrollers Debugger ManualLoading an Application in FlashThe Load button and the Load menu sele

Pagina 678

Flash ProgrammingHardware Considerations709Microcontrollers Debugger Manual Hardware ConsiderationsThis section consists of hardware-specific informat

Pagina 679

Debugger ComponentsGeneral Debugger Components71Microcontrollers Debugger Manual Closing the Command Line During ExecutionWhen a command is executed f

Pagina 680

Flash ProgrammingNVMC Commands710Microcontrollers Debugger ManualNVMC CommandsThe following Flash commands can be issued through the debugger Command

Pagina 681 - SofTec ColdFire Menu Options

Flash ProgrammingNVMC Commands711Microcontrollers Debugger Manual FLASH INIT <fileName>|AUTOID loads the parameter file according to fileName (y

Pagina 682 - About Option

Flash ProgrammingNVMC Commands712Microcontrollers Debugger ManualFLASH LOADCONTEX restores current buffer content into the MCU SRAM.FLASH OVLBACKUP ba

Pagina 683 - Target Connection Dialog Box

Flash ProgrammingNVMC Commands713Microcontrollers Debugger Manual ExamplesFLASH ERASE 2,7This erases memory blocks 2 and 7.FLASH ERASE 2,4-6 8This era

Pagina 684

Flash ProgrammingNVMC Commands714Microcontrollers Debugger Manual

Pagina 685

715Microcontrollers Debugger Manual33Debugging Memory MapIntroductionThe Debugging Memory Map (DMM) is a software Manager handling all debugger access

Pagina 686

Debugging Memory MapThe DMM GUI716Microcontrollers Debugger ManualFigure 33.1 DMM Graphical User InterfaceThe DMM GUI shows a list of memory address

Pagina 687 - ColdFire On-Chip DBG

Debugging Memory MapThe DMM GUI717Microcontrollers Debugger Manual Pressing the Revert to Default button removes (after a warning dialog) the current

Pagina 688

Debugging Memory MapThe DMM GUI718Microcontrollers Debugger ManualAccess kindThe Access Kind list menu provides a way to indicate that the memory rang

Pagina 689 - ColdFire On-Chip DBG Module

Debugging Memory MapThe DMM GUI719Microcontrollers Debugger Manual Figure 33.3 DMM Type selectionNOTE CPU core-specific memory types and Priorities a

Pagina 690 - Automatic Mode

Debugger ComponentsGeneral Debugger Components72Microcontrollers Debugger ManualCache SizeSelect Cache Size in the menu to bring up the Size of the Ca

Pagina 691 - Sync PC DBG Feature

Debugging Memory MapThe DMM GUI720Microcontrollers Debugger ManualMemory Read CachingThe Refresh memory when halting option controls the debugger memo

Pagina 692 - User Triggers mode

Debugging Memory MapThe DMM GUI721Microcontrollers Debugger Manual CPU Core Types and PrioritiesThis section details the available cores and their res

Pagina 693

Debugging Memory MapDMM Commands722Microcontrollers Debugger ManualNOTE By factory/default setup, HCS08 DBG08 Fifo Registers have been protected to re

Pagina 694

Debugging Memory MapDMM Commands723Microcontrollers Debugger Manual List of commandsDMMDMM ADD <parameters>DMM DEL <module handle>DMM SAVE

Pagina 695 - General Settings

Debugging Memory MapDMM Commands724Microcontrollers Debugger Manual<address> the start address of the memory range<size> the size of the m

Pagina 696

Debugging Memory MapDMM Commands725Microcontrollers Debugger Manual DMM SAVE commandSyntaxDMM SAVE <mcuid>with <mcuid>, a part/device MCUI

Pagina 697 - Common Features

Debugging Memory MapDMM Commands726Microcontrollers Debugger ManualDMM CACHINGON commandSyntaxDMM CACHINGONPurposeData caching is engaged (default DMM

Pagina 698 - Book VI Contents

Debugging Memory MapDMM Commands727Microcontrollers Debugger Manual DMM WRITEREADBACKOFF commandSyntaxDMM WRITEREADBACKOFFPurpose DMM HCS12MERHANDLING

Pagina 699 - Flash Programming

Debugging Memory MapDMM Commands728Microcontrollers Debugger ManualDMM OPENGUI commandSyntaxDMM OPENGUI [mcuid]with <mcuid>, a part/device MCUID

Pagina 700

729Microcontrollers Debugger ManualBook VII - CommandsBook VII ContentsEach section of the Debugger manual includes information to help you become mor

Pagina 701

Debugger ComponentsGeneral Debugger Components73Microcontrollers Debugger Manual Demo Version LimitationsOnly 20 commands can be entered and then comm

Pagina 702 - NVMC Graphical User Interface

Book VII Contents730Microcontrollers Debugger Manual

Pagina 703 - NVMC Dialog Box

731Microcontrollers Debugger Manual34Debugger Engine CommandsCommands OverviewThe debugger supports scripting with the use of commands and command fil

Pagina 704

Debugger Engine CommandsCommands Overview732Microcontrollers Debugger ManualCommand Syntax To display the syntax of a command, type the command follow

Pagina 705 - Flash Module Handling

Debugger Engine CommandsCommands Overview733Microcontrollers Debugger Manual ENDWHILE Exits a WHILE loopFOCUS component Sets the focus on a specified

Pagina 706 - MCU Speed Information

Debugger Engine CommandsCommands Overview734Microcontrollers Debugger ManualBase CommandsBase commands are used to monitor the Simulator/Debugger targ

Pagina 707

Debugger Engine CommandsCommands Overview735Microcontrollers Debugger Manual RS register[=]value{,register[=]value}Sets a registerSStops execution of

Pagina 708

Debugger Engine CommandsCommands Overview736Microcontrollers Debugger ManualEnvironment CommandsSimulator/Debugger environment commands are used to mo

Pagina 709 - Hardware Considerations

Debugger Engine CommandsCommands Overview737Microcontrollers Debugger Manual Component CommandsComponent common commands are used to monitor component

Pagina 710 - NVMC Commands

Debugger Engine CommandsCommands Overview738Microcontrollers Debugger ManualComponent Specific CommandsComponent specific commands are associated with

Pagina 711

Debugger Engine CommandsCommands Overview739Microcontrollers Debugger Manual INSPECTORUPDATE Updates content of InspectorLS [symbol | *][;C|S] Display

Pagina 712

Debugger ComponentsGeneral Debugger Components74Microcontrollers Debugger ManualFigure 3.11 Split ViewsCoverage OperationsClick the folded/unfolded i

Pagina 713 - Examples

Debugger Engine CommandsCommands Overview740Microcontrollers Debugger ManualCommand Syntax TermsaddressA number matching a memory address. This number

Pagina 714

Debugger Engine CommandsCommands Overview741Microcontrollers Debugger Manual Example:d:/demo/myfile.txtExample:layout.hwlExample:d:/work/project.hwcco

Pagina 715

Debugger Engine CommandsDebugger Commands742Microcontrollers Debugger ManualDebugger CommandsThe commands available when you use the Simulator/Debugge

Pagina 716

Debugger Engine CommandsDebugger Commands743Microcontrollers Debugger Manual Example:in>ACTIVATE MemoryActivates the Memory Component and brings th

Pagina 717

Debugger Engine CommandsDebugger Commands744Microcontrollers Debugger ManualUsageATTRIBUTES listwhere list=command{,command}) command=CACHESIZE valueE

Pagina 718 - Access Size

Debugger Engine CommandsDebugger Commands745Microcontrollers Debugger Manual where list=command{,command}command= ADR (ON|OFF) | SMEM range | SPC addr

Pagina 719 - Priorities

Debugger Engine CommandsDebugger Commands746Microcontrollers Debugger ManualThe HSCROLLPOS command sets the position of the horizontal scroll box (the

Pagina 720 - Access while Running

Debugger Engine CommandsDebugger Commands747Microcontrollers Debugger Manual Scrolls three positions down. The third line of registers is displayed on

Pagina 721 - CPU Core Types and Priorities

Debugger Engine CommandsDebugger Commands748Microcontrollers Debugger Manual• ATTRIBUTES SMOD ~ Drag and drop from Module component to Source componen

Pagina 722 - DMM Commands

Debugger Engine CommandsDebugger Commands749Microcontrollers Debugger Manual The MODE command selects the display mode of variables. •In Automatic mod

Pagina 723 - List of commands

Debugger ComponentsGeneral Debugger Components75Microcontrollers Debugger Manual Output FileYou can redirect Coverage component results to an output f

Pagina 724 - DMM DEL command

Debugger Engine CommandsDebugger Commands750Microcontrollers Debugger Manual• ATTRIBUTES UPDATERATE ~ Select menu Data > Mode > Periodical• ATTR

Pagina 725 - DMM RELEASECACHES command

Debugger Engine CommandsDebugger Commands751Microcontrollers Debugger Manual – signed decimal, – unsigned decimal or – symbolic.•The COMPLEMENT comman

Pagina 726 - DMM WRITEREADBACKON command

Debugger Engine CommandsDebugger Commands752Microcontrollers Debugger ManualUsageATTRIBUTES listwhere list=command{,command}) command=FORMAT(bin|oct|h

Pagina 727 - DMM WRITEREADBACKOFF command

Debugger Engine CommandsDebugger Commands753Microcontrollers Debugger Manual The COLUMNWIDTH command sets the width of one column entry on the right p

Pagina 728 - DMM SETAHEADREADSIZE command

Debugger Engine CommandsDebugger Commands754Microcontrollers Debugger ManualThe COLLAPSE command folds one item. The item name must be given. The foll

Pagina 729

Debugger Engine CommandsDebugger Commands755Microcontrollers Debugger Manual Equivalent Operations• ATTRIBUTES COLUMNWIDTH ~ Modify column width with

Pagina 730 - Book VII Contents

Debugger Engine CommandsDebugger Commands756Microcontrollers Debugger ManualAUTOSIZEAUTOSIZE enables/disables windows autosizing. When on, the size of

Pagina 731 - Debugger Engine

Debugger Engine CommandsDebugger Commands757Microcontrollers Debugger Manual BCBC deletes a breakpoint at the specified address. When * is specified,

Pagina 732 - Available Command Lists

Debugger Engine CommandsDebugger Commands758Microcontrollers Debugger ManualBCKCOLORBCKCOLOR sets the background color.The background color defined wi

Pagina 733 - Debugger Engine Commands

Debugger Engine CommandsDebugger Commands759Microcontrollers Debugger Manual ComponentsDebugger engine.Example:in>BDFibonacci 0x805c TFibonacci 0x8

Pagina 734 - Base Commands

Debugger ComponentsGeneral Debugger Components76Microcontrollers Debugger ManualSplit View Associated Context MenuThe context menu for the split view

Pagina 735

Debugger Engine CommandsDebugger Commands760Microcontrollers Debugger ManualUsageBS address| function [{mark}] [P|T[ state]][;cond=”condition”[ state]

Pagina 736 - Environment Commands

Debugger Engine CommandsDebugger Commands761Microcontrollers Debugger Manual ComponentsDebugger engine.Example:in>BS 0x8000 TThis command sets a te

Pagina 737 - Component Commands

Debugger Engine CommandsDebugger Commands762Microcontrollers Debugger ManualComponentsDebugger engine.Example:in>cf \util\config.cmdLoads the confi

Pagina 738 - Component Specific Commands

Debugger Engine CommandsDebugger Commands763Microcontrollers Debugger Manual The new project directory is C:\Program Files\Freescale\CodeWarrior for M

Pagina 739

Debugger Engine CommandsDebugger Commands764Microcontrollers Debugger ManualExample Without “;C” Option:If a command1.txt file contains: bckcolor gree

Pagina 740 - Command Syntax Terms

Debugger Engine CommandsDebugger Commands765Microcontrollers Debugger Manual If a command2.txt file contains: bckcolor redExecution:in>cf command1.

Pagina 741 - Module Names

Debugger Engine CommandsDebugger Commands766Microcontrollers Debugger ManualCLOSEThe CLOSE command is used to close a component.Component names are: A

Pagina 742 - Debugger Commands

Debugger Engine CommandsDebugger Commands767Microcontrollers Debugger Manual CMDFILEThe CMDFILE command allows you to define all target specific comma

Pagina 743 - ATTRIBUTES

Debugger Engine CommandsDebugger Commands768Microcontrollers Debugger ManualExample:in>cr /Freescale/demo/myrecord.txt ;AThe myrecord.txt file is o

Pagina 744

Debugger Engine CommandsDebugger Commands769Microcontrollers Debugger Manual When address and range are omitted, disassembly begins at the address of

Pagina 745 - In the Register Component

Debugger ComponentsGeneral Debugger Components77Microcontrollers Debugger Manual DA-C Link OperationWhen you load the DA-C Link component, communicati

Pagina 746

Debugger Engine CommandsDebugger Commands770Microcontrollers Debugger ManualDBThe DB command displays the hexadecimal and ASCII values of the bytes in

Pagina 747 - In the Source Component

Debugger Engine CommandsDebugger Commands771Microcontrollers Debugger Manual DDEPROTOCOLThe DDEPROTOCOL command is used to configure the Debugger/Simu

Pagina 748 - In the Data Component

Debugger Engine CommandsDebugger Commands772Microcontrollers Debugger ManualDECODE_SKIPIn the HC08 CPU and HCS08 CPU components, the DECODE_SKIP comma

Pagina 749

Debugger Engine CommandsDebugger Commands773Microcontrollers Debugger Manual processing starts. A symbol cannot represent a command name. Note that a

Pagina 750 - In the Memory Component

Debugger Engine CommandsDebugger Commands774Microcontrollers Debugger ManualExample:A symbol named testCase is defined in the test application./* Load

Pagina 751

Debugger Engine CommandsDebugger Commands775Microcontrollers Debugger Manual DLThe DL command displays the hexadecimal values of the longwords in a sp

Pagina 752 - In the Inspector Component

Debugger Engine CommandsDebugger Commands776Microcontrollers Debugger ManualDUMPThe DUMP command writes everything visible in the Data component to th

Pagina 753

Debugger Engine CommandsDebugger Commands777Microcontrollers Debugger Manual ComponentsDebugger engine.Example:in>DW 0x8000,48000: FE80 45FD 8043 2

Pagina 754

Debugger Engine CommandsDebugger Commands778Microcontrollers Debugger ManualExample:in>define a=0x12in>define b=0x10in>e a+b in>=34The add

Pagina 755 - Components

Debugger Engine CommandsDebugger Commands779Microcontrollers Debugger Manual Example:if CUR_TARGET == 1000 /* Simulator */ set simelseif

Pagina 756 - AUTOSIZE

Debugger ComponentsGeneral Debugger Components78Microcontrollers Debugger ManualConnection Specification Dialog BoxIn the Connection Specification dia

Pagina 757 - Example 2:

Debugger Engine CommandsDebugger Commands780Microcontrollers Debugger ManualENDFORThe ENDFOR keyword is associated with the FOR command.UsageENDFORCom

Pagina 758 - BCKCOLOR

Debugger Engine CommandsDebugger Commands781Microcontrollers Debugger Manual ENDWHILEThe ENDWHILE keyword is associated with the WHILE command.UsageEN

Pagina 759 - Equivalent Operation

Debugger Engine CommandsDebugger Commands782Microcontrollers Debugger ManualEXITIn the Command line component, the EXIT command closes the Debugger ap

Pagina 760

Debugger Engine CommandsDebugger Commands783Microcontrollers Debugger Manual FILTERIn the Memory component, with the FILTER command, you select what y

Pagina 761 - More Examples:

Debugger Engine CommandsDebugger Commands784Microcontrollers Debugger Manual;WW match whole word is set.ComponentsSource component.Example:in>FIND

Pagina 762

Debugger Engine CommandsDebugger Commands785Microcontrollers Debugger Manual FOCUSThe FOCUS command sets the given component (component) as the destin

Pagina 763 - Examples:

Debugger Engine CommandsDebugger Commands786Microcontrollers Debugger ManualFOLDIn the Source component, the FOLD command hides the source text at the

Pagina 764 - Example With “;C” Option:

Debugger Engine CommandsDebugger Commands787Microcontrollers Debugger Manual FORThe FOR loop allows you to execute all commands up to the trailing END

Pagina 765

Debugger Engine CommandsDebugger Commands788Microcontrollers Debugger ManualFPRINTFFPRINTF is the standard ANSI C command: Writes formatted output str

Pagina 766

Debugger Engine CommandsDebugger Commands789Microcontrollers Debugger Manual GThe G command starts code execution in the emulated system at the curren

Pagina 767

Debugger ComponentsGeneral Debugger Components79Microcontrollers Debugger Manual Data ComponentThe Data window shown in Figure 3.18 contains the names

Pagina 768

Debugger Engine CommandsDebugger Commands790Microcontrollers Debugger ManualComponentsDebugger engine.Example:in>GO 0x8000Program execution is star

Pagina 769

Debugger Engine CommandsDebugger Commands791Microcontrollers Debugger Manual GOTOIFThe GOTOIF command diverts execution of the command file to the com

Pagina 770

Debugger Engine CommandsDebugger Commands792Microcontrollers Debugger ManualExample:in>GRAPHICS offHELPIn the Command line component, the HELP comm

Pagina 771 - DDEPROTOCOL

Debugger Engine CommandsDebugger Commands793Microcontrollers Debugger Manual UsageIF conditionWhere condition is same as defined in “C” language. Comp

Pagina 772 - DECODE_SKIP

Debugger Engine CommandsDebugger Commands794Microcontrollers Debugger ManualComponentsInspector component.Example:in>loadio swapin>Inspect<AT

Pagina 773

Debugger Engine CommandsDebugger Commands795Microcontrollers Debugger Manual LFThe LF command initiates logging of commands and responses to an extern

Pagina 774

Debugger Engine CommandsDebugger Commands796Microcontrollers Debugger ManualLOADThe LOAD command loads a framework application (.abs file) for a debug

Pagina 775

Debugger Engine CommandsDebugger Commands797Microcontrollers Debugger Manual • ADD_SYMBOLS appends the symbol information to the existing symbol table

Pagina 776

Debugger Engine CommandsDebugger Commands798Microcontrollers Debugger ManualLOADSYMBOLSThis command is similar to the LOAD command but only loads debu

Pagina 777

Debugger Engine CommandsDebugger Commands799Microcontrollers Debugger Manual UsageLOG type [=] state {[,] type [=] state}Where type is one of the foll

Pagina 778

Table of Contents8Microcontrollers Debugger ManualLoading the Full Chip Simulation Connection . . . . . . . . . . . . . . . . . . . . . .246Loading th

Pagina 779 - ENDFOCUS

Debugger ComponentsGeneral Debugger Components80Microcontrollers Debugger Manual• Select a variable in the Data component, and left mouse button + W k

Pagina 780

Debugger Engine CommandsDebugger Commands800Microcontrollers Debugger Manual bckcolor yellow at 1000 bckcolor whiteENDIFThe following log file is ge

Pagina 781 - ENDWHILE

Debugger Engine CommandsDebugger Commands801Microcontrollers Debugger Manual i 0x3 (3)!ENDFORWhen commands executed from a command file are

Pagina 782

Debugger Engine CommandsDebugger Commands802Microcontrollers Debugger ManualExample 4:When executing the following file:define i = 1REPEAT define i

Pagina 783

Debugger Engine CommandsDebugger Commands803Microcontrollers Debugger Manual LSIn the Command Line window, the LS command lists the values of symbols

Pagina 784 - FINDPROC

Debugger Engine CommandsDebugger Commands804Microcontrollers Debugger ManualWhen LS is performed on a single symbol (e.g., in>ls counter) that is a

Pagina 785

Debugger Engine CommandsDebugger Commands805Microcontrollers Debugger Manual MSThe MS command sets a specified block of memory to a specified list of

Pagina 786

Debugger Engine CommandsDebugger Commands806Microcontrollers Debugger ManualUsageNB [base]Where base is the new number base (2, 8, 10 or 16).Component

Pagina 787

Debugger Engine CommandsDebugger Commands807Microcontrollers Debugger Manual Table Example:in>NB 16The number base is hexadecimal.NOCRThe NOCR comm

Pagina 788

Debugger Engine CommandsDebugger Commands808Microcontrollers Debugger ManualComponentsDebugger engine.Example:in>NOLFThe current Log File is closed

Pagina 789

Debugger Engine CommandsDebugger Commands809Microcontrollers Debugger Manual OUTPUTWith OUTPUT, you can redirect the Coverage component results to an

Pagina 790

Debugger ComponentsGeneral Debugger Components81Microcontrollers Debugger Manual Example:With two variables variable_1, variable_2; expression entered

Pagina 791 - GRAPHICS

Debugger Engine CommandsDebugger Commands810Microcontrollers Debugger ManualUsageP [address]address: is an address constant expression, the address at

Pagina 792

Debugger Engine CommandsDebugger Commands811Microcontrollers Debugger Manual PRINTFThe PRINTF is the standard ANSI C command: Prints formatted output

Pagina 793 - INSPECTOROUTPUT

Debugger Engine CommandsDebugger Commands812Microcontrollers Debugger ManualRDThe RD command displays the content of specified registers. The display

Pagina 794 - INSPECTORUPDATE

Debugger Engine CommandsDebugger Commands813Microcontrollers Debugger Manual RECORDIn the SoftTrace component, the RECORD command switches frame recor

Pagina 795

Debugger Engine CommandsDebugger Commands814Microcontrollers Debugger ManualRESETIn the Profiler and Coverage component, the RESET command resets all

Pagina 796

Debugger Engine CommandsDebugger Commands815Microcontrollers Debugger Manual RETURNThe RETURN command terminates the current command processing level

Pagina 797 - LOADCODE

Debugger Engine CommandsDebugger Commands816Microcontrollers Debugger ManualUsageRS register[=]value{,register[=]value}register: Specifies the name of

Pagina 798 - LOADSYMBOLS

Debugger Engine CommandsDebugger Commands817Microcontrollers Debugger Manual SAVEThe SAVE command saves a specified block of memory to a specified fil

Pagina 799

Debugger Engine CommandsDebugger Commands818Microcontrollers Debugger Manualbreakpoints (SAVEBP on) when the user quits the Simulator/Debugger or load

Pagina 800

Debugger Engine CommandsDebugger Commands819Microcontrollers Debugger Manual SETCOLORSThe SETCOLORS command is used to change the colors for a specifi

Pagina 801 - Example 3:

Debugger ComponentsGeneral Debugger Components82Microcontrollers Debugger ManualScope SubmenuThe Scope Submenu is activated by highlighting the Scope

Pagina 802 - Example 4:

Debugger Engine CommandsDebugger Commands820Microcontrollers Debugger ManualUsageSLAY fileNameComponentsDebugger engine.Example:in>slay /hiwave/dem

Pagina 803

Debugger Engine CommandsDebugger Commands821Microcontrollers Debugger Manual SMEMIn the Source component, the SMEM command loads the corresponding mod

Pagina 804

Debugger Engine CommandsDebugger Commands822Microcontrollers Debugger Manualassembler) (e.g., fibo.c), since all debugging information is contained in

Pagina 805 - Description

Debugger Engine CommandsDebugger Commands823Microcontrollers Debugger Manual ComponentsAssembler, Memory and Source component.Example:in>Assembly &

Pagina 806 - Table Example:

Debugger Engine CommandsDebugger Commands824Microcontrollers Debugger ManualSRECThe SREC command initiates the loading of Freescale S-Records from a s

Pagina 807

Debugger Engine CommandsDebugger Commands825Microcontrollers Debugger Manual Example:in>STEPINTOSTEP INTOTRACEDTRACED in the status line indicates

Pagina 808

Debugger Engine CommandsDebugger Commands826Microcontrollers Debugger ManualSTEPOVERThe STEPOVER command executes the procedure as a unit, and then st

Pagina 809

Debugger Engine CommandsDebugger Commands827Microcontrollers Debugger Manual STOPThe STOP command stops execution of the emulation processor. Use the

Pagina 810 - PAUSETEST

Debugger Engine CommandsDebugger Commands828Microcontrollers Debugger ManualUsageT [address][,count]address: is an address constant expression, the ad

Pagina 811 - PTRARRAY

Debugger Engine CommandsDebugger Commands829Microcontrollers Debugger Manual ComponentsDebugger engine.Example:in>TESTBOX "Step 1: init all va

Pagina 812 - Example 1:

Debugger ComponentsGeneral Debugger Components83Microcontrollers Debugger Manual In Local Scope, if the Data component is in Locked or Periodical mode

Pagina 813

Debugger Engine CommandsDebugger Commands830Microcontrollers Debugger ManualExample:DEFINE test = 1...UNDEF testWhen the test variable is no longer ne

Pagina 814

Debugger Engine CommandsDebugger Commands831Microcontrollers Debugger Manual applicationfiboCount 0x800 (2048)counter 0x802 (2050)_startupData

Pagina 815

Debugger Engine CommandsDebugger Commands832Microcontrollers Debugger ManualUNFOLDIn the Source component, the UNFOLD command is used to display the c

Pagina 816

Debugger Engine CommandsDebugger Commands833Microcontrollers Debugger Manual UPDATERATEIn the Data component and Memory component, the UPDATERATE comm

Pagina 817

Debugger Engine CommandsDebugger Commands834Microcontrollers Debugger ManualProcedure 6.0.10Register 6.0.14Memory 6.0.19Data

Pagina 818

Debugger Engine CommandsDebugger Commands835Microcontrollers Debugger Manual Example:WAIT 100T...Pauses for 10 seconds before executing the T Trace in

Pagina 819 - SETCOLORS

Debugger Engine CommandsDebugger Commands836Microcontrollers Debugger ManualWHILEThe WHILE command allows you to execute a sequence of commands as lon

Pagina 820

Debugger Engine CommandsDebugger Commands837Microcontrollers Debugger Manual UsageWL range listrange: is an address range constant that defines the bl

Pagina 821

Debugger Engine CommandsDebugger Commands838Microcontrollers Debugger ManualZOOMIn the Data component, the ZOOM command is used to display the member

Pagina 822

839Microcontrollers Debugger ManualBook VIII - Environment VariablesBook VIII ContentsEach section of the Debugger manual includes information to help

Pagina 823

Debugger ComponentsGeneral Debugger Components84Microcontrollers Debugger ManualMode SubmenuThe Mode Submenu is activated by highlighting the Mode ent

Pagina 824 - STEPINTO

Book VIII Contents840Microcontrollers Debugger Manual

Pagina 825

841Microcontrollers Debugger Manual35Debugger Engine Environment VariablesThis chapter describes the environment variables that the Debugger uses. Oth

Pagina 826 - STEPOVER

Debugger Engine Environment VariablesDebugger Environment842Microcontrollers Debugger ManualDebugger EnvironmentVarious parameters of the Debugger may

Pagina 827

Debugger Engine Environment VariablesDebugger Environment843Microcontrollers Debugger Manual • If the tool is launched using a File Manager/Explorer,

Pagina 828

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)844Microcontrollers Debugger ManualLocal Configuration File (usuall

Pagina 829

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)845Microcontrollers Debugger Manual Default Layout Configuration (P

Pagina 830

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)846Microcontrollers Debugger ManualExample:Window5=Memory 50 60

Pagina 831

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)847Microcontrollers Debugger Manual • The toolbar, status bar, head

Pagina 832

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)848Microcontrollers Debugger ManualSelect HI-WAVE section to retrie

Pagina 833 - UPDATERATE

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)849Microcontrollers Debugger Manual NOTE When using WinEdit, do not

Pagina 834

Debugger ComponentsGeneral Debugger Components85Microcontrollers Debugger Manual NOTE In Locked and Frozen mode, variables from a specific module are

Pagina 835

Debugger Engine Environment VariablesEnvironment Variables850Microcontrollers Debugger ManualEnvironment VariablesThe remainder of this section is dev

Pagina 836

Debugger Engine Environment VariablesEnvironment Variables851Microcontrollers Debugger Manual Arguments<path>: Paths separated by semicolons, wi

Pagina 837

Debugger Engine Environment VariablesEnvironment Variables852Microcontrollers Debugger ManualExample:DEFAULTDIR=C:\INSTALL\PROJECTSee also:The Current

Pagina 838

Debugger Engine Environment VariablesEnvironment Variables853Microcontrollers Debugger Manual GENPATH: #include “File” PathToolsCompiler, Linker, Deco

Pagina 839 - Variables

Debugger Engine Environment VariablesEnvironment Variables854Microcontrollers Debugger ManualLIBRARYPATH: ‘include <File>’ PathToolsCompiler, EL

Pagina 840 - Book VIII Contents

Debugger Engine Environment VariablesEnvironment Variables855Microcontrollers Debugger Manual OBJPATH: Object File PathToolsCompiler, Linker, Decoder,

Pagina 841 - Environment Variables

Debugger Engine Environment VariablesEnvironment Variables856Microcontrollers Debugger ManualArguments<directory>: Directory to be used for temp

Pagina 842 - Debugger Environment

Debugger Engine Environment VariablesSearch Order for Source Files857Microcontrollers Debugger Manual NO, OFF: The environment variable LIBRARYPATH: ‘

Pagina 843 - (MCUTOOLS.INI - PC

Debugger Engine Environment VariablesDebugger Files858Microcontrollers Debugger ManualIn the Debugger for Object Files (HILOADER)1. Path coded in the

Pagina 844 - (usually project.ini)

Debugger Engine Environment VariablesDebugger Files859Microcontrollers Debugger Manual *.DLL A .DLL file that contains one or more functions compiled,

Pagina 845 - (PROJECT.INI)

Debugger ComponentsGeneral Debugger Components86Microcontrollers Debugger ManualPointer as Array OptionIn the Data menu’s Options submenu, choose Opti

Pagina 846 - Other Parameters

Debugger Engine Environment VariablesDebugger Files860Microcontrollers Debugger ManualProject.Ini Debugger Project Initialization File*.REC Recorder F

Pagina 847 - Ini File Activation

861Microcontrollers Debugger Manual36Connection-Specific Environment VariablesSome of the environment variables that can be used in the debugging proc

Pagina 848 - Environment Variable Paths

Connection-Specific Environment VariablesConnection-Specific Environment Variables862Microcontrollers Debugger Manual

Pagina 849 - Line Continuation

863Microcontrollers Debugger ManualBook IX - Debugger LegacyBook IX ContentsEach section of the Debugger manual includes information to help you becom

Pagina 850

Book IX Contents864Microcontrollers Debugger Manual

Pagina 851

865Microcontrollers Debugger Manual37Legacy PEDebug Target Interface The PEDebug Target Interface has become “Legacy” and has been replaced by specifi

Pagina 852

Legacy PEDebug Target InterfaceConnection Selection or Change Always Available within IDE866Microcontrollers Debugger ManualConnection Selection or Ch

Pagina 853 - GENPATH: #include “File” Path

867Microcontrollers Debugger Manual38Legacy Target Interfaces RemovedThe following hardware Target Interfaces have been discontinued:For HC08 CPU:• Hi

Pagina 854

Legacy Target Interfaces Removed868Microcontrollers Debugger Manual

Pagina 855 - TMP: Temporary directory

869Microcontrollers Debugger Manual39HC(S)08 Full-Chip Simulator Components No Longer Supported List of HC(S)08 FCS Components No Longer SupportedThe

Pagina 856

Debugger ComponentsGeneral Debugger Components87Microcontrollers Debugger Manual Associated Context MenuThis section describes the context menus assoc

Pagina 857 - Search Order for Source Files

HC(S)08 Full-Chip Simulator Components No Longer SupportedList of HC(S)08 FCS Components No Longer Supported870Microcontrollers Debugger Manual• Testt

Pagina 858 - Debugger Files

871Microcontrollers Debugger ManualIndexAA command 742A icon 506About Box 52About menu entry 51About Option 399About option 500, 572, 682.abs file 61A

Pagina 859

872Microcontrollers Debugger ManualHardware 517Marking 115Multiple selection 161Permanent 157Position 164Temporary 157, 165with Register Condition 168

Pagina 860

873Microcontrollers Debugger Manual RECORD 813REPEAT 799, 813RESET 814RESTART 814RETURN 815RS 815S816SAVE 817SAVEBP 817SET 818WHILE 799Communication 6

Pagina 861 - Connection-Specific

874Microcontrollers Debugger ManualDDA-CConfigure file types 221Configuring 219Configuring tools 226Database directory 221Debugger Interface 230Debugg

Pagina 862

875Microcontrollers Debugger Manual FIND 783FINDPROC 784FOCUS 785FOLD 786FONT 786FOR 787FPRINTF 788FRAMES 788G789GO 789GOTO 790GOTOIF 791GRAPHICS 791H

Pagina 863

876Microcontrollers Debugger ManualDecimalmode 151Default IP address 412DEFAULT.ENV 842, 851, 852, 856default.mem file 580DEFAULTDIR 851DefaultDir 200

Pagina 864 - Book IX Contents

877Microcontrollers Debugger Manual Defining 421Record modes 424EXECUTE command 781Execute menu entry 625EXIT command 782Exit menu entry 35Expert mode

Pagina 865 - Interface

878Microcontrollers Debugger ManualFind Procedure dialog box 123Find Procedure menu entry 121FINDPROC command 784Flash 674, 682Commands 710Disabling 7

Pagina 866 - Previously Created

879Microcontrollers Debugger Manual Display 206display 82Values and types 79GO command 789Go to Frame 536Go to Frame menu entry 131Go to Line dialog b

Pagina 867 - Legacy Target Interfaces

Debugger ComponentsGeneral Debugger Components88Microcontrollers Debugger ManualSUBMENU Open ModuleThe dialog box shown in Figure 3.31 lists all sourc

Pagina 868

880Microcontrollers Debugger ManualReset to Normal Mode 481Select derivative 481Select Derivative dialog box 483Set Connection dialog box 479Setup 480

Pagina 869 - Supported

881Microcontrollers Debugger Manual Connection Manager Window - Advanced Settings Tab 384Connection Manager Window Connect to Target Tab 382Connection

Pagina 870 - • Winlift

882Microcontrollers Debugger ManualLED instrument attributes 150Left menu entry 144LF command 795LIBPATH 856LIBRARYPATH 854Line Continuation 849Load a

Pagina 871

883Microcontrollers Debugger Manual 16-Pin Header Signals tabStatus Area 340Advanced Options Dialog Box 343Cable Connection Communications Type 336Con

Pagina 872

884Microcontrollers Debugger ManualOObject Info Bar 53OBJPATH 855Oct menu entry 84, 95, 113, 207Octal 207Octal format 207OPEN command 808Open Componen

Pagina 873

885Microcontrollers Debugger Manual Protect DBG FIFO content from unexpected reads 532PTRARRAY command 811Pulse Width 152PVCS 857RR command 256, 345,

Pagina 874 - , 513, 518

886Microcontrollers Debugger ManualFirst Steps Using Stationery Wizard 562MCU Configuration dialog box 564Reset to normal mode 565Select derivative 56

Pagina 875 - , 95, 113, 207

887Microcontrollers Debugger Manual SMEM command 821SMOD command 821SofTec ColdFireAbout 682Bus Trace 682CodeWarrior IDE and SofTec ColdFire connectio

Pagina 876

888Microcontrollers Debugger ManualStart recording after trigger hit and halt when fifo is full 527Start/Continue menu entry 42Starting an Application

Pagina 877 - , 533, 536

889Microcontrollers Debugger Manual Configuration 199Default Layout Configuration 845Demo Version Limitations 26Drag and Drop 55Engine 25Layout 846Pro

Pagina 878

Debugger ComponentsGeneral Debugger Components89Microcontrollers Debugger Manual NOTE It is important to distinguish between dragging a variable name

Pagina 879

890Microcontrollers Debugger ManualCounting 176, 184Definition 157Deleting 178, 184Read 174, 182Read, Write 158Read/Write 175, 183Write 175Watchpoints

Pagina 880

891Microcontrollers Debugger Manual

Pagina 881

892Microcontrollers Debugger Manual

Pagina 882

Table of Contents9Microcontrollers Debugger Manual Cycle Power Radio Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 883

Debugger ComponentsGeneral Debugger Components90Microcontrollers Debugger ManualAssociated CommandsADDXPR, ATTRIBUTES, DUMP, PTRARRAY, SMOD, SPROC, UP

Pagina 884

Debugger ComponentsGeneral Debugger Components91Microcontrollers Debugger Manual NOTE Memory values that have changed since the last refresh status ar

Pagina 885

Debugger ComponentsGeneral Debugger Components92Microcontrollers Debugger ManualBanked/Window Paged Memory: Physical/Local vs. Logical displayThis sec

Pagina 886

Debugger ComponentsGeneral Debugger Components93Microcontrollers Debugger Manual • Hold down the left mouse button + A key to jump to a memory address

Pagina 887

Debugger ComponentsGeneral Debugger Components94Microcontrollers Debugger ManualWord Size SubmenuWith the Word Size submenu shown in Figure 3.35, you

Pagina 888

Debugger ComponentsGeneral Debugger Components95Microcontrollers Debugger Manual Format SubmenuWith the Format Submenu shown in Figure 3.36, you can s

Pagina 889

Debugger ComponentsGeneral Debugger Components96Microcontrollers Debugger ManualDisplay SubmenuWith the Display submenu shown in Figure 3.38, you can

Pagina 890

Debugger ComponentsGeneral Debugger Components97Microcontrollers Debugger Manual Fill Memory The Fill Memory dialog box shown in Figure 3.39 allows yo

Pagina 891

Debugger ComponentsGeneral Debugger Components98Microcontrollers Debugger ManualCopyMem Submenu The CopyMem dialog box shown in Figure 3.41 allows you

Pagina 892

Debugger ComponentsGeneral Debugger Components99Microcontrollers Debugger Manual RefreshSelect the Refresh menu entry to refresh the Memory window cur

Commenti su questo manuale

Nessun commento