Fujitsu F2 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software Fujitsu F2 herunter. Fujitsu F2 User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - USER'S MANUAL

FUJITSU SEMICONDUCTORCONTROLLER MANUALF2MC-16 FAMILYSOFTUNETM WorkbenchUSER'S MANUALCM41-00313-6E

Seite 2

vi 2.1.11.3 Searching Trace Data ... 552

Seite 3

86CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5.6 Performance-Buffer-Full BreakIt is a function to abort the program execution when the buffer for the performa

Seite 4

87CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5.7 Forced BreakIt is a function to abort the execution of the program compulsorily. Forced BreakIt is a functio

Seite 5 - ■ Organization of This Manual

88CHAPTER 2 DEPENDENCE FUNCTIONS2.2.6 EventsThe emulator can monitor the MCU bus operation, and generate a trigger at a specified condition called an

Seite 6

89CHAPTER 2 DEPENDENCE FUNCTIONS[Example]>SET EVENT 1,func1>SET EVENT/WRITE 2,data[2],!d=h'10>SET EVENT/MODIFY 3,102An event can be set

Seite 7 - READING THIS MANUAL

90CHAPTER 2 DEPENDENCE FUNCTIONS2.2.6.1 Operation in Normal ModeAs shown in the figure below, the event trigger set in the normal mode performs input

Seite 8

91CHAPTER 2 DEPENDENCE FUNCTIONS Event-related Commands in Normal ModeSince the real-time trace function in the normal mode is actually the single t

Seite 9 - CONTENTS

92CHAPTER 2 DEPENDENCE FUNCTIONS2.2.6.2 Operation in Multi Trace ModeWhen the multi trace mode is selected as the event mode, the real-time trace fun

Seite 10

93CHAPTER 2 DEPENDENCE FUNCTIONS Event-related Commands in Multi Trace ModeTable 2.2-7 shows the event-related commands that can be used in the mult

Seite 11

94CHAPTER 2 DEPENDENCE FUNCTIONS2.2.6.3 Operation in Performance ModeEvent triggers set in the performance mode are used to measure performance. The

Seite 12

95CHAPTER 2 DEPENDENCE FUNCTIONS Event-related Commands in Performance ModeTable 2.2-8 shows the event-related commands that can be used in the perf

Seite 13

vii2.2.10.1 Coverage Measurement Procedures ... 1272.2.11 Executio

Seite 14

96CHAPTER 2 DEPENDENCE FUNCTIONS2.2.7 Control by SequencerThis emulator has a sequencer to control events. By using this sequencer, sampling of break

Seite 15 - BASIC FUNCTIONS

97CHAPTER 2 DEPENDENCE FUNCTIONS2.2.7.1 Setting SequencerThe sequencer operates in the following order:(1) The sequencer starts from level 1 simultan

Seite 16

98CHAPTER 2 DEPENDENCE FUNCTIONS[Setup Examples]- Terminate sequencer when event 1 occurs.>SET SEQUENCE/EVENT 1,1,J=0- Terminate sequencer when ev

Seite 17 - ■ Project Configuration

99CHAPTER 2 DEPENDENCE FUNCTIONS2.2.7.2 Break by SequencerA program can suspend program execution when the sequencer terminates. This break is called

Seite 18

100CHAPTER 2 DEPENDENCE FUNCTIONS2.2.7.3 Trace Sampling Control by SequencerWhen the event mode is in the normal mode, real-time trace executing trac

Seite 19 - 1.3 Project Dependence

101CHAPTER 2 DEPENDENCE FUNCTIONS[Setup Example]Suspend trace sampling when event 1 occurs, and then resume at event 2 and keep sampling data untilev

Seite 20 - 1.4 Make/Build Function

102CHAPTER 2 DEPENDENCE FUNCTIONS2.2.7.4 Time Measurement by SequencerTime can be measured using the sequencer. A time measurement timer called the e

Seite 21 - ■ Macro List

103CHAPTER 2 DEPENDENCE FUNCTIONS2.2.7.5 Sample Flow of Time Measurement by SequencerIn the following sample, when events are executed in the order o

Seite 22

104CHAPTER 2 DEPENDENCE FUNCTIONS>SET SEQUENCE/EVENT 1,1,J=2>SET SEQUENCE/EVENT 2,4,J=1>SET SEQUENCE/EVENT 2,2,J=3>SET SEQUENCE/EVENT

Seite 23 - Workbench

105CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8 Real-time TraceWhile execution a program, the address, data and status information, and the data sampled by an

Seite 24 - ■ Tool Options

viii 2.4.1 Setting Operating Environment ... 2032.4.1

Seite 25 - 1.7 Error Jump Function

106CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.1 Single TraceThe single trace traces all data from the start of executing a program until the program is abor

Seite 26 - ■ Reference Section

107CHAPTER 2 DEPENDENCE FUNCTIONS Frame Number and Step Number in Single TraceThe sampled trace data is numbered in frame units. This number is call

Seite 27 - 1.8 Editor Functions

108CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.2 Setting Single TraceThe following settings (1) to (4) are required before executing single trace. Once these

Seite 28 - 1.9 Storing External Editors

109CHAPTER 2 DEPENDENCE FUNCTIONS(4) Set trace-buffer-full break.The program can be allowed to break when the trace buffer becomes full. Use the SET

Seite 29

110CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.3 Multi traceThe multi trace samples data where an event trigger occurs for 8 frames before and after the even

Seite 30 - 1.10 Storing External Tools

111CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.2-13 Frame Number in Multi TraceBlock number Trace buffer Frame numberGlobal number Local number Event tri

Seite 31 - ■ Macros

112CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.4 Setting Multi TraceBefore executing the multi trace, the following settings must be made. After these settin

Seite 32

113CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.5 Displaying Trace Data Storage StatusIt is possible to Displays how much trace data is stored in the trace bu

Seite 33 - ■ Examples of Macro Expansion

114CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.6 Specify Displaying Trace Data StartIt is possible to specify from which data in the trace buffer to display.

Seite 34

115CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.7 Display Format of Trace DataA display format can be chosen by specifying a command identifier with the SHOW

Seite 35 - ■ Operating Environment

ix2.5.7 Measuring Performance ... 2662.5.7.

Seite 36 - 1.13 Debugger Types

116CHAPTER 2 DEPENDENCE FUNCTIONS Displaying All Machine Cycles (Specify /CYCLE.)Detailed information at all sampled machine cycles can be displayed

Seite 37

117CHAPTER 2 DEPENDENCE FUNCTIONS[Example]>>SHOW TRACE/CYCLE -587frame no. address data a-status d-status Qst dfg level ext-probe-00587 :FF0106

Seite 38 - 1.15 Register Operations

118CHAPTER 2 DEPENDENCE FUNCTIONS(7):valid flag@:valid frame for this data(8):sequencer level(9):external probe data Display in Source Line Units (S

Seite 39 - ■ Disassembly

119CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.8 Reading Trace Data On-the-flyTrace data can be read while executing a program. However, this is not possible

Seite 40 - 1.17 Symbolic Debugging

120CHAPTER 2 DEPENDENCE FUNCTIONS Reading Trace Data On-the-fly in the Multi TraceUse the DISABLE MULTITRACE command to disable the trace function b

Seite 41 - ■ Line Number Information

121CHAPTER 2 DEPENDENCE FUNCTIONS2.2.8.9 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in

Seite 42 - ■ Moving Scope

122CHAPTER 2 DEPENDENCE FUNCTIONS2.2.9 Measuring PerformanceIt is possible to measure the time and pass count between two events. Repetitive measurem

Seite 43

123CHAPTER 2 DEPENDENCE FUNCTIONS2.2.9.1 Performance Measurement ProceduresPerformance can be measured by the following procedure:• Setting event mod

Seite 44 - ■ Notes on C Language Symbols

124CHAPTER 2 DEPENDENCE FUNCTIONS Setting EventsSet events using the SET EVENT command.The starting/ending point of time measurement and points to m

Seite 45 - DEPENDENCE FUNCTIONS

125CHAPTER 2 DEPENDENCE FUNCTIONS2.2.9.2 Display Performance Measurement DataDisplay the measured time and measuring count by using the SHOW PERFORMA

Seite 47 - ■ Simulation Range

126CHAPTER 2 DEPENDENCE FUNCTIONS2.2.10 Measuring CoverageThis emulator has the C0 coverage measurement function. Use this function to find what perc

Seite 48

127CHAPTER 2 DEPENDENCE FUNCTIONS2.2.10.1 Coverage Measurement ProceduresThe procedure for coverage measurement is as follows:• Set range for coverag

Seite 49 - The simulator debugger for F

128CHAPTER 2 DEPENDENCE FUNCTIONS● Displaying coverage rate of load module (specify /MODULE for the command qualifier)● Summary (Specify /GENERAL for

Seite 50 - 2.1.2 Instruction Simulation

129CHAPTER 2 DEPENDENCE FUNCTIONS● Displays per source line (specify /SOURCE for the command qualifier)● Displays per machine instruction (specify /I

Seite 51 - 2.1.3 Memory Simulation

130CHAPTER 2 DEPENDENCE FUNCTIONSNote:With MB2141 emulator, the code coverage measurement is affected by a prefetch. Note whenanalyzing.

Seite 52 - 2.1.4 I/O Port Simulation

131CHAPTER 2 DEPENDENCE FUNCTIONS2.2.11 Execution Time MeasurementThis function measures the program execution time. Measurement ItemsMeasures time

Seite 53 - 2.1.5 Interrupt Simulation

132CHAPTER 2 DEPENDENCE FUNCTIONS• Clearing by dialogClick the [Clear] button in the time measurement dialog, which can be displayed by selecting [De

Seite 54 - 2.1.6 Reset Simulation

133CHAPTER 2 DEPENDENCE FUNCTIONS2.2.12 Sampling by External ProbeAn external probe can be used to sample (input) data. There are two sampling types:

Seite 55

134CHAPTER 2 DEPENDENCE FUNCTIONS Displaying and Setting External Probe DataWhen a command that can use external probe data is executed, external pr

Seite 56 - Program execution

135CHAPTER 2 DEPENDENCE FUNCTIONS2.2.13 Checking Debugger InformationThis section explains how to check information about the MB2141 emulator debugge

Seite 57 - 2.1.9 Break

1CHAPTER 1BASIC FUNCTIONSThis chapter describes the basic functions on the SOFTUNE Workbench.1.1 Workspace Management Function1.2 Project Management

Seite 58 - 2.1.9.1 Code Break

136CHAPTER 2 DEPENDENCE FUNCTIONS----------------------------Language Tools- F2MC-16 Family SOFTUNE C Compiler versionFile Path: fcc907s.exe path- F2

Seite 59

137CHAPTER 2 DEPENDENCE FUNCTIONS2.3 Emulator Debugger (MB2147-01)This section explains the functions of the emulator debuggers for the MB2147-01. E

Seite 60 - 2.1.9.2 Data Break

138CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environ

Seite 61

139CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1.1 Monitoring Program Automatic LoadingThe MB2147-01 emulator can automatically update the monitoring program a

Seite 62 - 2.1.9.4 Guarded Access Break

140CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1.2 MCU Operation ModeThere are two MCU operation modes as follows:• Debugging Mode• Native Mode Setting MCU Op

Seite 63 - 2.1.9.5 Forced Break

141CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1.3 Debug AreaSet the intensive debugging area out of the whole memory space. The area functions are enhanced.

Seite 64

142CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1.4 Memory Area TypesA unit in which memory is allocated is called an area. There are five different area types.

Seite 65

143CHAPTER 2 DEPENDENCE FUNCTIONSNote:The internal memory area, it is set a suitable area automatically by the selected MCU.- Internal ROM Image Area

Seite 66 - 2.1.11 Trace

144CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1.5 Memory MappingMemory space can be allocated to the user memory and the emulation memory, etc., and the attri

Seite 67 - 2.1.11.1 Setting Trace

145CHAPTER 2 DEPENDENCE FUNCTIONS Creating and Viewing Memory MapUse the following commands for memory mapping.SET MAP: Set memory map.SHOW MAP: Dis

Seite 68 - ■ Clearing Trace Data

2CHAPTER 1 BASIC FUNCTIONS1.1 Workspace Management FunctionThis section explains the workspace management function of SOFTUNE Workbench. WorkspaceSO

Seite 69 - 2.1.11.3 Searching Trace Data

146CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1.6 Debug FunctionThe debug function has the following two types. Only the function of the selected mode can be

Seite 70 - 2.1.11.4 Saving Trace Data

147CHAPTER 2 DEPENDENCE FUNCTIONS2.3.1.7 Event ModeThere are three event modes as listed below.• Normal mode• Multi trace mode• Performance mode Eve

Seite 71 - 2.1.12 Measuring Coverage

148CHAPTER 2 DEPENDENCE FUNCTIONS2.3.2 Notes on Commands for Executing ProgramWhen using commands to execute a program, there are several points to n

Seite 72

149CHAPTER 2 DEPENDENCE FUNCTIONS Notes on STEP Command- Exceptional Step ExecutionWhen executing the instructions listed in the notes on the GO com

Seite 73

150CHAPTER 2 DEPENDENCE FUNCTIONS2.3.3 Commands Available during Execution of User ProgramThis section explains the commands available during the exe

Seite 74

151CHAPTER 2 DEPENDENCE FUNCTIONS*1: For detail, refer to Section "2.3.6 Real-time Trace".*2: For detail, refer to Section "2.3.1.6

Seite 75

152CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4 BreakIn this emulator debugger, nine types of break functions can be used. When the program execution is abort

Seite 76

153CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.1 Code BreakIt is a function to abort the program by observing the specified address. The break is done before

Seite 77

154CHAPTER 2 DEPENDENCE FUNCTIONS● Abnormal Breakpoint• Setting a breakpoint at the instruction immediately after string instructions listed below, m

Seite 78

155CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.2 Data BreakThe data break is a function to abort the program execution when the data access (read or write) i

Seite 79 - 2.2.1.1 MCU Operation Mode

3CHAPTER 1 BASIC FUNCTIONS1.2 Project Management FunctionThis section explains the project management function of SOFTUNE Workbench. Project Managem

Seite 80 - ■ MCU Operation Speed

156CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.3 Monitoring Data BreakIt is a special break function to abort execution while it is corresponding to specifie

Seite 81 - 2.2.1.2 Debug Area

157CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.4 Sequential BreakA sequential break is a function to abort a executing program, when the sequential condition

Seite 82 - 2.2.1.3 Memory Area Types

158CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.5 Guarded Access BreakThe guarded access break is an abortion of the program execution that happens when the v

Seite 83

159CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.6 Trace-Buffer-Full BreakIt is a function to abort the program execution when the trace buffer becomes full.

Seite 84

160CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.7 Performance-Buffer-Full BreakIt is a function to abort the program execution when the buffer for the perform

Seite 85 - 2.2.1.4 Memory Mapping

161CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.8 External Trigger BreakIt is a function to abort the execution of the program when an external signal is inpu

Seite 86

162CHAPTER 2 DEPENDENCE FUNCTIONS2.3.4.9 Forced BreakIt is a function to abort the execution of the program compulsorily. Forced BreakIt is a functi

Seite 87

163CHAPTER 2 DEPENDENCE FUNCTIONS2.3.5 Control by SequencerThis emulator has a sequencer to control events. By using this sequencer, sampling of brea

Seite 88

164CHAPTER 2 DEPENDENCE FUNCTIONS Setting EventsThe emulator can monitor the MCU bus operation, and generate a trigger for a sequencer at a specifie

Seite 89

165CHAPTER 2 DEPENDENCE FUNCTIONS2.3.5.1 Setting SequencerThe sequencer operates in the following order:1) The sequencer starts after the program exe

Seite 90

4CHAPTER 1 BASIC FUNCTIONSlevel of a compiler and MCU setting, can be created within one project.In the project configuration, the following informat

Seite 91

166CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.3-1 Operation of Sequencer Setting SequencerThe sequencer can be set by the dialog or the command.● Setti

Seite 92

167CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6 Real-time TraceWhile execution a program, the address, data and status information, and the data sampled by an

Seite 93 - 2.2.5 Break

168CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.3-2 Frame Numbering at Tracing Trace FilterTo make effective use of the limited trace buffer capacity, in

Seite 94 - 2.2.5.1 Code Break

169CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.3-3 Trace Sampling Operation (Trace Trigger) Setting Data Monitoring Trace TriggerWhen the debug function

Seite 95

170CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.1 Setting Single TraceTo perform a single trace, follow steps 1 through 4 below. When a program is executed a

Seite 96 - 2.2.5.2 Data Break

171CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.2 Multi TraceOnly when an event trigger occurred, the multi trace samples data before and after the event trig

Seite 97 - 2.2.5.3 Sequential Break

172CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.3-5 Frame Number in Multi Trace Trace DelayThe trace data which is acquired after one event occurrence is

Seite 98 - 2.2.5.4 Guarded Access Break

173CHAPTER 2 DEPENDENCE FUNCTIONSNote:The multi trace function in MB2147-01 is exclusive with the RAM Checker function. For more details,refer to Sec

Seite 99

174CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.3 Setting Methods of Multi TraceBefore executing the multi trace, the following settings must be made. After t

Seite 100 - ■ Setting Method

175CHAPTER 2 DEPENDENCE FUNCTIONSTable 2.3-7 shows the list of trace-related commands that can be used in multi trace mode.Table 2.3-7 Trace-related

Seite 101 - 2.2.5.7 Forced Break

5CHAPTER 1 BASIC FUNCTIONS1.3 Project DependenceThis section explains the project dependence of SOFTUNE Workbench. Project DependenceIf target files

Seite 102 - 2.2.6 Events

176CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.4 Displaying Trace Data Storage StatusIt is possible to displays how much trace data is stored in the trace bu

Seite 103 - ■ Event Modes

177CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.5 Specify Displaying Trace Data Storage StatusThe data display start position in the trace buffer can be speci

Seite 104 - ■ Operation in Normal Mode

178CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.6 Display Format of Trace DataThe trace data display format can be selected by running the SHOW TRACE command

Seite 105

179CHAPTER 2 DEPENDENCE FUNCTIONS Displaying All Machine Cycles (Specify /CYCLE)Detailed information at all sampled machine cycles can be displayed.

Seite 106 - Multitrace measurement

180CHAPTER 2 DEPENDENCE FUNCTIONSHow to read trace dataframe no. address data a-status d-status Qst dfg event time stamp(1) (2) (3) (4) (5) (6) (7) (

Seite 107

181CHAPTER 2 DEPENDENCE FUNCTIONS Display in Source Line Units (Specify /SOURCE.)Only the source line can be displayed. This mode is enabled only in

Seite 108 - Performance measurement

182CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.7 Reading Trace Data On-the-flyTrace data can be read while executing a program. However, this is not possible

Seite 109

183CHAPTER 2 DEPENDENCE FUNCTIONS2.3.6.8 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in

Seite 110 - 2.2.7 Control by Sequencer

184CHAPTER 2 DEPENDENCE FUNCTIONS2.3.7 Measuring PerformanceIt is possible to measure the time and pass count between two events. Repetitive measurem

Seite 111 - 2.2.7.1 Setting Sequencer

185CHAPTER 2 DEPENDENCE FUNCTIONS2.3.7.1 Performance Measurement ProceduresPerformance can be measured by the following procedure:• Setting event mod

Seite 113 - 2.2.7.2 Break by Sequencer

6CHAPTER 1 BASIC FUNCTIONS1.4 Make/Build FunctionThis section explains the make/build function of SOFTUNE Workbench. Make FunctionMake function gene

Seite 114

186CHAPTER 2 DEPENDENCE FUNCTIONS● Measuring CountThe specified events become performance measurement points automatically. Executing ProgramStart m

Seite 115

187CHAPTER 2 DEPENDENCE FUNCTIONS2.3.7.2 Display Performance Measurement DataDisplay the measured time and measuring count by using the SHOW PERFORMA

Seite 116

188CHAPTER 2 DEPENDENCE FUNCTIONS2.3.8 Measuring CoverageThis emulator has the C0 coverage measurement function. Use this function to find what perce

Seite 117

189CHAPTER 2 DEPENDENCE FUNCTIONS2.3.8.1 Coverage Measurement ProceduresThe procedure for coverage measurement is as follows:• Set range for coverage

Seite 118

190CHAPTER 2 DEPENDENCE FUNCTIONS● Summary (Specify /GENERAL for command qualifier)● Details (Specify /DETAIL for command qualifier.)>SHOW COVERAG

Seite 119 - 2.2.8 Real-time Trace

191CHAPTER 2 DEPENDENCE FUNCTIONS● Displays per source line (Specify /SOURCE for the command qualifier)● Displays per machine instruction (Specify /I

Seite 120 - 2.2.8.1 Single Trace

192CHAPTER 2 DEPENDENCE FUNCTIONS2.3.9 Real-time MonitoringThe real-time monitoring function is used to display the memory contents during program ex

Seite 121

193CHAPTER 2 DEPENDENCE FUNCTIONS2.3.10 Execution Time MeasurementThis function measures the program execution time. Measurement ItemsMeasures time

Seite 122 - 2.2.8.2 Setting Single Trace

194CHAPTER 2 DEPENDENCE FUNCTIONS• Clearing by commandEnter the CLEAR TIMER command in the command window.For details, refer to Section "4.28 CL

Seite 123

195CHAPTER 2 DEPENDENCE FUNCTIONS2.3.11 Power-on DebuggingThis section explains power-on debugging by the emulators for the MB2147-01. Power-on Debu

Seite 124 - 2.2.8.3 Multi trace

7CHAPTER 1 BASIC FUNCTIONS1.4.1 Customize Build FunctionThis section describes the SOFTUNE Workbench to set the Customize Build function. Customize

Seite 125 - Global number Local number

196CHAPTER 2 DEPENDENCE FUNCTIONS2.3.12 RAM CheckerThis section describes the functions of the RAM Checker. OverviewThe RAM checker obtains history

Seite 126 - 2.2.8.4 Setting Multi Trace

197CHAPTER 2 DEPENDENCE FUNCTIONS Specifications List• SOFTUNE format- To display in the RAM Checker viewer (recommended)- Default extension is &quo

Seite 127

198CHAPTER 2 DEPENDENCE FUNCTIONSFor details about settings of the RAM Checker viewer, refer to Section "3.21 RAM Checker Window" of"S

Seite 128

199CHAPTER 2 DEPENDENCE FUNCTIONS RAM Checker ViewerThe RAM Checker Viewer is a tool for graphically displaying changes in data values with the pass

Seite 129

200CHAPTER 2 DEPENDENCE FUNCTIONS2.3.13 Checking Debugger InformationThis section explains how to check information about the MB2147-01 emulator debu

Seite 130 - Display of sequencer level

201CHAPTER 2 DEPENDENCE FUNCTIONS- F2MC-16 Family SOFTUNE Linker versionFile Path: flnk907s.exe path- F2MC-16 Family SOFTUNE Librarian versionFile Pa

Seite 131

202CHAPTER 2 DEPENDENCE FUNCTIONS2.4 Emulator Debugger (MB2147-05)This section explains the functions of the emulator debuggers for the MB2147-05. E

Seite 132

203CHAPTER 2 DEPENDENCE FUNCTIONS2.4.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environ

Seite 133

204CHAPTER 2 DEPENDENCE FUNCTIONS2.4.1.1 Monitoring Program Automatic LoadingEmulators for MB2147-05 can automatically update the monitoring program

Seite 134

205CHAPTER 2 DEPENDENCE FUNCTIONS2.4.1.2 MCU Operation ModeThere are two MCU operation modes as follows:• Debugging Mode• Native Mode Setting MCU Op

Seite 135 - 2.2.8.9 Saving Trace Data

8CHAPTER 1 BASIC FUNCTIONSNote:When checking [Use the Output window], note the following:• Once a tool is activated, Make/Build is suspended until th

Seite 136 - 2.2.9 Measuring Performance

206CHAPTER 2 DEPENDENCE FUNCTIONS2.4.1.3 Debug AreaSet the intensive debugging area out of the whole memory space. The area functions are enhanced.

Seite 137

207CHAPTER 2 DEPENDENCE FUNCTIONS2.4.1.4 Memory Area TypesA unit in which memory is allocated is called an area. There are five different area types.

Seite 138 - ■ Executing Program

208CHAPTER 2 DEPENDENCE FUNCTIONSNote:The internal memory area, it is set a suitable area automatically by the selected MCU.- Internal ROM Image Area

Seite 139 - ■ Displaying Measured Time

209CHAPTER 2 DEPENDENCE FUNCTIONS2.4.1.5 Memory MappingMemory space can be allocated to the user memory and the emulation memory, etc., and the attri

Seite 140 - 2.2.10 Measuring Coverage

210CHAPTER 2 DEPENDENCE FUNCTIONS Creating and Viewing Memory MapUse the following commands for memory mapping.SET MAP: Set memory map.SHOW MAP: Dis

Seite 141

211CHAPTER 2 DEPENDENCE FUNCTIONS2.4.2 Notes on Commands for Executing ProgramWhen using commands to execute a program, there are several points to n

Seite 142

212CHAPTER 2 DEPENDENCE FUNCTIONS Notes on STEP Command● Exceptional Step ExecutionWhen executing the instructions listed in the notes on the GO com

Seite 143

213CHAPTER 2 DEPENDENCE FUNCTIONS2.4.3 Commands Available during Execution of User ProgramThis section explains the commands available during the exe

Seite 144

214CHAPTER 2 DEPENDENCE FUNCTIONS2.4.4 BreakIn this emulator debugger, five kinds of break functions can be used. When the program execution is abort

Seite 145 - ■ Measurement Items

215CHAPTER 2 DEPENDENCE FUNCTIONS2.4.4.1 Code BreakIt is a function to abort the program execution by observing the specified address. The break is d

Seite 146

9CHAPTER 1 BASIC FUNCTIONS1.5 Include Dependencies Analysis FunctionThis section describes the function of the Include Dependencies Analysis of SOFTU

Seite 147 - ■ Sampling by External Probe

216CHAPTER 2 DEPENDENCE FUNCTIONS● Abnormal Breakpoint• Setting a breakpoint at the instruction immediately after string instructions listed below, m

Seite 148

217CHAPTER 2 DEPENDENCE FUNCTIONS2.4.4.2 Data BreakThe data break is a function to abort the program execution when the data access (read or write) i

Seite 149 - ■ Displayed Contents

218CHAPTER 2 DEPENDENCE FUNCTIONS2.4.4.3 Guarded Access BreakThe guarded access break is an abortion of the program execution that happens when the v

Seite 150

219CHAPTER 2 DEPENDENCE FUNCTIONS2.4.4.4 Trace-Buffer-Full BreakIt is a function to abort the program execution when the trace buffer becomes full.

Seite 151 - ■ Emulator

220CHAPTER 2 DEPENDENCE FUNCTIONS2.4.4.5 Forced BreakIt is a function to abort the execution of the program compulsorily. Forced BreakIt is a functi

Seite 152

221CHAPTER 2 DEPENDENCE FUNCTIONS2.4.5 Real-time TraceWhile execution a program, the address, data and status information, and the data sampled by an

Seite 153

222CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.4-1 Frame Number at Tracing Trace FilterTo make effective use of the limited trace buffer capacity, in ad

Seite 154 - 2.3.1.2 MCU Operation Mode

223CHAPTER 2 DEPENDENCE FUNCTIONS2.4.5.1 Setting TraceTo perform a trace, follow steps (1), (2) below. When a program is executed after completion of

Seite 155 - 2.3.1.3 Debug Area

224CHAPTER 2 DEPENDENCE FUNCTIONS2.4.5.2 Displaying Trace Data Storage StatusIt is possible to displays how much trace data is stored in the trace bu

Seite 156 - 2.3.1.4 Memory Area Types

225CHAPTER 2 DEPENDENCE FUNCTIONS2.4.5.3 Specifying Displaying Trace Data StartThe data display start position in the trace buffer can be specified b

Seite 157

10CHAPTER 1 BASIC FUNCTIONS1.6 Functions of Setting Tool OptionsThis section describes the functions to set options for the language tools activated

Seite 158 - 2.3.1.5 Memory Mapping

226CHAPTER 2 DEPENDENCE FUNCTIONS2.4.5.4 Display Format of Trace DataThe trace data display format can be selected by running the SHOW TRACE command

Seite 159 - ■ Internal ROM Area Setting

227CHAPTER 2 DEPENDENCE FUNCTIONS Displaying All Machine CyclesDetailed information at all sampled machine cycles can be displayed.In this mode, no

Seite 160 - 2.3.1.6 Debug Function

228CHAPTER 2 DEPENDENCE FUNCTIONSHow to read trace dataframe no. address data a-status d-status Qst dfg(1) (2) (3) (4) (5) (6) (7)(1):frame number (

Seite 161 - 2.3.1.7 Event Mode

229CHAPTER 2 DEPENDENCE FUNCTIONS Display in Source Line Units (Specify /SOURCE.)Only the source line can be displayed. This mode is enabled only in

Seite 162 - ■ Notes on GO Command

230CHAPTER 2 DEPENDENCE FUNCTIONS2.4.5.5 Reading Trace Data On-the-flyTrace data can be read while executing a program. However, this is not possible

Seite 163 - ■ Controlling Watchdog Timer

231CHAPTER 2 DEPENDENCE FUNCTIONS2.4.5.6 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in

Seite 164

232CHAPTER 2 DEPENDENCE FUNCTIONS2.4.6 Measuring Execution Cycle CountThis function measures the program execution cycle count. Measurement ItemsMea

Seite 165

233CHAPTER 2 DEPENDENCE FUNCTIONS2.5 Emulator Debugger (MB2198)This section explains the functions of the emulator debuggers for the MB2198. Emulato

Seite 166 - 2.3.4 Break

234CHAPTER 2 DEPENDENCE FUNCTIONS2.5.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environ

Seite 167 - 2.3.4.1 Code Break

235CHAPTER 2 DEPENDENCE FUNCTIONS2.5.1.1 Monitoring Program Automatic LoadingThe MB2198 emulator can automatically update the monitoring program at e

Seite 168

11CHAPTER 1 BASIC FUNCTIONS1.7 Error Jump FunctionThis section describes the error jump function in SOFTUNE Workbench. Error Jump FunctionWhen an er

Seite 169 - 2.3.4.2 Data Break

236CHAPTER 2 DEPENDENCE FUNCTIONS2.5.1.2 Boot ROM File Automatic ExecutionThe MB2198 emulator automatically loads and executes the Boot ROM file duri

Seite 170 - 2.3.4.3 Monitoring Data Break

237CHAPTER 2 DEPENDENCE FUNCTIONS2.5.1.3 MCU Operation ModeThere are two MCU operation modes as follows:• Full Trace Mode• Real-Time Mode Setting MC

Seite 171 - 2.3.4.4 Sequential Break

238CHAPTER 2 DEPENDENCE FUNCTIONS2.5.1.4 Operation Frequency ControlThis section describes the operation frequency setup. Operation frequencySet the

Seite 172 - 2.3.4.5 Guarded Access Break

239CHAPTER 2 DEPENDENCE FUNCTIONS2.5.2 Notes on Commands for Executing ProgramWhen using commands to execute a program, there are several points to n

Seite 173 - ■ Trace-Buffer-Full Break

240CHAPTER 2 DEPENDENCE FUNCTIONS2.5.3 Commands Available during Execution of User ProgramThis section explains the commands available during the exe

Seite 174

241CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• The conditions which allow you to use the commands in Table 2.5-1 are limited to the followingcases when a u

Seite 175 - ■ External Trigger Break

242CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4 BreakIn this emulator debugger, seven kinds of break functions can be used. When the program execution is abor

Seite 176 - 2.3.4.9 Forced Break

243CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.1 Code BreakThis function aborts a program by monitoring the specified address using hardware or software. Bre

Seite 177 - 2.3.5 Control by Sequencer

244CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• HardwareThere are the following considerations for the hardware break.- Due to combination use with the sequ

Seite 178

245CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.2 Data BreakIt is a function to abort the program execution when the data access (read and write) is done to a

Seite 179 - 2.3.5.1 Setting Sequencer

12CHAPTER 1 BASIC FUNCTIONS[Example]*** %f(%l) %h: or, %[*] %f(%l) %h:The first four characters are "*** ", followed by the file name and

Seite 180 - ■ Setting Sequencer

246CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.3 Guarded Access BreakThis function aborts the program execution when access has been performed using the spec

Seite 181 - 2.3.6 Real-time Trace

247CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.4 Sequential BreakA sequential break is a function to abort an executing program as event sequential control,

Seite 182 - ■ Trace Trigger Setup

248CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.5 Trace-Buffer-Full BreakIt is a function to abort the program execution when the trace buffer becomes full.

Seite 183

249CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.6 Performance-Buffer-Full BreakIt is a function to abort the program execution when the buffer for the perform

Seite 184 - 2.3.6.1 Setting Single Trace

250CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.7 External Trigger BreakIt is a function to abort the execution of the program when an external signal is inpu

Seite 185 - 2.3.6.2 Multi Trace

251CHAPTER 2 DEPENDENCE FUNCTIONS2.5.4.8 Forced BreakIt is a function to abort the execution of the program compulsorily. Forced BreakIt is a functi

Seite 186 - Event trigger

252CHAPTER 2 DEPENDENCE FUNCTIONS2.5.5 Control by SequencerThis emulator has a sequencer to control events. By using this sequencer, sampling of brea

Seite 187

253CHAPTER 2 DEPENDENCE FUNCTIONSThe sequence event is setting by the following command.• SET SEQUENCE :Sets sequence event• SHOW SEQUENCE :Displays

Seite 188

254CHAPTER 2 DEPENDENCE FUNCTIONS2.5.5.1 Operating of sequencerThe sequencer works in the following order.1) The sequencer starts when the program ex

Seite 189

255CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.5-1 Operation of SequencerSTARTLEVEL1LEVEL2LEVEL3LEVEL4LEVEL5LEVEL6ENDEVENT 1EVENT 4EVENT 2EVENT 3EVENT 6E

Seite 190 - [Example]

13CHAPTER 1 BASIC FUNCTIONS1.8 Editor FunctionsThis section describes the functions of the SOFTUNE Workbench built-in standard editor. Standard Edit

Seite 191

256CHAPTER 2 DEPENDENCE FUNCTIONS2.5.6 Real-time TraceWhile execution a program, the address, data and status information, and the data sampled by an

Seite 192

257CHAPTER 2 DEPENDENCE FUNCTIONSFigure 2.5-2 Frame Number at Tracing Trace FilterTo make effective use of the limited trace buffer capacity, in ad

Seite 193

258CHAPTER 2 DEPENDENCE FUNCTIONS2.5.6.1 Setting TraceTo perform a trace, follow steps (1) to (3) below. When a program is executed after completion

Seite 194

259CHAPTER 2 DEPENDENCE FUNCTIONSNote:In the case of the data trace trigger, word access from an odd address (in terms of bus access) isperformed usi

Seite 195

260CHAPTER 2 DEPENDENCE FUNCTIONS2.5.6.2 Displaying Trace Data Storage StatusIt is possible to displays how much trace data is stored in the trace bu

Seite 196

261CHAPTER 2 DEPENDENCE FUNCTIONS2.5.6.3 Specifying Displaying Trace Data StartThe data display start position in the trace buffer can be specified b

Seite 197 - 2.3.6.8 Saving Trace Data

262CHAPTER 2 DEPENDENCE FUNCTIONS2.5.6.4 Display Format of Trace DataThe trace data display format can be selected by running the SHOW TRACE command

Seite 198 - 2.3.7 Measuring Performance

263CHAPTER 2 DEPENDENCE FUNCTIONSReset: Indicates that reset is detected.Loop Count "Number of times": Displays number of times which loop

Seite 199

264CHAPTER 2 DEPENDENCE FUNCTIONS Display in Source Line Units (Specify /SOURCE.)Only the source line can be displayed.[Example]>SHOW TRACE/SOURC

Seite 200

265CHAPTER 2 DEPENDENCE FUNCTIONS2.5.6.5 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in

Seite 201

14CHAPTER 1 BASIC FUNCTIONS1.9 Storing External EditorsThis section describes the function to set an external editor to SOFTUNE Workbench. External

Seite 202 - 2.3.8 Measuring Coverage

266CHAPTER 2 DEPENDENCE FUNCTIONS2.5.7 Measuring PerformanceIt is possible to measure the time and pass count between two events. Repetitive measurem

Seite 203

267CHAPTER 2 DEPENDENCE FUNCTIONS2.5.7.1 Performance Measurement ProceduresPerformance can be measured by the following procedure:1. Setting minimum

Seite 204

268CHAPTER 2 DEPENDENCE FUNCTIONS2.5.7.2 Display Performance Measurement DataDisplay the measured time and measuring count by using the SHOW PERFORMA

Seite 205

269CHAPTER 2 DEPENDENCE FUNCTIONS2.5.8 Execution Time MeasurementThis function measures the program execution time. Measurement ItemsMeasures time b

Seite 206 - 2.3.9 Real-time Monitoring

270CHAPTER 2 DEPENDENCE FUNCTIONSNote:The measured execution time is added about ten extra cycles per execution. If the execution cycle ismeasured, e

Seite 207

271CHAPTER 2 DEPENDENCE FUNCTIONS2.5.9 Power-On DebuggingThis section explains power-on debugging by the emulators for the MB2198. Power-on Debuggin

Seite 208

272CHAPTER 2 DEPENDENCE FUNCTIONS2.6 Emulator Debugger (MB2100-01)This section describes the emulator debugger functions that are available when the

Seite 209 - 2.3.11 Power-on Debugging

273CHAPTER 2 DEPENDENCE FUNCTIONS2.6.1 Starting debuggingThis section describes the method of starting debugging by with the use the MB2100-01 emulat

Seite 210 - 2.3.12 RAM Checker

274CHAPTER 2 DEPENDENCE FUNCTIONS2.6.1.1 Operating Environments of the TargetThis section describes the setting of the target operating environments

Seite 211 - ■ To Use the RAM Checker

275CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• When the operating environment set by the setup wizard is different from the actual operatingenvironment, th

Seite 212 - ■ About Log File

15CHAPTER 1 BASIC FUNCTIONS Example of Optional Settings Reference SectionEditor SetupNote:Regarding execution of error jump in Hidemaru: To execut

Seite 213 - ■ RAM Checker Viewer

276CHAPTER 2 DEPENDENCE FUNCTIONS2.6.1.2 SecurityThis section describes the security of the MB2100-01 emulator debugger. SecurityWhen beginning to d

Seite 214

277CHAPTER 2 DEPENDENCE FUNCTIONS2.6.2 Ending debuggingThis section describes the method of ending debugging being executed with the use of the MB210

Seite 215

278CHAPTER 2 DEPENDENCE FUNCTIONS2.6.3 Efficiently Executing DebuggingThis section describes setting for efficient debugging. Setting Operating Envi

Seite 216

279CHAPTER 2 DEPENDENCE FUNCTIONS2.6.3.1 Increasing Communication Speed during DebuggingThis section describes setting for increasing the communicati

Seite 217

280CHAPTER 2 DEPENDENCE FUNCTIONS2.6.3.2 Switching Debug FunctionThis section describes the method of switching the debug function correspondingly to

Seite 218

281CHAPTER 2 DEPENDENCE FUNCTIONS2.6.4 Executing ProgramThis section describes the method of executing a user program with the MB2100-01 emulator deb

Seite 219 - 2.4.1.2 MCU Operation Mode

282CHAPTER 2 DEPENDENCE FUNCTIONS2.6.4.1 Setting/Release of Debug FunctionsThe debug function can be set or released while executing the user program

Seite 220 - 2.4.1.3 Debug Area

283CHAPTER 2 DEPENDENCE FUNCTIONSNote:An error message appears if you enter a command that cannot be used during the execution of a userprogram."

Seite 221 - 2.4.1.4 Memory Area Types

284CHAPTER 2 DEPENDENCE FUNCTIONS2.6.4.2 MonitoringThis section describes the monitoring function in the MB2100-01 emulator debugger. MonitoringThe

Seite 222

285CHAPTER 2 DEPENDENCE FUNCTIONS2.6.4.3 Power-on DebugThis section describes power-on debug function in the MB2100-01 emulator debugger. Power-on

Seite 223 - 2.4.1.5 Memory Mapping

FUJITSU SEMICONDUCTOR LIMITEDF2MC-16 FAMILYSOFTUNETM WorkbenchUSER'S MANUAL

Seite 224

16CHAPTER 1 BASIC FUNCTIONS1.10 Storing External ToolsThis section describes the function to set an external tool to SOFTUNE Workbench. External Too

Seite 225

286CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• Other debug features cannot be used while debugging power-on at all. • When security is enabled, power on de

Seite 226

287CHAPTER 2 DEPENDENCE FUNCTIONS2.6.4.4 Notes on Commands for Executing ProgramWhen using commands to execute a program, there are several points to

Seite 227

288CHAPTER 2 DEPENDENCE FUNCTIONSBecause "POP PS" (1) is an instruction as invalid breakpoint shown in "Notes on GO Command", no

Seite 228 - 2.4.4 Break

289CHAPTER 2 DEPENDENCE FUNCTIONS2.6.5 To Access the Flash MemoryThis section describes the access method to the flash memory in the MB2100-01 emulat

Seite 229 - 2.4.4.1 Code Break

290CHAPTER 2 DEPENDENCE FUNCTIONS- View the following dialogs.Line Assembly dialog (Disassembly window)Break setting dialog [Software]● Flash memory

Seite 230

291CHAPTER 2 DEPENDENCE FUNCTIONS Examples of flash memory synchronization● In the case of [Debugger -> Flash]An image in the case where the flas

Seite 231 - 2.4.4.2 Data Break

292CHAPTER 2 DEPENDENCE FUNCTIONS● In the case of [Flash -> Debugger]An image in the case where the flash memory synchronization [Flash -> Debu

Seite 232 - 2.4.4.3 Guarded Access Break

293CHAPTER 2 DEPENDENCE FUNCTIONS2.6.6 To Interrupt the Program Execution [Break]This section describes the method of interrupting the execution of t

Seite 233

294CHAPTER 2 DEPENDENCE FUNCTIONS2.6.6.1 Code Break (Hardware)This function suspends program execution by monitoring a specified address by hardware.

Seite 234 - 2.4.4.5 Forced Break

295CHAPTER 2 DEPENDENCE FUNCTIONS- When the break operation is generated while the instruction where the user interrupt is generated andthe next one

Seite 235 - 2.4.5 Real-time Trace

17CHAPTER 1 BASIC FUNCTIONS1.11 Macro Descriptions Usable in ManagerThis section explains the macro descriptions that can be used in the manager of S

Seite 236

296CHAPTER 2 DEPENDENCE FUNCTIONS2.6.6.2 Code Break (Software)This function suspends program execution by monitoring a specified address by software.

Seite 237 - 2.4.5.1 Setting Trace

297CHAPTER 2 DEPENDENCE FUNCTIONS2.6.6.3 Data BreakThis function suspends program execution when data access (read/write) is made to a specified addr

Seite 238

298CHAPTER 2 DEPENDENCE FUNCTIONS2.6.6.4 Forced BreakThis function forcibly suspends program execution. Forced BreakThis function forcibly suspends

Seite 239

299CHAPTER 2 DEPENDENCE FUNCTIONS2.6.6.5 Data Watch BreakThis special break function suspends program execution when the program reaches a specified

Seite 240

300CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• A data watch break shares points with the following functions. The maximum number variesdepending on how tho

Seite 241

301CHAPTER 2 DEPENDENCE FUNCTIONS2.6.6.6 SequencerA sequencer is a function to abort the program execution to the specified event condition when prog

Seite 242

302CHAPTER 2 DEPENDENCE FUNCTIONS Specifications of SequencerTable 2.6-2 shows the specifications of the sequencer for this emulator debugger. How

Seite 243

303CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• When the pass count mode is a passing count break mode, this function cannot be used. For details, refer to

Seite 244

304CHAPTER 2 DEPENDENCE FUNCTIONS2.6.7 Measuring the Program Execution Cycle CountThis section explains the function of measuring the number of progr

Seite 245 - 2.4.5.6 Saving Trace Data

305CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• The number of cycles measured normally includes an error of about 10 cycles. However, it may beeven more, de

Seite 246

18CHAPTER 1 BASIC FUNCTIONSThe macros in (*1) are determined as follows:- Customize build1. Source file before and after executing compiler and assem

Seite 247 - ■ Emulator Debugger

306CHAPTER 2 DEPENDENCE FUNCTIONS2.6.8 Measuring Event-to-Event Execution Cycle Count [Performance Measurement]This section explains how to measure t

Seite 248

307CHAPTER 2 DEPENDENCE FUNCTIONSNotes:• This function is not available when the execution time mode is set to the time measuring mode. Fordetails, r

Seite 249

308CHAPTER 2 DEPENDENCE FUNCTIONS2.6.8.1 Measuring PerformanceThis section explains how to measure the event-to-event execution cycle count in the MB

Seite 250

309CHAPTER 2 DEPENDENCE FUNCTIONS● Using Command for Measuring1. Specify performance events.- Execute the SET EVENT command.For details, refer to Sec

Seite 251 - 2.5.1.3 MCU Operation Mode

310CHAPTER 2 DEPENDENCE FUNCTIONS2.6.9 Viewing Program Execution History [Trace]This section describes the trace function of this emulator debugger.

Seite 252 - ■ Operation frequency

311CHAPTER 2 DEPENDENCE FUNCTIONS● When break halts program executionFigure 2.6-5 Acquiring Trace DataNote:Executing the forced start will clear the

Seite 253

312CHAPTER 2 DEPENDENCE FUNCTIONS2.6.9.1 Displaying Trace DataThis section explains how to display trace data. Display Formats of Trace DataThe foll

Seite 254

313CHAPTER 2 DEPENDENCE FUNCTIONS● Using command window1. Display trace data for each display mode.RAW data: SHOW TRACEInstruction: SHOW TRACESource:

Seite 255

314CHAPTER 2 DEPENDENCE FUNCTIONS2.6.9.2 Trace Data Display Examples (RAW Data)This section describes trace data that is displayed in the RAW data mo

Seite 256 - 2.5.4 Break

315CHAPTER 2 DEPENDENCE FUNCTIONS2.6.9.3 Trace Data Display Example (Instruction)This section describes trace data that is displayed in the instructi

Seite 257 - 2.5.4.1 Code Break

19CHAPTER 1 BASIC FUNCTIONS- Tool options• Null character-Others1. File as focus is on the SRC tab of project window and valid file name is selected2

Seite 258

316CHAPTER 2 DEPENDENCE FUNCTIONS2.6.9.4 Trace Data Display Example (Source)This section describes trace data that is displayed in the source line mo

Seite 259 - 2.5.4.2 Data Break

317CHAPTER 2 DEPENDENCE FUNCTIONS2.6.9.5 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in

Seite 260 - 2.5.4.3 Guarded Access Break

318CHAPTER 2 DEPENDENCE FUNCTIONS2.6.9.6 Searching for Trace DataThis section explains how to search for trace data. Searching for Trace DataThe spe

Seite 261 - 2.5.4.4 Sequential Break

319CHAPTER 2 DEPENDENCE FUNCTIONS2.6.10 How to Display the Output Message from User Program to the DebuggerThis section explains the semihosting feat

Seite 262

320CHAPTER 2 DEPENDENCE FUNCTIONS Using Method of Semihosting FeatureUse the following procedure to display the content of the output request to MBR

Seite 263

321CHAPTER 2 DEPENDENCE FUNCTIONS2.6.11 Checking Debugger InformationThis section explains how to check information about the MB2100-01 emulator debu

Seite 264

322CHAPTER 2 DEPENDENCE FUNCTIONS - SOFTUNE FJ-OMF to HEX Converter version File Path: f2hs.exe path-------------------------------------------------

Seite 265 - 2.5.4.8 Forced Break

323CHAPTER 2 DEPENDENCE FUNCTIONS2.7 Monitor DebuggerThis section describes the functions of the monitor debugger. Monitor DebuggerThe monitor debug

Seite 266 - 2.5.5 Control by Sequencer

324CHAPTER 2 DEPENDENCE FUNCTIONS2.7.1 Resources Used by Monitor ProgramThe monitor program of the monitor debugger uses the I/O resources listed bel

Seite 267

325CHAPTER 2 DEPENDENCE FUNCTIONS2.7.2 BreakIn the monitor debugger, two types of break functions can be used. When the program execution is aborted

Seite 268

20CHAPTER 1 BASIC FUNCTIONS[Example] Macro expansion in external toolsFocus is on Subprj project file in the SRC tab of project window.%a : C:\Subprj

Seite 269

326CHAPTER 2 DEPENDENCE FUNCTIONS2.7.2.1 Software BreakIt is a function to bury the instruction for the break under the memory, and to do the break b

Seite 270 - 2.5.6 Real-time Trace

327CHAPTER 2 DEPENDENCE FUNCTIONS2.7.2.2 Forced BreakIt is a function to abort the execution of the program compulsorily. Forced BreakIt is a functi

Seite 271

328CHAPTER 2 DEPENDENCE FUNCTIONS

Seite 272 - 2.5.6.1 Setting Trace

329INDEXINDEXThe index follows on the next page.This is listed in alphabetic order.

Seite 273

330INDEXIndexSymbols/CYCLEDisplaying All Machine Cycles (Specify /CYCLE.)...116/INSTRUCTIONDisp

Seite 274

331INDEXProject Configuration ... 3ControlControl by Sequencer ... 96, 163, 252Controlli

Seite 275

332INDEXSetting Event Mode ...123, 185Event-related CommandsEvent-related Commands in Multi Trace Mode...

Seite 276

333INDEXLine NumberLine Number Information ... 27ListMacro List... 7

Seite 277 - Decimal

334INDEXMulti Trace...171Multi Trace Frame Number...110, 171Multi Trace Functio

Seite 278

335INDEXMonitoring Program Automatic Loading... 204, 235Program stopping conditions...

Seite 279 - 2.5.6.5 Saving Trace Data

21CHAPTER 1 BASIC FUNCTIONS1.12 Setting Operating EnvironmentThis section describes the functions for setting the SOFTUNE Workbench operating environ

Seite 280 - 2.5.7 Measuring Performance

336INDEXSetting Method...42, 44, 46, 47, 80, 82, 83, 85, 86, 153, 155, 156, 157, 159, 160, 161, 215, 217, 219, 243, 245,

Seite 281

337INDEXDisplay Format of Trace Data ... 54Display without Analyzing Trace Data (Specify /RAWDATA.) ...

Seite 283

ColophonCM41-00313-6EFUJITSU SEMICONDUCTOR • CONTROLLER MANUALF2MC-16 FAMILYSOFTUNETM WorkbenchUSER’S MANUALApril 2011 the 6th editionPublished FUJITS

Seite 285 - 2.5.9 Power-On Debugging

22CHAPTER 1 BASIC FUNCTIONS1.13 Debugger TypesThis section describes the types of SOFTUNE Workbench debuggers. Type of DebuggerSOFTUNE Workbench int

Seite 286 - MB2100-01 is specified

23CHAPTER 1 BASIC FUNCTIONS1.14 Memory Operation FunctionsThis section describes the memory operation functions. Functions for Memory Operations- Di

Seite 287 - 2.6.1 Starting debugging

24CHAPTER 1 BASIC FUNCTIONS1.15 Register OperationsThis section describes the register operations. Register OperationsThe Register window is opened

Seite 288 - ■ How to set

25CHAPTER 1 BASIC FUNCTIONS1.16 Line Assembly and DisassemblyThis section describes line assembly and disassembly. Line AssemblyTo perform line-by-l

Seite 290 - 2.6.1.2 Security

26CHAPTER 1 BASIC FUNCTIONS1.17 Symbolic DebuggingThe symbols defined in a source program can be used for command parameters (address). There are thr

Seite 291 - 2.6.2 Ending debugging

27CHAPTER 1 BASIC FUNCTIONS Line Number InformationLine number information is set with the line number information table in SOFTUNE Workbench when a

Seite 292

28CHAPTER 1 BASIC FUNCTIONS1.17.1 Referring to Local SymbolsThis section describes referring to local symbols and Scope. ScopeWhen a local symbol is

Seite 293

29CHAPTER 1 BASIC FUNCTIONS1.17.2 Referring to Variable of C LanguageC language variables can be specified using the same descriptions as in the sou

Seite 294 - ■ Switching methods

30CHAPTER 1 BASIC FUNCTIONS Notes on C Language SymbolsThe C compiler outputs symbol information with "_" prefixed to global symbols. For

Seite 295 - 2.6.4 Executing Program

31CHAPTER 2DEPENDENCE FUNCTIONSThis chapter describes the functions dependent on each Debugger.2.1 Simulator Debugger2.2 Emulator Debugger (MB2141)2

Seite 296

32CHAPTER 2 DEPENDENCE FUNCTIONS2.1 Simulator DebuggerThis section describes the functions of the simulator debugger for the F2MC-16 Family. Simulat

Seite 297

33CHAPTER 2 DEPENDENCE FUNCTIONS Simulation RangeThe simulator debugger simulates the MCU operations (instruction operations, memory space, I/O port

Seite 298 - 2.6.4.2 Monitoring

34CHAPTER 2 DEPENDENCE FUNCTIONS2.1.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environm

Seite 299 - 2.6.4.3 Power-on Debug

35CHAPTER 2 DEPENDENCE FUNCTIONS2.1.1.1 Boot ROM File Automatic ExecutionThe simulator debugger for F2MC-16FX automatically loads and executes the Bo

Seite 300

iPREFACE What is the SOFTUNE Workbench?SOFTUNE Workbench is support software for developing programs for the F2MC-16 family ofmicroprocessors / micro

Seite 301

36CHAPTER 2 DEPENDENCE FUNCTIONS2.1.2 Instruction SimulationThis section describes the instruction simulation executed by SOFTUNE Workbench. Instruc

Seite 302

37CHAPTER 2 DEPENDENCE FUNCTIONS2.1.3 Memory SimulationThis section describes the memory simulation executed by SOFTUNE Workbench. Memory Simulation

Seite 303 - ■ Access to Flash Memory

38CHAPTER 2 DEPENDENCE FUNCTIONS2.1.4 I/O Port SimulationThis section describes I/O port simulation executed by SOFTUNE Workbench. I/O Port Simulati

Seite 304

39CHAPTER 2 DEPENDENCE FUNCTIONS2.1.5 Interrupt SimulationThis section describes the interrupt simulation executed by SOFTUNE Workbench. Interrupt S

Seite 305

40CHAPTER 2 DEPENDENCE FUNCTIONS2.1.6 Reset SimulationThis section describes the reset simulation executed by SOFTUNE Workbench. Reset SimulationThe

Seite 306

41CHAPTER 2 DEPENDENCE FUNCTIONS2.1.7 Low-Power Consumption Mode SimulationThis section describes the low-power consumption SOFTUNE Workbench mode si

Seite 307 - ■ Break Functions

42CHAPTER 2 DEPENDENCE FUNCTIONS2.1.8 STUB FunctionThis section describes the STUB function which executes commands automatically when the breakpoint

Seite 308 - 2.6.6.1 Code Break (Hardware)

43CHAPTER 2 DEPENDENCE FUNCTIONS2.1.9 BreakIn the simulator debugger, five types of break functions can be used. When the program execution is aborte

Seite 309

44CHAPTER 2 DEPENDENCE FUNCTIONS2.1.9.1 Code BreakIt is a function that the simulator debugger aborts the program execution when the code access spec

Seite 310 - 2.6.6.2 Code Break (Software)

45CHAPTER 2 DEPENDENCE FUNCTIONS● Dangerous BreakPoints• Never set a breakpoint at an address other than the instruction starting address.• If a brea

Seite 311 - 2.6.6.3 Data Break

ii Copyrights © 2004-2011 FUJITSU SEMICONDUCTOR LIMITED All rights reserved.• The contents of this document are subject to change without notice.Cust

Seite 312 - 2.6.6.4 Forced Break

46CHAPTER 2 DEPENDENCE FUNCTIONS2.1.9.2 Data BreakIt is a function that the simulator debugger aborts the program execution when the data access (rea

Seite 313 - 2.6.6.5 Data Watch Break

47CHAPTER 2 DEPENDENCE FUNCTIONS2.1.9.3 Trace-Buffer-Full BreakIt is a function to abort the program execution when the trace buffer becomes full. T

Seite 314

48CHAPTER 2 DEPENDENCE FUNCTIONS2.1.9.4 Guarded Access BreakIt is a function to abort the program execution when the violation to the access attribut

Seite 315 - 2.6.6.6 Sequencer

49CHAPTER 2 DEPENDENCE FUNCTIONS2.1.9.5 Forced BreakIt is a function to abort the execution of the program compulsorily. Forced BreakIt is a functio

Seite 316 - ■ Specifications of Sequencer

50CHAPTER 2 DEPENDENCE FUNCTIONS2.1.10 Measuring Execution Cycle CountThis function measures the program execution cycle count. Measurement ItemsMea

Seite 317

51CHAPTER 2 DEPENDENCE FUNCTIONS Clearing Measurement ResultsEither of the following methods can be used to clear the measurement results.● Operatio

Seite 318 - ■ Error Information

52CHAPTER 2 DEPENDENCE FUNCTIONS2.1.11 TraceThe address and status information can be sampled during program execution to record it in a trace buffer

Seite 319

53CHAPTER 2 DEPENDENCE FUNCTIONS2.1.11.1 Setting TraceYou must set the following two items to perform a trace. After that, trace data will be sample

Seite 320 - [Performance Measurement]

54CHAPTER 2 DEPENDENCE FUNCTIONS2.1.11.2 Displaying Trace DataData recorded in the trace buffer can be displayed. Displaying Trace Data The trace wi

Seite 321

55CHAPTER 2 DEPENDENCE FUNCTIONS2.1.11.3 Searching Trace DataThe trace buffer can be searched to locate target data. Searching Trace Data The trace

Seite 322 - 2.6.8.1 Measuring Performance

iiiREADING THIS MANUAL Configuration of PageIn each section of this manual, the summary about the section is described certainly, so you can grasp an

Seite 323 - ■ Ending the Measurement

56CHAPTER 2 DEPENDENCE FUNCTIONS2.1.11.4 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in

Seite 324 - ■ Trace Buffer

57CHAPTER 2 DEPENDENCE FUNCTIONS2.1.12 Measuring CoverageIn the high-speed version simulator debugger, the C0 coverage measurement function is provid

Seite 325 - Max. 1,024 frames

58CHAPTER 2 DEPENDENCE FUNCTIONS2.1.12.1 Coverage Measurement ProceduresThe procedure for coverage measurement is as follows:• Set range for coverage

Seite 326 - 2.6.9.1 Displaying Trace Data

59CHAPTER 2 DEPENDENCE FUNCTIONS● Summary (Specify /GENERAL for command qualifier)● Details (Specify /DETAIL for command qualifier)>SHOW COVERAGE/

Seite 327

60CHAPTER 2 DEPENDENCE FUNCTIONS● Displays per source line (specify /SOURCE for the command qualifier)● Displays per machine instruction (specify /IN

Seite 328 - Interrupt

61CHAPTER 2 DEPENDENCE FUNCTIONS2.1.13 Checking Debugger InformationThis section explains how to check information about the simulator debugger. Deb

Seite 329

62CHAPTER 2 DEPENDENCE FUNCTIONS----------------------------Language Tools- F2MC-16 Family SOFTUNE C Compiler versionFile Path: fcc907s.exe path- F2M

Seite 330 - ■ Source Display

63CHAPTER 2 DEPENDENCE FUNCTIONS2.2 Emulator Debugger (MB2141)This section explains the functions of the emulator debuggers for the MB2141. Emulator

Seite 331 - 2.6.9.5 Saving Trace Data

64CHAPTER 2 DEPENDENCE FUNCTIONS2.2.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environm

Seite 332 - ■ Searching for Trace Data

65CHAPTER 2 DEPENDENCE FUNCTIONS2.2.1.1 MCU Operation ModeThere are two MCU operation modes as follows:• Debugging Mode• Native Mode Setting MCU Ope

Seite 334

66CHAPTER 2 DEPENDENCE FUNCTIONS MCU Operation SpeedTo support a broader range of MCU operation speeds, the emulator adjusts control of the MCU acco

Seite 335

67CHAPTER 2 DEPENDENCE FUNCTIONS2.2.1.2 Debug AreaSet the intensive debugging area out of the whole memory space. The area functions are enhanced. S

Seite 336

68CHAPTER 2 DEPENDENCE FUNCTIONS2.2.1.3 Memory Area TypesA unit in which memory is allocated is called an area. There are seven different area types.

Seite 337 - 2.7 Monitor Debugger

69CHAPTER 2 DEPENDENCE FUNCTIONSNote:When the F2MC-16/16H is used, mirror area setup can be performed only in the debugging mode.- Internal ROM AreaT

Seite 338 - ■ Required Resources

70CHAPTER 2 DEPENDENCE FUNCTIONSNote:The F2MC-16/16H only allows this setup in the debugging mode.

Seite 339 - 2.7.2 Break

71CHAPTER 2 DEPENDENCE FUNCTIONS2.2.1.4 Memory MappingMemory space can be allocated to the user memory, the emulation memory, etc., and the attribute

Seite 340 - 2.7.2.1 Software Break

72CHAPTER 2 DEPENDENCE FUNCTIONS[Example]>SHOW MAPaddress attribute type000000 .. FFFFFF noguardThe rest of setting area numbersuser = 8 emulation

Seite 341 - 2.7.2.2 Forced Break

73CHAPTER 2 DEPENDENCE FUNCTIONS2.2.1.5 Timer Minimum Measurement UnitThe timer minimum measurement unit affects the sequencer, the emulation timer a

Seite 342

74CHAPTER 2 DEPENDENCE FUNCTIONS2.2.2 Notes on Commands for Executing ProgramWhen using commands to execute a program, there are several points to no

Seite 343

75CHAPTER 2 DEPENDENCE FUNCTIONS- Abnormal BreakpointSetting a breakpoint at the instruction immediately after string instructions listed below, may

Seite 344

vCONTENTSCHAPTER 1 BASIC FUNCTIONS ... 11.1 Workspace Management Fu

Seite 345

76CHAPTER 2 DEPENDENCE FUNCTIONS2.2.3 Commands Available during Execution of User ProgramThis section explains the commands available during the exec

Seite 346

77CHAPTER 2 DEPENDENCE FUNCTIONS2.2.4 On-the-fly Memory AccessWhile on-the-fly, the area mapped to the emulation memory is Read/Write enabled, but th

Seite 347

78CHAPTER 2 DEPENDENCE FUNCTIONSThe following commands access memory.- Memory operation commandsSET MEMORY, SHOW MEMORY, EXAMINE, ENTER,COMPARE, FILL

Seite 348

79CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5 BreakIn this emulator debugger, seven types of break functions can be used. When the program execution is abort

Seite 349

80CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5.1 Code BreakIt is a function to abort the program execution by observing the specified address. The break is do

Seite 350

81CHAPTER 2 DEPENDENCE FUNCTIONS● Abnormal Breakpoint• Setting a breakpoint at the instruction immediately after string instructions listed below, ma

Seite 351

82CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5.2 Data BreakThe data break is a function to abort the program execution when the data access (read or write) is

Seite 352

83CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5.3 Sequential BreakA sequential break is a function to abort a executing program, when the sequential condition

Seite 353 - FUJITSU SEMICONDUCTOR LIMITED

84CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5.4 Guarded Access BreakThe guarded access break is an abortion of the program execution that happens when the vi

Seite 354

85CHAPTER 2 DEPENDENCE FUNCTIONS2.2.5.5 Trace-Buffer-Full BreakIt is a function to abort the program execution when the trace buffer becomes full. T

Kommentare zu diesen Handbüchern

Keine Kommentare