FUJITSU SEMICONDUCTORCONTROLLER MANUALFR FAMILYSOFTUNETM WORKBENCHUSER’S MANUALfor V6CM71-00329-7E
vi 2.4.7.2 Measuring Event-to-Event Execution Cycle Count [Performance Measurement] ... 1862.4.8 Viewing Program Execution History [
90CHAPTER2 Dependence Functions2.2.6.7 Saving Trace DataThe debugger has function of saving trace data. Saving Trace Data Save the trace data to the
91CHAPTER2 Dependence Functions2.2.6.8 Clearing Trace DataTo clear trace data, use the following command. Clearing Trace Data When clearing trace da
92CHAPTER2 Dependence Functions2.2.6.9 Notes on Use of Tracing FunctionThis section describes the precautions to observe when displaying or searching
93CHAPTER2 Dependence Functions• When displaying valid pass cycles or instruction, the omitted trace data frame is displayed as follows:Frame where a
94CHAPTER2 Dependence Functions2.2.7 Inaccessible AreaThis section explains inaccessible area. Inaccessible areaThe inaccessible area is a function
95CHAPTER2 Dependence Functions2.2.8 Checking Debugger StatusThis section explains how to check information about the emulator debugger (MB2197). De
96CHAPTER2 Dependence Functions Version: SiiEd3.ocx version------------------------------------------------------- SiM911 Product name: SOFTUNE Workb
97CHAPTER2 Dependence FunctionsDSU type : Currently used DSU typeMonitor version : Version of monitor (dependent)Communication device : Device typeBa
98CHAPTER2 Dependence Functions2.3 Emulator Debugger (MB2198)This section describes the emulator debugger functions that are available when the emula
99CHAPTER2 Dependence FunctionsNotes:When FR80S is used, there are some restrictions on the debug functions as follows:• The debug functions shown in
1CHAPTER1Basic FunctionsThis chapter describes the basic functions on the SOFTUNE Workbench.1.1 Workspace Management Function1.2 Project Management
100CHAPTER2 Dependence Functions2.3.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environm
101CHAPTER2 Dependence Functions2.3.1.1 Monitoring Program Automatic LoadingThe emulators debugger (MB2198) can update the monitoring program automat
102CHAPTER2 Dependence Functions2.3.1.2 MCU Operation ModeThe following four modes are in the MCU Operation Mode. The Full Trace Mode and Real-time
103CHAPTER2 Dependence Functions2.3.1.3 Cache Flush ControlThis section explains cache flush setup. Cache Flush Control When using a chip with cache
104CHAPTER2 Dependence Functions2.3.1.4 Operating FrequencyThis section explains the setting of operating frequencies. Operating frequencies Set the
105CHAPTER2 Dependence Functions2.3.1.5 External Memory EmulationThis section explains the external memory emulation function. External memory emula
106CHAPTER2 Dependence Functions2.3.1.6 Debug modeDebug mode includes the following modes. Selectable debug mode varies with the emulator or its con
107CHAPTER2 Dependence Functions2.3.2 Notes on Executing ProgramThere are some precautions to observe when using program execution commands. Real-ti
108CHAPTER2 Dependence Functions2.3.3 Commands Available during Execution of User ProgramThis section explains the commands available during the exec
109CHAPTER2 Dependence FunctionsNotes:• The conditions which allow you to use the commands in Table 2.3-2 are limited to the followingcases when a us
2CHAPTER1 Basic Functions1.1 Workspace Management FunctionThis section explains the workspace management function of SOFTUNE Workbench. Workspace SO
110CHAPTER2 Dependence Functions2.3.4 BreakThe emulator debugger (MB2198) provides nine types of break functions. When by each break function aborts
111CHAPTER2 Dependence Functions2.3.4.1 Code BreakThis function aborts the program execution by monitoring a specified address by hardware or softwar
112CHAPTER2 Dependence FunctionsNotes:HardwareThe hardware break requires the following cautions:• Do not set any hardware break in a instruction pla
113CHAPTER2 Dependence Functions2.3.4.2 Data BreakThis function aborts the program execution when a data access (read/write) is made to a specified a
114CHAPTER2 Dependence Functions2.3.4.3 Code Event BreakThis function uses breakpoints contained in the evaluation chip. The address mask, pass coun
115CHAPTER2 Dependence FunctionsNotes:• In the DSU3 chip, the code event can be used as a break factor and a trace measurement startfactor. This mod
116CHAPTER2 Dependence Functions2.3.4.4 Data Event BreakThis function uses breakpoints contained in the evaluation chip. The address mask, data size
117CHAPTER2 Dependence FunctionsNotes:• In the DSU3 chip, the data event can be used as a break factor and a trace measurement startfactor. This mod
118CHAPTER2 Dependence Functions2.3.4.5 Trace Buffer-full BreakThis function aborts the program execution when the trace buffer becomes full. Trace
119CHAPTER2 Dependence Functions2.3.4.6 Alignment Error BreakThis function aborts the program execution when an instruction access or a word/half wor
3CHAPTER1 Basic Functions1.2 Project Management FunctionThis section explains the project management function of SOFTUNE Workbench. Project Manageme
120CHAPTER2 Dependence Functions2.3.4.7 External Trigger BreakThis function aborts the program execution when an external signal is input from the TR
121CHAPTER2 Dependence Functions2.3.4.8 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This func
122CHAPTER2 Dependence Functions2.3.4.9 Data Watch BreakThis special break function suspends program execution when the program reaches a specified a
123CHAPTER2 Dependence Functions How to set Set the data watch break as follows.• Data watch break (hardware)• Command- SET BREAK/DATAWATCH•Dialog-
124CHAPTER2 Dependence Functions2.3.5 Control by SequencerThe emulator debugger (MB2198) have a sequencer that controls events. By using this sequen
125CHAPTER2 Dependence FunctionsThe sequencer operates as shown below when it uses the real-time monitoring bus interface:[Setup Example]>SET SEQU
126CHAPTER2 Dependence FunctionsNote:Sequencer (Only Real-time Monitoring Bus Interface)1. This function can be used only when the evaluation chip is
127CHAPTER2 Dependence Functions2.3.6 Measuring Execution Cycle CountThis function measures the program execution time. The measuring itemMeasures p
128CHAPTER2 Dependence Functions2.3.7 TraceThis section describes the trace function of the emulator debugger (MB2198).The program execution history
129CHAPTER2 Dependence FunctionsNotes:1. The execution time display function is available only when a DSU4 evaluation chip with theexternal trace bus
4CHAPTER1 Basic Functions Project Configuration The project configuration is a series of settings for specifying the characteristics of a target fil
130CHAPTER2 Dependence Functions Setting Trace Trigger When preselected conditions are met while monitoring the MCU bus operation, a trigger to star
131CHAPTER2 Dependence FunctionsNote:Trace Trigger• This function can be used only when FR60Lite or FR80S is used.When FR80S is used, however, this
132CHAPTER2 Dependence Functions2.3.7.1 Display Format of Trace DataThere are three formats for displaying trace buffer data. Display Format of Trac
133CHAPTER2 Dependence Functions2.3.7.2 Saving Trace DataThe debugger has function of saving trace data. Saving Trace Data Save the trace data to th
134CHAPTER2 Dependence Functions2.3.7.3 Notes on Use of Tracing FunctionThis section describes the precautions to observe when displaying or searchin
135CHAPTER2 Dependence Functions• When displaying valid pass cycles or instruction, the omitted trace data frame is displayed as follows:Frame where
136CHAPTER2 Dependence Functions2.3.8 Measuring PerformanceIt is possible to measure the time and pass count between two events. Repetitive measureme
137CHAPTER2 Dependence Functions2.3.8.1 Performance Measurement ProceduresPerformance can be measured by the following procedure:• Set event mode.• S
138CHAPTER2 Dependence Functions Setting Events Set events using the SET EVENT command.The starting/ending point of time measurement and points to m
139CHAPTER2 Dependence Functions2.3.8.2 Displaying Performance Measurement DataDisplay the measured time and measuring count by using the SHOW PERFOR
5CHAPTER1 Basic Functions1.3 Project DependenceThis section explains the project dependence of SOFTUNE Workbench. Project Dependence If target files
140CHAPTER2 Dependence Functions2.3.9 Real-time MonitoringThis section explains the real-time monitoring function. Command execution during program
141CHAPTER2 Dependence Functions2.3.10 Power-on DebuggingThis section explains power-on debugging. Power-on debugging The emulator debugger (MB2198)
142CHAPTER2 Dependence Functions2.3.11 Inaccessible AreaThis section explains inaccessible area by the emulator debugger for the MB2198. Inaccessib
143CHAPTER2 Dependence Functions2.3.12 RAM CheckerThis section describes the function of the RAM Checker. OverviewThe RAM Checker obtains the acces
144CHAPTER2 Dependence Functions Specification list- SOFTUNE formatWhen displaying using the RAM Checker Viewer (SOFTUNE format recommended) Default
145CHAPTER2 Dependence Functions Memory access during loggingDuring program execution, the emulator debugger (MB2198) reads/writes memory after caus
146CHAPTER2 Dependence Functions RAM Checker ViewerThe RAM Checker Viewer is a tool to graphically display the data value that changes as time goes
147CHAPTER2 Dependence Functions2.3.13 Checking Debugger StatusThis section explains how to check information about the emulator debugger (MB2198).
148CHAPTER2 Dependence Functions Version: SiiEd3.ocx version------------------------------------------------------- SiM911 Product name: SOFTUNE Work
149CHAPTER2 Dependence FunctionsDSU type : Currently used DSU typeCommon version : Version of monitor (common)Monitor version : Version of monitor (d
6CHAPTER1 Basic Functions1.4 Make/Build FunctionThis section explains the make/build function of SOFTUNE Workbench. Make Function Make function gene
150CHAPTER2 Dependence Functions2.4 Emulator Debugger (MB2100-01)This section describes the emulator debugger (MB2100-01) functions. Features of Emu
151CHAPTER2 Dependence Functions2.4.1 Starting debuggingThis section describes the method of starting debugging. Starting DebuggingWhen starting deb
152CHAPTER2 Dependence Functions2.4.1.1 Power-on ResetThis section describes how to issue the power-on reset. Issuing the Power-on ResetTo start the
153CHAPTER2 Dependence Functions2.4.1.2 Operating Environments of the TargetThis section describes the setting of the target operating environments.
154CHAPTER2 Dependence FunctionsNotes:• When the actual value is different from the input value for the communication speed of thereference frequency
155CHAPTER2 Dependence Functions2.4.1.3 SecurityThis section describes the security. SecurityWhen beginning to debug it when the security function o
156CHAPTER2 Dependence Functions2.4.2 Ending debuggingThis section describes the method of ending debugging. Ending debuggingWhen ending debugging,
157CHAPTER2 Dependence Functions2.4.3 Efficiently Executing DebuggingThis section describes setting for efficient debugging. Setting Operating Envir
158CHAPTER2 Dependence Functions2.4.3.1 Increasing Communication Speed during DebuggingThis section describes setting for increasing the communicatio
159CHAPTER2 Dependence Functions2.4.3.2 Switching Debug FunctionThis section describes the method of switching the debug function correspondingly to
7CHAPTER1 Basic Functions1.4.1 Customize Build FunctionThis section describes the SOFTUNE Workbench function to set the Customize Build function. Cu
160CHAPTER2 Dependence Functions2.4.4 Executing ProgramThis section describes the method of executing a user program. Executing a programA user prog
161CHAPTER2 Dependence Functions2.4.4.1 Setting/Release of Debug FunctionsThe debug function is set or can be released while executing the user progr
162CHAPTER2 Dependence Functions*1 : Refer to "SOFTUNE Workbench Command Reference Manual".Note:An error message appears if you enter a com
163CHAPTER2 Dependence Functions2.4.4.2 MonitoringThis section describes the monitoring function. MonitoringThe monitoring function is capable of re
164CHAPTER2 Dependence Functions2.4.4.3 Power-on DebugThis section describes power-on debug function. Power-on DebugPower-on debug is a function to
165CHAPTER2 Dependence FunctionsNotes:• Other debug features cannot be used while debugging power-on at all. • When security is enabled, power on deb
166CHAPTER2 Dependence Functions2.4.5 To Access the Flash MemoryThis section describes the access method to the flash memory. Access to Flash Memory
167CHAPTER2 Dependence Functions- View the following dialogs.Line Assembly dialog (Disassembly window)Break setting dialog [Software]● Flash memory s
168CHAPTER2 Dependence Functions Examples of flash memory synchronization● In the case of [Flash -> Debugger]An image in the case where the flash
169CHAPTER2 Dependence Functions● In the case of [Debugger -> Flash]An image in the case where the flash memory synchronization [Debugger -> Fl
8CHAPTER1 Basic FunctionsNote:When checking [Use the Output window], note the following:• Once a tool is activated, Make/Build activated until the to
170CHAPTER2 Dependence Functions2.4.6 To Interrupt the Program Execution [Break]This section describes the method of interrupting the execution of th
171CHAPTER2 Dependence Functions2.4.6.1 Code Break (Hardware)This function suspends program execution by monitoring a specified address by hardware.
172CHAPTER2 Dependence FunctionsNotes:• Do not set the code break to an instruction placed in a delay slot. If a code break is set and thebranch inst
173CHAPTER2 Dependence Functions2.4.6.2 Code Break (Software)This function suspends program execution by monitoring a specified address by software.
174CHAPTER2 Dependence FunctionsNotes:• Do not set the code break (software) to an instruction placed in a delay slot. When set, anincorrect instruct
175CHAPTER2 Dependence Functions2.4.6.3 Data BreakThis function suspends program execution when data access (read/write) is made to a specified addre
176CHAPTER2 Dependence Functions2.4.6.4 Trace Trigger BreakThis function suspends program execution when a trace trigger terminates trace acquisition
177CHAPTER2 Dependence Functions2.4.6.5 Forced BreakThis function forcibly suspends program execution. Forced BreakThis function forcibly suspends p
178CHAPTER2 Dependence Functions2.4.6.6 Data Watch BreakThis break function suspends program execution when the program reaches a specified instructi
179CHAPTER2 Dependence FunctionsNotes:• A data watch break shares points with the following functions. The maximum number of datawatch breaks varies
9CHAPTER1 Basic Functions1.5 Include Dependencies Analysis FunctionThis section describes the function of the Include Dependencies Analysis of SOFTUN
180CHAPTER2 Dependence Functions2.4.6.7 SequencerThis is a function to abort the program execution when the program is executedalong with the event o
181CHAPTER2 Dependence Functions Specifications of SequencerTable 2.4-2 shows the specifications of the sequencer for the emulator debugger (MB2100-
182CHAPTER2 Dependence Functions2.4.6.8 Guarded Access BreakThis is a function to abort the program execution when an access violation to protected a
183CHAPTER2 Dependence Functions2.4.7 Measuring the Program Execution TimeThis section explains the function to measure the program execution time.
184CHAPTER2 Dependence Functions2.4.7.1 Measuring the Program Execution Cycle CountThis section explains the function of measuring the number of prog
185CHAPTER2 Dependence Functions Setting Measurement UnitEither of the following methods can be used to set the measurement unit.• Dialog- Time Meas
186CHAPTER2 Dependence Functions2.4.7.2 Measuring Event-to-Event Execution Cycle Count [Performance Measurement]This section explains how to measure
187CHAPTER2 Dependence Functions Measuring ProcedureUse the following steps to measure the performance.1. Specify the performance measuring interval
188CHAPTER2 Dependence Functions RemeasuringRemeasuring performance refers to a function that clears the measuring count during execution of a userp
189CHAPTER2 Dependence Functions2.4.8 Viewing Program Execution History [Trace]This section describes the trace function. What is TraceThe function
10CHAPTER1 Basic Functions1.6 Functions of Setting Tool OptionsThis section describes the functions to set options for the language tools activated f
190CHAPTER2 Dependence FunctionsFigure 2.4-9 shows how data is stored in the trace buffer.Figure 2.4-9 Acquiring Trace DataNote:Executing the force
191CHAPTER2 Dependence Functions2.4.8.1 Displaying Trace DataThis section explains how to display trace data. Display Formats of Trace DataThe follo
192CHAPTER2 Dependence Functions3. (If the trace window is already displayed), update trace data.- Right-click on the trace window, and select [Refre
193CHAPTER2 Dependence Functions2.4.8.1.1 Trace Data Display Examples (RAW Data)This section describes trace data that is displayed in the RAW data m
194CHAPTER2 Dependence Functionsframe no.Displays frame numbers in decimal notation.b-addrDisplays a branch address or low-level reset occurrence add
195CHAPTER2 Dependence Functionsa-dataDisplays access data in hexadecimal notation.In some cases, however, it may display read IDs, depending on the
196CHAPTER2 Dependence Functions2.4.8.1.2 Trace Data Display Example (Instruction)This section describes trace data that is displayed in the instruct
197CHAPTER2 Dependence Functions2.4.8.1.3 Trace Data Display Example (Source)This section describes trace data that is displayed in the source line m
198CHAPTER2 Dependence Functions2.4.8.2 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in a
199CHAPTER2 Dependence Functions2.4.8.3 Searching for Trace DataThis section explains how to search for trace data. Searching for Trace DataThe spec
11CHAPTER1 Basic Functions1.7 Error Jump FunctionThis section describes the error jump function in SOFTUNE Workbench. Error Jump Function When an er
200CHAPTER2 Dependence Functions2.4.8.4 Obtaining Only Trace Data with Specified AttributesThis section explains the trace filter. Trace FilterThis
201CHAPTER2 Dependence Functions2.4.8.5 Ending Trace Acquisition in Specified ConditionsThis section explains the trace trigger. Trace TriggerA trig
202CHAPTER2 Dependence Functions2.4.9 Disabling Memory Access to Specified AreaThis section explains the access-prohibited area. Access-prohibited A
203CHAPTER2 Dependence Functions2.4.10 Displaying Messages Output from the User Program on DebuggerThis section explains semihosting features. What
204CHAPTER2 Dependence Functions Using Semihosting FeaturePerform the following procedure to display the content of output request to MBR on the ter
205CHAPTER2 Dependence Functions2.4.11 Checking Debugger StatusThis section explains how to check information. Debugger InformationThe emulator debu
206CHAPTER2 Dependence FunctionsSiM911Product name: SOFTUNE WorkbenchFile Path: SiM911.dll pathVersion: SiM911.dll version---------------------------
207CHAPTER2 Dependence FunctionsCPU family ID: ID that indicates the CPU family installedin the deviceDSU type ID: ID that indicates the OCD-DSUinsta
208CHAPTER2 Dependence Functions2.5 Monitor DebuggerThis section describes the functions of the monitor debugger. Monitor Debugger The monitor debug
209CHAPTER2 Dependence Functions2.5.1 Resources Used by Monitor ProgramThe monitor program of the monitor debugger uses the I/O resources listed belo
12CHAPTER1 Basic Functions[Example]*** %f(%l) %h: or, %[*] %f(%l) %h:The first four characters are "*** ", followed by the file n
210CHAPTER2 Dependence Functions2.5.2 BreakThe Monitor Debugger provides two types of break functions. When by each break function aborts program exe
211CHAPTER2 Dependence Functions2.5.2.1 Software BreakA software break is a function to make a break by executing an instruction embedded in memory.T
212CHAPTER2 Dependence Functions2.5.2.2 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This funct
213CHAPTER2 Dependence Functions2.5.3 Measuring Execution TimeThis function measures the execution time of a program. Measurement ItemThe execution
214CHAPTER2 Dependence Functions2.5.4 Inaccessible AreaThis section explains inaccessible area by the monitor debugger. Inaccessible areaThe inacces
215INDEXINDEXThe index follows on the next page.This is listed in alphabetic order.
216INDEXIndexAAccessAccess to Flash Memory ...166Access-prohibited Area... 202Access Attrib
217INDEXDebuggingDEBUG I/F... 152Ending debugging... 156Power
218INDEXSTUB Function ...42Trace Buffer-full Break...46, 78, 118Trace Trigger Break..
219INDEXOperating EnvironmentOperating Environment... 22Setting Operating Environment ... 66, 100, 157Operating E
13CHAPTER1 Basic Functions1.8 Editor FunctionsThis section describes the functions of the SOFTUNE Workbench built-in standard editor. Standard Edito
220INDEXSecuritySecurity... 155Semihosting FeatureUsing Semihosting Feature ...
221INDEXTrace Trigger BreakTrace Trigger Break... 176UUser ProgramCommands Available during Execution of User Prog
ColophonCM71-00329-7EFUJITSU SEMICONDUCTOR CONTROLLER MANUALFR FAMILYSOFTUNETM WORKBENCHUSER’S MANUALfor V6November 2011 the seventh editionPublished
14CHAPTER1 Basic Functions● Font changing functionThe font size for character string displayed in the Edit window can be selected.
15CHAPTER1 Basic Functions1.9 Storing External EditorsThis section describes the function to set an external editor to SOFTUNE Workbench. External E
16CHAPTER1 Basic Functions Example of Optional SettingsNote:• Regarding execution of error jump in Hidemaru:To execute error jump in Hidemaru used a
17CHAPTER1 Basic Functions1.10 Storing External ToolsThis section describes the SOFTUNE Workbench function to set an external tool. External Tools A
18CHAPTER1 Basic Functions1.11 Macro Descriptions Usable in ManagerThis section explains the macro descriptions that can be used in the manager of SO
19CHAPTER1 Basic Functions*1: The macros are determined as follows:• Customize build1. Source file before and after executing compiler and assembler2
FUJITSU SEMICONDUCTOR LIMITEDFR FAMILYSOFTUNETM WORKBENCHUSER’S MANUALfor V6
20CHAPTER1 Basic Functions• Tool options1. Null character•Others1. File as focus is on the SRC tab of project window and valid file name is selected2
21CHAPTER1 Basic Functions Examples of Macro Expansion If the following workspace is opened, macro expansion is performed as follows:Workspace : C:\
22CHAPTER1 Basic Functions1.12 Setting Operating EnvironmentThis section describes the functions for setting the SOFTUNE Workbench operating environm
23CHAPTER1 Basic Functions1.13 Debugger TypesThis section describes the types of SOFTUNE Workbench debuggers. Type of debugger SOFTUNE Workbench int
24CHAPTER1 Basic Functions1.14 Memory Operation FunctionsThis section describes the memory operation functions. Functions for Memory Operations • Di
25CHAPTER1 Basic Functions1.15 Register OperationsThis section describes the register operations. Register Operations The Register window is opened
26CHAPTER1 Basic Functions1.16 Line Assembly and DisassemblyThis section describes line assembly and disassembly. Line Assembly To perform line-by-l
27CHAPTER1 Basic Functions1.17 Symbolic DebuggingThe symbols defined in a source program can be used for command parameters (address). There are thr
28CHAPTER1 Basic Functions Line Number Information Line number information is set with the line number information table in SOFTUNE Workbench when a
29CHAPTER1 Basic Functions1.17.1 Referring to Local SymbolsThis section describes referring to local symbols and Scope. Scope When a local symbol is
30CHAPTER1 Basic Functions1.17.2 Referring to C/C++ VariablesC/C++ variables can be specified using the same descriptions as in the source program wr
31CHAPTER1 Basic Functions Notes on C/C++ Symbols The C/C++ compiler outputs symbol information with "_" prefixed to global symbols. For
32CHAPTER1 Basic Functions
33CHAPTER2Dependence FunctionsThis chapter describes the functions dependent on each Debugger.2.1 Simulator Debugger2.2 Emulator Debugger (MB2197)2.
34CHAPTER2 Dependence Functions2.1 Simulator DebuggerThis section describes the functions of the simulator debugger. Simulator Debugger The simulato
35CHAPTER2 Dependence FunctionsTarget program sizeCODE XX(KB)DATA YY(KB)Required RAM space (MB) = 20 + (XX / 64) 6 + (YY / 64) 1.5However, RAM s
36CHAPTER2 Dependence Functions2.1.1 Instruction SimulationThis section describes the instruction simulation executed. Instruction Simulation This s
37CHAPTER2 Dependence Functions2.1.2 Memory SimulationThis section describes the memory simulation executed. Memory Simulation The simulator debugge
38CHAPTER2 Dependence Functions2.1.3 I/O Port SimulationThis section describes I/O port simulation executed. I/O Port Simulation (Input Port) There
39CHAPTER2 Dependence Functions2.1.4 Interrupt SimulationThis section describes interrupt simulation executed. Interrupt Simulation This simulates t
iPreface What is the SOFTUNE Workbench?SOFTUNE Workbench is support software for developing programs for the FR families of microprocessors / microco
40CHAPTER2 Dependence Functions2.1.5 Reset SimulationThis section describes the reset simulation executed. Reset Simulation The simulator simulates
41CHAPTER2 Dependence Functions2.1.6 Low Power Consumption Mode SimulationThis section describes the low power consumption mode simulation executed.
42CHAPTER2 Dependence Functions2.1.7 STUB FunctionThis section describes the STUB function which executes commands automatically when the breakpoint
43CHAPTER2 Dependence Functions2.1.8 BreakThis Simulator Debugger provides five types of break functions. When by each break function aborts program
44CHAPTER2 Dependence Functions2.1.8.1 Code BreakThis function causes a break by monitoring a specified address by software.A break occurs before exe
45CHAPTER2 Dependence Functions2.1.8.2 Data BreakThis function aborts the program execution when a data access (read/write) is made to a specified ad
46CHAPTER2 Dependence Functions2.1.8.3 Trace Buffer-full BreakThis function aborts the program execution when the trace buffer becomes full. Trace B
47CHAPTER2 Dependence Functions2.1.8.4 Guarded Access BreakA guarded access break suspends a executing program when accessing in violation of the acc
48CHAPTER2 Dependence Functions2.1.8.5 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This functi
49CHAPTER2 Dependence Functions2.1.9 Measuring Execution Cycle CountThis function measures the program execution cycle count and step count. The mea
ii Copyright ©2002-2011 FUJITSU SEMICONDUCTOR LIMITED All rights reserved.• The contents of this document are subject to change without notice. Cust
50CHAPTER2 Dependence Functions2.1.10 TraceThe address and status information can be sampled during program execution to record it in a trace buffer.
51CHAPTER2 Dependence Functions2.1.10.1 Trace SamplingTrace measurements are made of a program execution status during the interval between the start
52CHAPTER2 Dependence Functions2.1.10.2 Setting TraceYou must set the following two items to perform a trace. After that, trace data will be sampled
53CHAPTER2 Dependence Functions2.1.10.3 Displaying Trace DataData recorded in the trace buffer can be displayed. Displaying Trace Data The trace win
54CHAPTER2 Dependence Functions2.1.10.4 Display Format of Trace DataThere are two display formats for displaying the data stored in the trace buffer.
55CHAPTER2 Dependence Functions2.1.10.5 Searching Trace DataThe trace buffer can be searched to locate target data. Searching Trace Data Specify the
56CHAPTER2 Dependence Functions2.1.10.6 Saving Trace DataThe debugger has function of saving trace data. Saving Trace Data Save the trace data to th
57CHAPTER2 Dependence Functions2.1.10.7 Clearing Trace DataTo clear trace data, use the following command. Clearing Trace Data When clearing trace d
58CHAPTER2 Dependence Functions2.1.11 Measuring CoverageIn the high-speed version simulator debugger, the C0 coverage measurement function is provide
59CHAPTER2 Dependence Functions2.1.11.1 Coverage Measurement ProceduresThe procedure for coverage measurement is as follows:- Set range for coverage
iiiCONTENTSCHAPTER1 Basic Functions ... 11.1 Workspace Manage
60CHAPTER2 Dependence Functions- Displaying coverage rate of load module (Specify /MODULE for the command qualifier)- Summary (Specify /GENERAL for c
61CHAPTER2 Dependence Functions- Displays per source line (Specify /SOURCE for the command qualifier)- Displays per machine instruction (Specify /INS
62CHAPTER2 Dependence Functions2.1.12 Checking Debugger StatusThis section explains how to check information about the simulator debugger. Debugger
63CHAPTER2 Dependence Functions Version: SiiEd3.ocx version------------------------------------------------------- SiM911 Product name: SOFTUNE Workb
64CHAPTER2 Dependence FunctionsREALOS version: REALOS version------------------------------------------------------- SiIODef Product name: Softune Wo
65CHAPTER2 Dependence Functions2.2 Emulator Debugger (MB2197)This section describes the emulator debugger functions that are available when the emula
66CHAPTER2 Dependence Functions2.2.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environme
67CHAPTER2 Dependence Functions2.2.1.1 MCU Operation ModeThe following four modes are in the MCU Operation Mode. The Internal Trace Mode and Externa
68CHAPTER2 Dependence Functions2.2.1.2 DRAM Refresh ControlThis section explains DRAM refresh setup. DRAM Refresh Control The operating frequency of
69CHAPTER2 Dependence Functions2.2.1.3 Cache Flush ControlThis section explains cache flush setup. Cache Flush Control When using a chip with cache
iv 2.1.10.5 Searching Trace Data ... 552
70CHAPTER2 Dependence Functions2.2.1.4 Operating FrequencyThis section explains the setting of operating frequencies. Operating frequencies Set the
71CHAPTER2 Dependence Functions2.2.2 Notes on Executing ProgramThere are some precautions to observe when using program execution commands. Real-tim
72CHAPTER2 Dependence Functions2.2.3 Commands Available during Execution of User ProgramThis section explains the commands available during the execu
73CHAPTER2 Dependence Functions2.2.4 BreakThe emulator debugger (MB2197) provides seven types of break functions. When by each break function aborts
74CHAPTER2 Dependence Functions2.2.4.1 Code BreakThis function aborts the program execution by monitoring a specified address by hardware or software
75CHAPTER2 Dependence FunctionsNotes:HardwareThe hardware break requires the following cautions:- Do not set any hardware break in instruction placed
76CHAPTER2 Dependence Functions2.2.4.2 Code Event BreakThis function used breakpoints contained in the evaluation chip. The address mask, pass count
77CHAPTER2 Dependence Functions2.2.4.3 Data Event BreakThis function uses breakpoints contained in the evaluation chip. The address mask, data size,
78CHAPTER2 Dependence Functions2.2.4.4 Trace Buffer-full BreakThis function aborts the program execution when the trace buffer becomes full. Trace B
79CHAPTER2 Dependence Functions2.2.4.5 Alignment Error BreakThis function aborts the program execution when an instruction access or a word/half word
v2.3.4.2 Data Break ... 11
80CHAPTER2 Dependence Functions2.2.4.6 External Trigger BreakThis function aborts the program execution when an external signal is input from the TRI
81CHAPTER2 Dependence Functions2.2.4.7 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This funct
82CHAPTER2 Dependence Functions2.2.5 Measuring Execution Cycle CountThis function measures the program execution cycle count. The measuring item Mea
83CHAPTER2 Dependence Functions2.2.6 TraceThe address and status information can be sampled during program execution to record it in a trace buffer.
84CHAPTER2 Dependence Functions2.2.6.1 Trace DataData sampled and recorded by tracing is called trace data. Trace Data You can sample the following
85CHAPTER2 Dependence Functions2.2.6.2 Trace SamplingTrace measurements of the program execution status are made during the interval between the prog
86CHAPTER2 Dependence Functions2.2.6.3 Setting TraceTo perform a trace, complete steps 1 through 3 below. When a program is executed after completio
87CHAPTER2 Dependence Functions2.2.6.4 Displaying Trace DataData recorded in the trace buffer can be Displayed. Displaying Trace Data The trace wind
88CHAPTER2 Dependence Functions2.2.6.5 Display Format of Trace DataThere is a format for displaying trace buffer data. Display Format of Trace Data
89CHAPTER2 Dependence Functions2.2.6.6 Searching Trace DataThe trace buffer can be searched to locate target data. Searching Trace Data Specify the
Comments to this Manuals