Freescale-semiconductor Microcontrollers Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Freescale-semiconductor Microcontrollers herunter. Freescale Semiconductor Microcontrollers User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 892
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Microcontrollers
Debugger Manual
Revised: 22 October 2007
Seitenansicht 0
1 2 3 4 5 6 ... 891 892

Inhaltsverzeichnis

Seite 1 - Debugger Manual

Microcontrollers Debugger Manual Revised: 22 October 2007

Seite 2 - How to Contact Us

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

Seite 3

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

Seite 4 - 4 Control Points 157

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

Seite 5

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

Seite 6 - 6 How To... 199

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

Seite 7

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

Seite 8

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

Seite 9 - 16 SofTec HC08 Connection 395

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

Seite 10

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

Seite 11

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

Seite 12

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

Seite 13

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

Seite 14 - Connections

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

Seite 15

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

Seite 16 - Features

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

Seite 17 - Book VII - Commands

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

Seite 18 - Book IX - Debugger Legacy

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

Seite 19 - Supported 869

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

Seite 20 - Table of Contents

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

Seite 21 - Introduction

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

Seite 22 - Manual Contents

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

Seite 23 - Book I - Debugger Engine

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

Seite 24 - Book I Contents

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

Seite 25

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

Seite 26 - Debugger Features

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

Seite 27

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

Seite 28 - Starting the Debugger

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

Seite 29 - Debugger Command Line Start

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

Seite 30 - Command Line Options

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

Seite 31 - Order of Commands

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

Seite 32 - Debugger Main Window

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

Seite 33 - Main Window Menu Bar

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

Seite 34 - File Menu

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

Seite 35

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

Seite 36 - Configuration Window

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

Seite 37 - Command Buttons:

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

Seite 38 - Customizing the Toolbar

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

Seite 39 - Examples of View Menu Options

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

Seite 40

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

Seite 41 - Run Menu

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

Seite 42 - Shift + F11 keys

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

Seite 43 - Connection Menu

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

Seite 44 - Loading an Executable File

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

Seite 45 - Load Options Buttons

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

Seite 46 - Startup Command File

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

Seite 47 - Component Menu

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

Seite 48

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

Seite 49

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

Seite 50 - Window Menu

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

Seite 51 - Help Menu

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

Seite 52 - Component Associated Menus

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

Seite 53 - Component Context Menu

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

Seite 54 - Example:

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

Seite 55 - Drag and Drop Combinations

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

Seite 56

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

Seite 57

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

Seite 58

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

Seite 59 - Selection Dialog Box

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

Seite 60

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

Seite 61

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

Seite 62 - Loading Component Windows

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

Seite 63

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

Seite 64 - General Debugger Components

Debugger ComponentsVisualization Utilities156Microcontrollers Debugger Manual

Seite 65 - Assembly Menu

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

Seite 66

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

Seite 67

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

Seite 68 - Retrieving Source Statement

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

Seite 69 - Command Line Component

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

Seite 70

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

Seite 71 - Command Menu

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

Seite 72 - Cache Size

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

Seite 73 - Coverage Component

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

Seite 74 - Coverage Menu

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

Seite 75 - Output File

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

Seite 76 - DA-C Link Component

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

Seite 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

Seite 78

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

Seite 79 - Data Component

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

Seite 80 - Expression Editor

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

Seite 81 - Data Menu

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

Seite 82 - Scope Submenu

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

Seite 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

Seite 84 - Mode Submenu

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

Seite 85 - Options Submenu

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

Seite 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

Seite 87

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

Seite 88 - SUBMENU Open Module

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

Seite 89

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

Seite 90 - Memory Component

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

Seite 91 - Memory Address Spaces

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

Seite 92 - Memory Operations

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

Seite 93 - Memory Menu

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

Seite 94 - Word Size Submenu

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

Seite 95

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

Seite 96 - Display Submenu

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

Seite 97 - Display Address

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

Seite 98 - Search Pattern

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

Seite 99 - Update Rate

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

Seite 100 - Memory Context Menu

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

Seite 101 - Drag Out

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

Seite 102 - Module Component

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

Seite 103 - Module Menu

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

Seite 104 - Procedure Component

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

Seite 105 - Drop Into

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

Seite 106 - Profiler Component

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

Seite 107 - Profiler Operations

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

Seite 108 - Output File Filter

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

Seite 109 - Recorder Component

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

Seite 110 - Recorder Menu

Real Time Kernel AwarenessOSEK Kernel Awareness198Microcontrollers Debugger Manual

Seite 111 - Register Component

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

Seite 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

Seite 113

Table of Contents20Microcontrollers Debugger Manual

Seite 114

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

Seite 115 - Source Component

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

Seite 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

Seite 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

Seite 118 - Source Menus

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

Seite 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

Seite 120

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

Seite 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

Seite 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,

Seite 123 - Folding Menu

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

Seite 124

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

Seite 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

Seite 126

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

Seite 127 - File Control Commands

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

Seite 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

Seite 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

Seite 130 - Trace Component

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

Seite 131 - Associated Context Menu

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

Seite 132

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

Seite 133 - Visualization Utilities

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

Seite 134 - Stack Icon

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

Seite 135 - Exceptions Icon

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

Seite 136 - Object Pool

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

Seite 137 - Inspector Operations

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

Seite 138

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

Seite 139 - Inspector Menu

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

Seite 140

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

Seite 141 - Visualization Tool Component

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

Seite 142 - VisualizationTool Menu

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

Seite 143

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

Seite 144

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

Seite 145 - VisualizationTool Properties

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

Seite 146 - Instruments

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

Seite 147 - Bar Instrument

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

Seite 148 - Bitmap Instrument

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

Seite 149 - Knob Instrument

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

Seite 150 - 7-Segment Display Instrument

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

Seite 151 - Switch Instrument

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

Seite 152 - Text Instrument

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

Seite 153

Synchronized Debugging Through DA-C IDETroubleshooting236Microcontrollers Debugger Manual

Seite 154

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

Seite 155

Book II Contents238Microcontrollers Debugger Manual

Seite 156

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

Seite 157 - Control Points

Book I Contents24Microcontrollers Debugger Manual

Seite 158 - Breakpoints

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

Seite 159

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

Seite 160 - Breakpoints Tab

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

Seite 161 - Checking Expressions

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

Seite 162 - Saving Breakpoints

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

Seite 163

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

Seite 164 - Setting Breakpoints

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

Seite 165 - Permanent Breakpoints

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

Seite 166 - Counting Breakpoints

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

Seite 167 - Conditional Breakpoints

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

Seite 168 - Deleting Breakpoints

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

Seite 169

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

Seite 170 - Watchpoints

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

Seite 171

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

Seite 172 - Watchpoints Tab

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

Seite 173 - Checking Syntax

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

Seite 174 - Setting Watchpoints

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

Seite 175 - Setting a Write Watchpoint

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

Seite 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

Seite 177

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

Seite 178 - Deleting a Watchpoint

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

Seite 179 - Markpoints

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

Seite 180

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

Seite 181 - Markpoints Tab

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

Seite 182 - Setting Markpoints

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

Seite 183 - Setting a Memory Markpoint

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

Seite 184 - Halting on a Control Point

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

Seite 185 - Awareness

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

Seite 186 - Task Description Language

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

Seite 187 - Real Time Kernel Awareness

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

Seite 188 - Application Example

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

Seite 189

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

Seite 190 - OSEK Kernel Awareness

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

Seite 191 - ORTI File and Filename

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

Seite 192 - ORTI File Structure

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

Seite 193 - OSEK RTK Inspector Component

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

Seite 194 - Inspector Task

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

Seite 195 - Inspector SystemTimer

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

Seite 196 - Inspector Alarm

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

Seite 197 - Inspector Message

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

Seite 198

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

Seite 199 - How To

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

Seite 200 - MCUTOOLS.INI

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

Seite 201 - Automating Debugger Startup

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

Seite 202 - How to Start an Application

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

Seite 203 - How to Stop an Application

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

Seite 204 - Step Out from a Function Call

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

Seite 205 - How to Work on Variables

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

Seite 206 - Using Context Menu

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

Seite 207

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

Seite 208 - Allocated

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

Seite 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

Seite 210 - Modify a Register Content

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

Seite 211 - Register is Pointing

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

Seite 212 - Using Drag and Drop

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

Seite 213 - How to View Code

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

Seite 214

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

Seite 215 - CodeWarrior IDE Integration

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

Seite 216

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

Seite 217 - Debugger DDE Capabilities

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

Seite 218

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

Seite 219 - Through DA-C IDE

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

Seite 220 - Create New Project

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

Seite 221 - Configure File Types

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

Seite 222 - Configure Library Path

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

Seite 223

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

Seite 224 - Adding Files to Project

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

Seite 225 - Building The Database

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

Seite 226 - Configuring The Tools

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

Seite 227 - Compiler Configuration

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

Seite 228 - Linker Configuration

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

Seite 229 - Maker Configuration

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

Seite 230 - Debugger Interface

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

Seite 231

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

Seite 232

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

Seite 233

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

Seite 234 - Troubleshooting

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

Seite 235

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

Seite 236

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

Seite 237 - Book II - HC08 Debug

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

Seite 238 - Book II Contents

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

Seite 239 - First Steps

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

Seite 240 - Technical Considerations

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

Seite 241

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

Seite 242

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

Seite 243

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

Seite 244

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

Seite 245

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

Seite 246 - Switching Connections

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

Seite 247

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

Seite 248 - Connection

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

Seite 249

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

Seite 250

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

Seite 251 - BDM Connection

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

Seite 252

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

Seite 253 - HC08 Full Chip Simulation

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

Seite 254

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

Seite 255 - Select Device Option

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

Seite 256 - View Register Files Option

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

Seite 257 - Peripheral Modules Options

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

Seite 258 - ADC Module Option

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

Seite 259 - ADC User Commands

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

Seite 260

HC08 Full Chip SimulationConfiguration Procedure332Microcontrollers Debugger Manual

Seite 261 - CGM Commands

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

Seite 262 - High-Resolution PWM Module

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

Seite 263 - High-Resolution PWM Commands

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

Seite 264 - GOTOCYCLE Command

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

Seite 265 - SHTDWN Command

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

Seite 266 - Input/Output Ports Commands

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

Seite 267 - INPUTS Command

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

Seite 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

Seite 269 - Keyboard Interrupt Module

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

Seite 270 - Keyboard Interrupt Commands

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

Seite 271

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

Seite 272

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

Seite 273

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

Seite 274 - Commands

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

Seite 275

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

Seite 276 - FCSMSCAN Controller Module

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

Seite 277 - FCSDemo CAN Program

MON08 Interface ConnectionDevice Class Description348Microcontrollers Debugger Manual

Seite 278

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

Seite 279

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

Seite 280

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

Seite 281

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

Seite 282

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

Seite 283

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

Seite 284

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

Seite 285

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

Seite 286

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

Seite 287

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

Seite 288

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

Seite 289

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

Seite 290 - FCSMSCAN Commands

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

Seite 291 - CANOUT Command

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

Seite 292

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

Seite 293

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

Seite 294 - FCSSCI Commands

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

Seite 295 - SCDO Command

ICS MON08 Interface ConnectionDevice Class Description364Microcontrollers Debugger Manual

Seite 296

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

Seite 297

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

Seite 298 - FCSSLIC Commands

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

Seite 299 - SLCDI Command

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

Seite 300 - SLCOUT Command

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

Seite 301

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

Seite 302 - FCSSPI Commands

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

Seite 303 - SPDO Command

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

Seite 304 - FCSTimer Interface Module

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

Seite 305

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

Seite 306

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

Seite 307

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

Seite 308

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

Seite 309

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

Seite 310

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

Seite 311

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

Seite 312

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

Seite 313

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

Seite 314

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

Seite 315

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

Seite 316

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

Seite 317

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

Seite 318

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

Seite 319

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

Seite 320

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

Seite 321

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

Seite 322

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

Seite 323

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

Seite 324

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

Seite 325

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

Seite 326

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

Seite 327

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

Seite 328 - USB Commands

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

Seite 329 - USBIN Command

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

Seite 330 - USBOUT Command

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

Seite 331 - USBRESET Command

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

Seite 332

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

Seite 333 - MON08 Interface

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

Seite 334 - MON08 Interface Connection

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

Seite 335 - Advanced Settings Tab

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

Seite 336 - Target Has RESET Button

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

Seite 337

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

Seite 338 - Target MCU Security Bytes

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

Seite 339

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

Seite 340 - STATUS Area

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

Seite 341

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

Seite 342

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

Seite 343 - Sync to PLL Change Checkbox

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

Seite 344

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

Seite 345

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

Seite 346 - Device Class Description

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

Seite 347 - Class 4 Device

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

Seite 348

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

Seite 349 - ICS MON08 Interface

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

Seite 350 - Connection Procedure

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

Seite 351

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

Seite 352

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

Seite 353

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

Seite 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

Seite 355

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

Seite 356

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

Seite 357

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

Seite 358

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

Seite 359

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

Seite 360

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

Seite 361

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

Seite 362 - Class 3 Device

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

Seite 363

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

Seite 364

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

Seite 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

Seite 366

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

Seite 367

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

Seite 368

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

Seite 369

Book III Contents430Microcontrollers Debugger Manual

Seite 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

Seite 371

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

Seite 372

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

Seite 373

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

Seite 374 - Device Option

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

Seite 375 - Active Mode Menu Options

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

Seite 376

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

Seite 377

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

Seite 378

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

Seite 379 - Debugging Tips

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

Seite 380

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

Seite 381 - Cyclone Pro Connections

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

Seite 382

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

Seite 383

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

Seite 384

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

Seite 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

Seite 386 - Power Up/Down Radio Buttons

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

Seite 387

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

Seite 388

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

Seite 389

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

Seite 390

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

Seite 391

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

Seite 392

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

Seite 393

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

Seite 394 - Class 8 Device

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

Seite 395 - SofTec HC08 Connection

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

Seite 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

Seite 397

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

Seite 398 - User’s Manual Option

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

Seite 399 - MCU Configuration Dialog Box

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

Seite 400 - About Dialog Box

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

Seite 401 - HC08 FSICEBASE Emulator

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

Seite 402 - System Features

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

Seite 403 - System Components

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

Seite 404 - Additional Components

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

Seite 405 - Setting Up the Hardware

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

Seite 406

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

Seite 407 - Establishing Communication

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

Seite 408

HCS08 Full Chip SimulationPeripheral Modules Commands466Microcontrollers Debugger Manual

Seite 409 - Setting Up the System

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

Seite 410

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

Seite 411

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

Seite 412

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

Seite 413

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

Seite 414 - Specifying a Memory Map

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

Seite 415

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

Seite 416 - To Modify a Memory Map:

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

Seite 417 - Specifying the Clock Speed

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

Seite 418

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

Seite 419 - Emulation System Reset

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

Seite 420

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

Seite 421 - Bus State Analyzer (BSA)

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

Seite 422

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

Seite 423

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

Seite 424 - Recording Modes

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

Seite 425 - Time Tag Clock Frequency

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

Seite 426 - Viewing Data

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

Seite 427

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

Seite 428

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

Seite 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

Seite 430 - Book III Contents

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

Seite 431 - HCS08 Full Chip Simulation

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

Seite 432 - Connection (HCS08FCS) Menu

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

Seite 433

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

Seite 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

Seite 435 - Peripheral Modules Commands

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

Seite 436 - ADC Module

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

Seite 437 - ADC Module Commands

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

Seite 438 - Clock Generation Module

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

Seite 439 - XTAL Command

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

Seite 440

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

Seite 441

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

Seite 442 - IICDI Command

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

Seite 443

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

Seite 444 - IICCLR Command

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

Seite 445

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

Seite 446

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

Seite 447

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

Seite 448

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

Seite 449 - IRQ Commands

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

Seite 450

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

Seite 451

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

Seite 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

Seite 453

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

Seite 454

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

Seite 455 - SCI Commands

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

Seite 456

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

Seite 457

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

Seite 458 - SPI Commands

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

Seite 459 - SPDI Command

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

Seite 460

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

Seite 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

Seite 462

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

Seite 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

Seite 464

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

Seite 465

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

Seite 466

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

Seite 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

Seite 468

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

Seite 469 - Hotsync Button

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

Seite 470 - Connect Option

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

Seite 471

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

Seite 472

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

Seite 473

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

Seite 474

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

Seite 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

Seite 476

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

Seite 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

Seite 478

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

Seite 479

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

Seite 480 - Setup Option

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

Seite 481

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

Seite 482

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

Seite 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

Seite 484

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

Seite 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

Seite 486

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

Seite 487 - HCS08 Serial Monitor

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

Seite 488

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

Seite 489

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

Seite 490

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

Seite 491

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

Seite 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

Seite 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

Seite 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

Seite 495

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

Seite 496

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

Seite 497 - SofTec HCS08 Connection

Book IV Contents546Microcontrollers Debugger Manual

Seite 498

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

Seite 499

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

Seite 500 - SofTec HCS08 Menu Options

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

Seite 501

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

Seite 502

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

Seite 503 - HCS08 On-Chip DBG

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

Seite 504 - HCS08 On-Chip DBG Module

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

Seite 505 - Assembly and Memory Windows

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

Seite 506

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

Seite 507

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

Seite 508 - Trigger Stored as Markpoints

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

Seite 509 - Data and Memory Windows

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

Seite 510

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

Seite 511

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

Seite 512 - Expert Triggers

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

Seite 513

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

Seite 514 - Trigger Settings

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

Seite 515 - DBG Support Status Bar Item

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

Seite 516

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

Seite 517 - Automatic Mode (Default)

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

Seite 518 - Expert Mode

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

Seite 519 - Profiling and Coverage Mode

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

Seite 520 - Disabled Mode

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

Seite 521 - Memory Access Triggers

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

Seite 522 - Bus Match

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

Seite 523 - Instruction Triggers

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

Seite 524

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

Seite 525 - Mismatch

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

Seite 526 - Capture Triggers

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

Seite 527 - DBG Module Options

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

Seite 528 - Data Recording

SofTec RS08 ConnectionFirst Steps From Within an Existing Project574Microcontrollers Debugger Manual

Seite 529 - Trigger Editing

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

Seite 530 - Information

Book V Contents576Microcontrollers Debugger Manual

Seite 531 - General Settings Tab

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

Seite 532 - Trace Component Window

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

Seite 533 - Instructions Display

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

Seite 534 - Textual Display

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

Seite 535 - Column Display and Moving

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

Seite 536 - Clearing Frames

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

Seite 537 - Recorded Data Display

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

Seite 538 - HCS08 DBG V3 New Features

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

Seite 539 - Recording until reset

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

Seite 540

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

Seite 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

Seite 542

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

Seite 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

Seite 544

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

Seite 545 - Book IV - RS08 Debug

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

Seite 546 - Book IV Contents

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

Seite 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

Seite 548 - Connection (RS08FCS) Menu

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

Seite 549 - Modify MTIM TCLK

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

Seite 550 - Show Processor Pins

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

Seite 551 - Run Till Cycle Command

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

Seite 552

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

Seite 553

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

Seite 554

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

Seite 555

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

Seite 556

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

Seite 557 - Trim Programming Checkbox

Debugger InterfaceHighlights of the User Interface60Microcontrollers Debugger Manual

Seite 558

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

Seite 559

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

Seite 560

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

Seite 561 - RS08 Open Source BDM

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

Seite 562

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

Seite 563

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

Seite 564 - Select Derivative Option

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

Seite 565 - Show Status Option

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

Seite 566

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

Seite 567 - SofTec RS08 Connection

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

Seite 568

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

Seite 569

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

Seite 570

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

Seite 571 - SofTec RS08 Menu Options

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

Seite 572

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

Seite 573

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

Seite 574

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

Seite 575 - Debug Connections

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

Seite 576 - Book V Contents

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

Seite 577 - Simulation Connection

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

Seite 578

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

Seite 579 - Open I/O Component Dialog Box

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

Seite 580 - Memory Configuration

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

Seite 581

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

Seite 582 - Memory Configuration Settings

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

Seite 583 - Memory Check Options

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

Seite 584 - Memory Block Properties

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

Seite 585 - Access Details Dialog Box

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

Seite 586 - Clock Frequency Setup

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

Seite 587 - Bus Trace

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

Seite 588 - Full Chip Simulation Warnings

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

Seite 589 - WARNING_SETUP Command

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

Seite 590

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

Seite 591 - MESSAGE_HIDE_RESET Command

ColdFire V1 Full Chip Simulation ConnectionFCS Visualization Utilities630Microcontrollers Debugger Manual

Seite 592 - Simulation

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

Seite 593 - FCS Visualization Utilities

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

Seite 594 - Analog Meter Component

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

Seite 595 - IO_LED Component

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

Seite 596 - IO_LED Menu

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

Seite 597 - LED Component

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

Seite 598 - Phone Component

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

Seite 599 - Phone Operations

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

Seite 600 - ADC/DAC Component

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

Seite 601 - Visualization Screen

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

Seite 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

Seite 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

Seite 604 - Display Properties Dialog Box

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

Seite 605 - IT_Keyboard Component

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

Seite 606 - IT_Keyboard Menu

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

Seite 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

Seite 608 - LCD Component

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

Seite 609

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

Seite 610 - Instruction Listing

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

Seite 611 - Function Set

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

Seite 612 - LCD Menus

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

Seite 613 - LCD Display

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

Seite 614 - Monitor Component

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

Seite 615 - Monitor Settings

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

Seite 616 - Change Colors

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

Seite 617 - Push Buttons Component

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

Seite 618 - Use with LEDs Component

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

Seite 619 - Drag Out:

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

Seite 620 - Port Address

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

Seite 621 - 7-Segments Display Component

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

Seite 622 - 7-Segments Display Menu

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

Seite 623 - 7-Segments Display Setup

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

Seite 624 - Stimulation Component

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

Seite 625 - Example of a Stimulation File

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

Seite 626 - TestTerm Component

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

Seite 627 - Output Redirection

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

Seite 628 - How to Redirect

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

Seite 629 - Using TestTerm

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

Seite 630 - TestTerm Menu

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

Seite 631

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

Seite 632

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

Seite 633

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

Seite 634

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

Seite 635 - Using the Virtual SCI

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

Seite 636 - Wagon Menu

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

Seite 637 - Wagon Setup

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

Seite 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

Seite 639

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

Seite 640 - Stimulation

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

Seite 641

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

Seite 642

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

Seite 643

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

Seite 644 - Detailed Explanation

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

Seite 645 - Stimulation Input File Syntax

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

Seite 646

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

Seite 647 - Application to Device Pins

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

Seite 648 - File Example 1

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

Seite 649 - File Parameters

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

Seite 650 - Signal Commands

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

Seite 651 - CLOSESIGNALFILE Command

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

Seite 652 - IO Component

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

Seite 653 - Pinconn Commands

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

Seite 654 - FCS Tutorials

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

Seite 655

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

Seite 656 - Step 4 - Bean Selector Window

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

Seite 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

Seite 658

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

Seite 659

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

Seite 660 - Step 9 - Entering User Code

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

Seite 661 - Step 10 - Run

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

Seite 662

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

Seite 663 - PWM Sample

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

Seite 664 - Step 4 - Creating PWM Bean

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

Seite 665 - Step 7 - Generate Driver Code

Book VI Contents698Microcontrollers Debugger Manual

Seite 666

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

Seite 667 - Duty Time Bar Properties

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

Seite 668

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

Seite 669 - ColdFire P&E Multilink/

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

Seite 670

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

Seite 671

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

Seite 672

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

Seite 673 - Debugging Memory Map

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

Seite 674 - Trigger Module Settings

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

Seite 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

Seite 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

Seite 677 - SofTec ColdFire Connection

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

Seite 678

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

Seite 679

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

Seite 680

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

Seite 681 - SofTec ColdFire Menu Options

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

Seite 682 - About Option

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

Seite 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

Seite 684

Flash ProgrammingNVMC Commands714Microcontrollers Debugger Manual

Seite 685

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

Seite 686

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

Seite 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

Seite 688

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

Seite 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

Seite 690 - Automatic Mode

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

Seite 691 - Sync PC DBG Feature

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

Seite 692 - User Triggers mode

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

Seite 693

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

Seite 694

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

Seite 695 - General Settings

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

Seite 696

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

Seite 697 - Common Features

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

Seite 698 - Book VI Contents

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

Seite 699 - Flash Programming

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

Seite 700

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

Seite 701

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

Seite 702 - NVMC Graphical User Interface

Book VII Contents730Microcontrollers Debugger Manual

Seite 703 - NVMC Dialog Box

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

Seite 704

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

Seite 705 - Flash Module Handling

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

Seite 706 - MCU Speed Information

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

Seite 707

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

Seite 708

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

Seite 709 - Hardware Considerations

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

Seite 710 - NVMC Commands

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

Seite 711

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

Seite 712

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

Seite 713 - Examples

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

Seite 714

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

Seite 715

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

Seite 716

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

Seite 717

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

Seite 718 - Access Size

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

Seite 719 - Priorities

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

Seite 720 - Access while Running

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

Seite 721 - CPU Core Types and Priorities

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

Seite 722 - DMM Commands

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

Seite 723 - List of commands

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

Seite 724 - DMM DEL command

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

Seite 725 - DMM RELEASECACHES command

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

Seite 726 - DMM WRITEREADBACKON command

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

Seite 727 - DMM WRITEREADBACKOFF command

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

Seite 728 - DMM SETAHEADREADSIZE command

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

Seite 729

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

Seite 730 - Book VII Contents

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

Seite 731 - Debugger Engine

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

Seite 732 - Available Command Lists

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

Seite 733 - Debugger Engine Commands

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

Seite 734 - Base Commands

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

Seite 735

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

Seite 736 - Environment Commands

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

Seite 737 - Component Commands

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

Seite 738 - Component Specific Commands

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

Seite 739

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

Seite 740 - Command Syntax Terms

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

Seite 741 - Module Names

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

Seite 742 - Debugger Commands

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

Seite 743 - ATTRIBUTES

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

Seite 744

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

Seite 745 - In the Register Component

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

Seite 746

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

Seite 747 - In the Source Component

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

Seite 748 - In the Data Component

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

Seite 749

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

Seite 750 - In the Memory Component

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

Seite 751

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

Seite 752 - In the Inspector Component

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

Seite 753

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

Seite 754

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

Seite 755 - Components

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

Seite 756 - AUTOSIZE

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

Seite 757 - Example 2:

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

Seite 758 - BCKCOLOR

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

Seite 759 - Equivalent Operation

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

Seite 760

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

Seite 761 - More Examples:

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

Seite 762

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

Seite 763 - Examples:

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

Seite 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

Seite 765

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

Seite 766

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

Seite 767

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

Seite 768

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

Seite 769

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

Seite 770

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

Seite 771 - DDEPROTOCOL

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

Seite 772 - DECODE_SKIP

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

Seite 773

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

Seite 774

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

Seite 775

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

Seite 776

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

Seite 777

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

Seite 778

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

Seite 779 - ENDFOCUS

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

Seite 780

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

Seite 781 - ENDWHILE

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

Seite 782

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

Seite 783

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

Seite 784 - FINDPROC

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

Seite 785

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

Seite 786

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

Seite 787

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

Seite 788

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

Seite 789

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

Seite 790

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

Seite 791 - GRAPHICS

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

Seite 792

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

Seite 793 - INSPECTOROUTPUT

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

Seite 794 - INSPECTORUPDATE

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

Seite 795

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

Seite 796

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

Seite 797 - LOADCODE

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

Seite 798 - LOADSYMBOLS

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

Seite 799

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

Seite 800

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

Seite 801 - Example 3:

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

Seite 802 - Example 4:

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

Seite 803

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

Seite 804

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

Seite 805 - Description

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

Seite 806 - Table Example:

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

Seite 807

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

Seite 808

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

Seite 809

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

Seite 810 - PAUSETEST

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

Seite 811 - PTRARRAY

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

Seite 812 - Example 1:

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

Seite 813

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

Seite 814

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

Seite 815

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

Seite 816

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

Seite 817

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

Seite 818

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

Seite 819 - SETCOLORS

Debugger Engine CommandsDebugger Commands836Microcontrollers Debugger ManualWHILEThe WHILE command allows you to execute a sequence of commands as lon

Seite 820

Debugger Engine CommandsDebugger Commands837Microcontrollers Debugger Manual UsageWL range listrange: is an address range constant that defines the bl

Seite 821

Debugger Engine CommandsDebugger Commands838Microcontrollers Debugger ManualZOOMIn the Data component, the ZOOM command is used to display the member

Seite 822

839Microcontrollers Debugger ManualBook VIII - Environment VariablesBook VIII ContentsEach section of the Debugger manual includes information to help

Seite 823

Debugger ComponentsGeneral Debugger Components84Microcontrollers Debugger ManualMode SubmenuThe Mode Submenu is activated by highlighting the Mode ent

Seite 824 - STEPINTO

Book VIII Contents840Microcontrollers Debugger Manual

Seite 825

841Microcontrollers Debugger Manual35Debugger Engine Environment VariablesThis chapter describes the environment variables that the Debugger uses. Oth

Seite 826 - STEPOVER

Debugger Engine Environment VariablesDebugger Environment842Microcontrollers Debugger ManualDebugger EnvironmentVarious parameters of the Debugger may

Seite 827

Debugger Engine Environment VariablesDebugger Environment843Microcontrollers Debugger Manual • If the tool is launched using a File Manager/Explorer,

Seite 828

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)844Microcontrollers Debugger ManualLocal Configuration File (usuall

Seite 829

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)845Microcontrollers Debugger Manual Default Layout Configuration (P

Seite 830

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)846Microcontrollers Debugger ManualExample:Window5=Memory 50 60

Seite 831

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)847Microcontrollers Debugger Manual • The toolbar, status bar, head

Seite 832

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)848Microcontrollers Debugger ManualSelect HI-WAVE section to retrie

Seite 833 - UPDATERATE

Debugger Engine Environment VariablesLocal Configuration File (usually project.ini)849Microcontrollers Debugger Manual NOTE When using WinEdit, do not

Seite 834

Debugger ComponentsGeneral Debugger Components85Microcontrollers Debugger Manual NOTE In Locked and Frozen mode, variables from a specific module are

Seite 835

Debugger Engine Environment VariablesEnvironment Variables850Microcontrollers Debugger ManualEnvironment VariablesThe remainder of this section is dev

Seite 836

Debugger Engine Environment VariablesEnvironment Variables851Microcontrollers Debugger Manual Arguments<path>: Paths separated by semicolons, wi

Seite 837

Debugger Engine Environment VariablesEnvironment Variables852Microcontrollers Debugger ManualExample:DEFAULTDIR=C:\INSTALL\PROJECTSee also:The Current

Seite 838

Debugger Engine Environment VariablesEnvironment Variables853Microcontrollers Debugger Manual GENPATH: #include “File” PathToolsCompiler, Linker, Deco

Seite 839 - Variables

Debugger Engine Environment VariablesEnvironment Variables854Microcontrollers Debugger ManualLIBRARYPATH: ‘include <File>’ PathToolsCompiler, EL

Seite 840 - Book VIII Contents

Debugger Engine Environment VariablesEnvironment Variables855Microcontrollers Debugger Manual OBJPATH: Object File PathToolsCompiler, Linker, Decoder,

Seite 841 - Environment Variables

Debugger Engine Environment VariablesEnvironment Variables856Microcontrollers Debugger ManualArguments<directory>: Directory to be used for temp

Seite 842 - Debugger Environment

Debugger Engine Environment VariablesSearch Order for Source Files857Microcontrollers Debugger Manual NO, OFF: The environment variable LIBRARYPATH: ‘

Seite 843 - (MCUTOOLS.INI - PC

Debugger Engine Environment VariablesDebugger Files858Microcontrollers Debugger ManualIn the Debugger for Object Files (HILOADER)1. Path coded in the

Seite 844 - (usually project.ini)

Debugger Engine Environment VariablesDebugger Files859Microcontrollers Debugger Manual *.DLL A .DLL file that contains one or more functions compiled,

Seite 845 - (PROJECT.INI)

Debugger ComponentsGeneral Debugger Components86Microcontrollers Debugger ManualPointer as Array OptionIn the Data menu’s Options submenu, choose Opti

Seite 846 - Other Parameters

Debugger Engine Environment VariablesDebugger Files860Microcontrollers Debugger ManualProject.Ini Debugger Project Initialization File*.REC Recorder F

Seite 847 - Ini File Activation

861Microcontrollers Debugger Manual36Connection-Specific Environment VariablesSome of the environment variables that can be used in the debugging proc

Seite 848 - Environment Variable Paths

Connection-Specific Environment VariablesConnection-Specific Environment Variables862Microcontrollers Debugger Manual

Seite 849 - Line Continuation

863Microcontrollers Debugger ManualBook IX - Debugger LegacyBook IX ContentsEach section of the Debugger manual includes information to help you becom

Seite 850

Book IX Contents864Microcontrollers Debugger Manual

Seite 851

865Microcontrollers Debugger Manual37Legacy PEDebug Target Interface The PEDebug Target Interface has become “Legacy” and has been replaced by specifi

Seite 852

Legacy PEDebug Target InterfaceConnection Selection or Change Always Available within IDE866Microcontrollers Debugger ManualConnection Selection or Ch

Seite 853 - GENPATH: #include “File” Path

867Microcontrollers Debugger Manual38Legacy Target Interfaces RemovedThe following hardware Target Interfaces have been discontinued:For HC08 CPU:• Hi

Seite 854

Legacy Target Interfaces Removed868Microcontrollers Debugger Manual

Seite 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

Seite 856

Debugger ComponentsGeneral Debugger Components87Microcontrollers Debugger Manual Associated Context MenuThis section describes the context menus assoc

Seite 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

Seite 858 - Debugger Files

871Microcontrollers Debugger ManualIndexAA command 742A icon 506About Box 52About menu entry 51About Option 399About option 500, 572, 682.abs file 61A

Seite 859

872Microcontrollers Debugger ManualHardware 517Marking 115Multiple selection 161Permanent 157Position 164Temporary 157, 165with Register Condition 168

Seite 860

873Microcontrollers Debugger Manual RECORD 813REPEAT 799, 813RESET 814RESTART 814RETURN 815RS 815S816SAVE 817SAVEBP 817SET 818WHILE 799Communication 6

Seite 861 - Connection-Specific

874Microcontrollers Debugger ManualDDA-CConfigure file types 221Configuring 219Configuring tools 226Database directory 221Debugger Interface 230Debugg

Seite 862

875Microcontrollers Debugger Manual FIND 783FINDPROC 784FOCUS 785FOLD 786FONT 786FOR 787FPRINTF 788FRAMES 788G789GO 789GOTO 790GOTOIF 791GRAPHICS 791H

Seite 863

876Microcontrollers Debugger ManualDecimalmode 151Default IP address 412DEFAULT.ENV 842, 851, 852, 856default.mem file 580DEFAULTDIR 851DefaultDir 200

Seite 864 - Book IX Contents

877Microcontrollers Debugger Manual Defining 421Record modes 424EXECUTE command 781Execute menu entry 625EXIT command 782Exit menu entry 35Expert mode

Seite 865 - Interface

878Microcontrollers Debugger ManualFind Procedure dialog box 123Find Procedure menu entry 121FINDPROC command 784Flash 674, 682Commands 710Disabling 7

Seite 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

Seite 867 - Legacy Target Interfaces

Debugger ComponentsGeneral Debugger Components88Microcontrollers Debugger ManualSUBMENU Open ModuleThe dialog box shown in Figure 3.31 lists all sourc

Seite 868

880Microcontrollers Debugger ManualReset to Normal Mode 481Select derivative 481Select Derivative dialog box 483Set Connection dialog box 479Setup 480

Seite 869 - Supported

881Microcontrollers Debugger Manual Connection Manager Window - Advanced Settings Tab 384Connection Manager Window Connect to Target Tab 382Connection

Seite 870 - • Winlift

882Microcontrollers Debugger ManualLED instrument attributes 150Left menu entry 144LF command 795LIBPATH 856LIBRARYPATH 854Line Continuation 849Load a

Seite 871

883Microcontrollers Debugger Manual 16-Pin Header Signals tabStatus Area 340Advanced Options Dialog Box 343Cable Connection Communications Type 336Con

Seite 872

884Microcontrollers Debugger ManualOObject Info Bar 53OBJPATH 855Oct menu entry 84, 95, 113, 207Octal 207Octal format 207OPEN command 808Open Componen

Seite 873

885Microcontrollers Debugger Manual Protect DBG FIFO content from unexpected reads 532PTRARRAY command 811Pulse Width 152PVCS 857RR command 256, 345,

Seite 874 - , 513, 518

886Microcontrollers Debugger ManualFirst Steps Using Stationery Wizard 562MCU Configuration dialog box 564Reset to normal mode 565Select derivative 56

Seite 875 - , 95, 113, 207

887Microcontrollers Debugger Manual SMEM command 821SMOD command 821SofTec ColdFireAbout 682Bus Trace 682CodeWarrior IDE and SofTec ColdFire connectio

Seite 876

888Microcontrollers Debugger ManualStart recording after trigger hit and halt when fifo is full 527Start/Continue menu entry 42Starting an Application

Seite 877 - , 533, 536

889Microcontrollers Debugger Manual Configuration 199Default Layout Configuration 845Demo Version Limitations 26Drag and Drop 55Engine 25Layout 846Pro

Seite 878

Debugger ComponentsGeneral Debugger Components89Microcontrollers Debugger Manual NOTE It is important to distinguish between dragging a variable name

Seite 879

890Microcontrollers Debugger ManualCounting 176, 184Definition 157Deleting 178, 184Read 174, 182Read, Write 158Read/Write 175, 183Write 175Watchpoints

Seite 880

891Microcontrollers Debugger Manual

Seite 881

892Microcontrollers Debugger Manual

Seite 882

Table of Contents9Microcontrollers Debugger Manual Cycle Power Radio Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 883

Debugger ComponentsGeneral Debugger Components90Microcontrollers Debugger ManualAssociated CommandsADDXPR, ATTRIBUTES, DUMP, PTRARRAY, SMOD, SPROC, UP

Seite 884

Debugger ComponentsGeneral Debugger Components91Microcontrollers Debugger Manual NOTE Memory values that have changed since the last refresh status ar

Seite 885

Debugger ComponentsGeneral Debugger Components92Microcontrollers Debugger ManualBanked/Window Paged Memory: Physical/Local vs. Logical displayThis sec

Seite 886

Debugger ComponentsGeneral Debugger Components93Microcontrollers Debugger Manual • Hold down the left mouse button + A key to jump to a memory address

Seite 887

Debugger ComponentsGeneral Debugger Components94Microcontrollers Debugger ManualWord Size SubmenuWith the Word Size submenu shown in Figure 3.35, you

Seite 888

Debugger ComponentsGeneral Debugger Components95Microcontrollers Debugger Manual Format SubmenuWith the Format Submenu shown in Figure 3.36, you can s

Seite 889

Debugger ComponentsGeneral Debugger Components96Microcontrollers Debugger ManualDisplay SubmenuWith the Display submenu shown in Figure 3.38, you can

Seite 890

Debugger ComponentsGeneral Debugger Components97Microcontrollers Debugger Manual Fill Memory The Fill Memory dialog box shown in Figure 3.39 allows yo

Seite 891

Debugger ComponentsGeneral Debugger Components98Microcontrollers Debugger ManualCopyMem Submenu The CopyMem dialog box shown in Figure 3.41 allows you

Seite 892

Debugger ComponentsGeneral Debugger Components99Microcontrollers Debugger Manual RefreshSelect the Refresh menu entry to refresh the Memory window cur

Kommentare zu diesen Handbüchern

Keine Kommentare