Fujitsu F2 Manual de usuario

Busca en linea o descarga Manual de usuario para Software Fujitsu F2. Fujitsu F2 User's Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 354
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - USER'S MANUAL

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

Pagina 2

vi 2.1.11.3 Searching Trace Data ... 552

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 11

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

Pagina 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

Pagina 13

vii2.2.10.1 Coverage Measurement Procedures ... 1272.2.11 Executio

Pagina 14

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

Pagina 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

Pagina 16

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 24 - ■ Tool Options

viii 2.4.1 Setting Operating Environment ... 2032.4.1

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Pagina 35 - ■ Operating Environment

ix2.5.7 Measuring Performance ... 2662.5.7.

Pagina 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

Pagina 37

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 43

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

Pagina 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

Pagina 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

Pagina 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

Pagina 48

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

Pagina 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

Pagina 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

Pagina 51 - 2.1.3 Memory Simulation

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

Pagina 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

Pagina 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

Pagina 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:

Pagina 55

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

Pagina 56 - Program execution

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

Pagina 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

Pagina 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

Pagina 59

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

Pagina 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

Pagina 61

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

Pagina 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

Pagina 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.

Pagina 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.

Pagina 65

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

Pagina 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

Pagina 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

Pagina 68 - ■ Clearing Trace Data

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

Pagina 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

Pagina 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

Pagina 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

Pagina 72

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

Pagina 73

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

Pagina 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

Pagina 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

Pagina 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

Pagina 77

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 87

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

Pagina 88

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

Pagina 89

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

Pagina 90

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

Pagina 91

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 105

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

Pagina 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) (

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 114

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

Pagina 115

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

Pagina 116

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

Pagina 117

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

Pagina 118

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

Pagina 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

Pagina 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

Pagina 121

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 127

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

Pagina 128

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

Pagina 129

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

Pagina 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

Pagina 131

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

Pagina 132

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

Pagina 133

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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 142

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

Pagina 143

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

Pagina 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

Pagina 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

Pagina 146

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

Pagina 147 - ■ Sampling by External Probe

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

Pagina 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

Pagina 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

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 157

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

Pagina 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

Pagina 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

Pagina 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 (

Pagina 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

Pagina 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

Pagina 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

Pagina 164

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

Pagina 165

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

Pagina 166 - 2.3.4 Break

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

Pagina 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

Pagina 168

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 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.

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 187

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

Pagina 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

Pagina 189

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

Pagina 190 - [Example]

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 199

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

Pagina 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

Pagina 201

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

Pagina 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

Pagina 203

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

Pagina 204

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

Pagina 205

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

Pagina 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

Pagina 207

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

Pagina 208

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

Pagina 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

Pagina 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

Pagina 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

Pagina 212 - ■ About Log File

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

Pagina 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

Pagina 214

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

Pagina 215

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

Pagina 216

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

Pagina 217

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

Pagina 218

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

Pagina 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

Pagina 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."

Pagina 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

Pagina 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

Pagina 223 - 2.4.1.5 Memory Mapping

FUJITSU SEMICONDUCTOR LIMITEDF2MC-16 FAMILYSOFTUNETM WorkbenchUSER'S MANUAL

Pagina 224

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

Pagina 225

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

Pagina 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

Pagina 227

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

Pagina 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

Pagina 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

Pagina 230

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

Pagina 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

Pagina 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

Pagina 233

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

Pagina 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

Pagina 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

Pagina 236

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

Pagina 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

Pagina 238

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

Pagina 239

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

Pagina 240

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

Pagina 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

Pagina 242

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

Pagina 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

Pagina 244

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

Pagina 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

Pagina 246

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

Pagina 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

Pagina 248

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

Pagina 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

Pagina 250

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

Pagina 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.

Pagina 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

Pagina 253

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

Pagina 254

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 262

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

Pagina 263

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

Pagina 264

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 271

328CHAPTER 2 DEPENDENCE FUNCTIONS

Pagina 272 - 2.5.6.1 Setting Trace

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

Pagina 273

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

Pagina 274

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

Pagina 275

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

Pagina 276

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

Pagina 277 - Decimal

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

Pagina 278

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

Pagina 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

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

Pagina 281

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

Pagina 283

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

Pagina 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

Pagina 286 - MB2100-01 is specified

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

Pagina 287 - 2.6.1 Starting debugging

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

Pagina 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

Pagina 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

Pagina 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

Pagina 292

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

Pagina 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

Pagina 294 - ■ Switching methods

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

Pagina 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

Pagina 296

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

Pagina 297

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

Pagina 298 - 2.6.4.2 Monitoring

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

Pagina 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

Pagina 300

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

Pagina 301

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

Pagina 302

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

Pagina 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

Pagina 304

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

Pagina 305

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

Pagina 306

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

Pagina 307 - ■ Break Functions

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 316 - ■ Specifications of Sequencer

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

Pagina 317

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 324 - ■ Trace Buffer

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

Pagina 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

Pagina 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/

Pagina 327

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

Pagina 328 - Interrupt

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

Pagina 329

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

Pagina 330 - ■ Source Display

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

Pagina 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

Pagina 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

Pagina 334

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

Pagina 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

Pagina 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.

Pagina 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

Pagina 338 - ■ Required Resources

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 343

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

Pagina 344

vCONTENTSCHAPTER 1 BASIC FUNCTIONS ... 11.1 Workspace Management Fu

Pagina 345

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

Pagina 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

Pagina 347

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

Pagina 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

Pagina 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

Pagina 350

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

Pagina 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

Pagina 352

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

Pagina 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

Pagina 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

Comentarios a estos manuales

Sin comentarios