Fujitsu CM71-00329-7E User Manual

Browse online or download User Manual for Software Fujitsu CM71-00329-7E. Fujitsu CM71-00329-7E User's Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 234
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - USER’S MANUAL

FUJITSU SEMICONDUCTORCONTROLLER MANUALFR FAMILYSOFTUNETM WORKBENCHUSER’S MANUALfor V6CM71-00329-7E

Page 2

vi 2.4.7.2 Measuring Event-to-Event Execution Cycle Count [Performance Measurement] ... 1862.4.8 Viewing Program Execution History [

Page 3

90CHAPTER2 Dependence Functions2.2.6.7 Saving Trace DataThe debugger has function of saving trace data. Saving Trace Data Save the trace data to the

Page 4

91CHAPTER2 Dependence Functions2.2.6.8 Clearing Trace DataTo clear trace data, use the following command. Clearing Trace Data When clearing trace da

Page 5 - ■ Organization of Manual

92CHAPTER2 Dependence Functions2.2.6.9 Notes on Use of Tracing FunctionThis section describes the precautions to observe when displaying or searching

Page 6

93CHAPTER2 Dependence Functions• When displaying valid pass cycles or instruction, the omitted trace data frame is displayed as follows:Frame where a

Page 7 - CONTENTS

94CHAPTER2 Dependence Functions2.2.7 Inaccessible AreaThis section explains inaccessible area. Inaccessible areaThe inaccessible area is a function

Page 8

95CHAPTER2 Dependence Functions2.2.8 Checking Debugger StatusThis section explains how to check information about the emulator debugger (MB2197). De

Page 9

96CHAPTER2 Dependence Functions Version: SiiEd3.ocx version------------------------------------------------------- SiM911 Product name: SOFTUNE Workb

Page 10

97CHAPTER2 Dependence FunctionsDSU type : Currently used DSU typeMonitor version : Version of monitor (dependent)Communication device : Device typeBa

Page 11 - Basic Functions

98CHAPTER2 Dependence Functions2.3 Emulator Debugger (MB2198)This section describes the emulator debugger functions that are available when the emula

Page 12

99CHAPTER2 Dependence FunctionsNotes:When FR80S is used, there are some restrictions on the debug functions as follows:• The debug functions shown in

Page 13 - ● Old project format

1CHAPTER1Basic FunctionsThis chapter describes the basic functions on the SOFTUNE Workbench.1.1 Workspace Management Function1.2 Project Management

Page 14 - ■ Project Configuration

100CHAPTER2 Dependence Functions2.3.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environm

Page 15 - 1.3 Project Dependence

101CHAPTER2 Dependence Functions2.3.1.1 Monitoring Program Automatic LoadingThe emulators debugger (MB2198) can update the monitoring program automat

Page 16 - 1.4 Make/Build Function

102CHAPTER2 Dependence Functions2.3.1.2 MCU Operation ModeThe following four modes are in the MCU Operation Mode. The Full Trace Mode and Real-time

Page 17 - ■ Macro List

103CHAPTER2 Dependence Functions2.3.1.3 Cache Flush ControlThis section explains cache flush setup. Cache Flush Control When using a chip with cache

Page 18

104CHAPTER2 Dependence Functions2.3.1.4 Operating FrequencyThis section explains the setting of operating frequencies. Operating frequencies Set the

Page 19 - Workbench

105CHAPTER2 Dependence Functions2.3.1.5 External Memory EmulationThis section explains the external memory emulation function. External memory emula

Page 20

106CHAPTER2 Dependence Functions2.3.1.6 Debug modeDebug mode includes the following modes. Selectable debug mode varies with the emulator or its con

Page 21 - 1.7 Error Jump Function

107CHAPTER2 Dependence Functions2.3.2 Notes on Executing ProgramThere are some precautions to observe when using program execution commands. Real-ti

Page 22

108CHAPTER2 Dependence Functions2.3.3 Commands Available during Execution of User ProgramThis section explains the commands available during the exec

Page 23 - 1.8 Editor Functions

109CHAPTER2 Dependence FunctionsNotes:• The conditions which allow you to use the commands in Table 2.3-2 are limited to the followingcases when a us

Page 24 - ● Font changing function

2CHAPTER1 Basic Functions1.1 Workspace Management FunctionThis section explains the workspace management function of SOFTUNE Workbench. Workspace SO

Page 25 - 1.9 Storing External Editors

110CHAPTER2 Dependence Functions2.3.4 BreakThe emulator debugger (MB2198) provides nine types of break functions. When by each break function aborts

Page 26

111CHAPTER2 Dependence Functions2.3.4.1 Code BreakThis function aborts the program execution by monitoring a specified address by hardware or softwar

Page 27 - 1.10 Storing External Tools

112CHAPTER2 Dependence FunctionsNotes:HardwareThe hardware break requires the following cautions:• Do not set any hardware break in a instruction pla

Page 28 - ■ Macros

113CHAPTER2 Dependence Functions2.3.4.2 Data BreakThis function aborts the program execution when a data access (read/write) is made to a specified a

Page 29

114CHAPTER2 Dependence Functions2.3.4.3 Code Event BreakThis function uses breakpoints contained in the evaluation chip. The address mask, pass coun

Page 30

115CHAPTER2 Dependence FunctionsNotes:• In the DSU3 chip, the code event can be used as a break factor and a trace measurement startfactor. This mod

Page 31

116CHAPTER2 Dependence Functions2.3.4.4 Data Event BreakThis function uses breakpoints contained in the evaluation chip. The address mask, data size

Page 32 - ● Basic setups for workspace

117CHAPTER2 Dependence FunctionsNotes:• In the DSU3 chip, the data event can be used as a break factor and a trace measurement startfactor. This mod

Page 33 - 1.13 Debugger Types

118CHAPTER2 Dependence Functions2.3.4.5 Trace Buffer-full BreakThis function aborts the program execution when the trace buffer becomes full. Trace

Page 34

119CHAPTER2 Dependence Functions2.3.4.6 Alignment Error BreakThis function aborts the program execution when an instruction access or a word/half wor

Page 35 - 1.15 Register Operations

3CHAPTER1 Basic Functions1.2 Project Management FunctionThis section explains the project management function of SOFTUNE Workbench. Project Manageme

Page 36 - ■ Disassembly

120CHAPTER2 Dependence Functions2.3.4.7 External Trigger BreakThis function aborts the program execution when an external signal is input from the TR

Page 37 - 1.17 Symbolic Debugging

121CHAPTER2 Dependence Functions2.3.4.8 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This func

Page 38 - ■ Line Number Information

122CHAPTER2 Dependence Functions2.3.4.9 Data Watch BreakThis special break function suspends program execution when the program reaches a specified a

Page 39 - ■ Moving Scope

123CHAPTER2 Dependence Functions How to set Set the data watch break as follows.• Data watch break (hardware)• Command- SET BREAK/DATAWATCH•Dialog-

Page 40 - ■ Specifying C/C++ Variables

124CHAPTER2 Dependence Functions2.3.5 Control by SequencerThe emulator debugger (MB2198) have a sequencer that controls events. By using this sequen

Page 41 - ■ Notes on C/C++ Symbols

125CHAPTER2 Dependence FunctionsThe sequencer operates as shown below when it uses the real-time monitoring bus interface:[Setup Example]>SET SEQU

Page 42 - CHAPTER1 Basic Functions

126CHAPTER2 Dependence FunctionsNote:Sequencer (Only Real-time Monitoring Bus Interface)1. This function can be used only when the evaluation chip is

Page 43 - Dependence Functions

127CHAPTER2 Dependence Functions2.3.6 Measuring Execution Cycle CountThis function measures the program execution time. The measuring itemMeasures p

Page 44 - 2.1 Simulator Debugger

128CHAPTER2 Dependence Functions2.3.7 TraceThis section describes the trace function of the emulator debugger (MB2198).The program execution history

Page 45 - ■ Simulation Range

129CHAPTER2 Dependence FunctionsNotes:1. The execution time display function is available only when a DSU4 evaluation chip with theexternal trace bus

Page 46 - 2.1.1 Instruction Simulation

4CHAPTER1 Basic Functions Project Configuration The project configuration is a series of settings for specifying the characteristics of a target fil

Page 47 - 2.1.2 Memory Simulation

130CHAPTER2 Dependence Functions Setting Trace Trigger When preselected conditions are met while monitoring the MCU bus operation, a trigger to star

Page 48 - 2.1.3 I/O Port Simulation

131CHAPTER2 Dependence FunctionsNote:Trace Trigger• This function can be used only when FR60Lite or FR80S is used.When FR80S is used, however, this

Page 49 - 2.1.4 Interrupt Simulation

132CHAPTER2 Dependence Functions2.3.7.1 Display Format of Trace DataThere are three formats for displaying trace buffer data. Display Format of Trac

Page 50 - 2.1.5 Reset Simulation

133CHAPTER2 Dependence Functions2.3.7.2 Saving Trace DataThe debugger has function of saving trace data. Saving Trace Data Save the trace data to th

Page 51

134CHAPTER2 Dependence Functions2.3.7.3 Notes on Use of Tracing FunctionThis section describes the precautions to observe when displaying or searchin

Page 52 - 2.1.7 STUB Function

135CHAPTER2 Dependence Functions• When displaying valid pass cycles or instruction, the omitted trace data frame is displayed as follows:Frame where

Page 53 - 2.1.8 Break

136CHAPTER2 Dependence Functions2.3.8 Measuring PerformanceIt is possible to measure the time and pass count between two events. Repetitive measureme

Page 54 - 2.1.8.1 Code Break

137CHAPTER2 Dependence Functions2.3.8.1 Performance Measurement ProceduresPerformance can be measured by the following procedure:• Set event mode.• S

Page 55 - 2.1.8.2 Data Break

138CHAPTER2 Dependence Functions Setting Events Set events using the SET EVENT command.The starting/ending point of time measurement and points to m

Page 56

139CHAPTER2 Dependence Functions2.3.8.2 Displaying Performance Measurement DataDisplay the measured time and measuring count by using the SHOW PERFOR

Page 57 - 2.1.8.4 Guarded Access Break

5CHAPTER1 Basic Functions1.3 Project DependenceThis section explains the project dependence of SOFTUNE Workbench. Project Dependence If target files

Page 58 - 2.1.8.5 Forced Break

140CHAPTER2 Dependence Functions2.3.9 Real-time MonitoringThis section explains the real-time monitoring function. Command execution during program

Page 59

141CHAPTER2 Dependence Functions2.3.10 Power-on DebuggingThis section explains power-on debugging. Power-on debugging The emulator debugger (MB2198)

Page 60 - 2.1.10 Trace

142CHAPTER2 Dependence Functions2.3.11 Inaccessible AreaThis section explains inaccessible area by the emulator debugger for the MB2198. Inaccessib

Page 61 - 2.1.10.1 Trace Sampling

143CHAPTER2 Dependence Functions2.3.12 RAM CheckerThis section describes the function of the RAM Checker. OverviewThe RAM Checker obtains the acces

Page 62 - 2.1.10.2 Setting Trace

144CHAPTER2 Dependence Functions Specification list- SOFTUNE formatWhen displaying using the RAM Checker Viewer (SOFTUNE format recommended) Default

Page 63 - ■ Displaying Trace Data

145CHAPTER2 Dependence Functions Memory access during loggingDuring program execution, the emulator debugger (MB2198) reads/writes memory after caus

Page 64

146CHAPTER2 Dependence Functions RAM Checker ViewerThe RAM Checker Viewer is a tool to graphically display the data value that changes as time goes

Page 65 - 2.1.10.5 Searching Trace Data

147CHAPTER2 Dependence Functions2.3.13 Checking Debugger StatusThis section explains how to check information about the emulator debugger (MB2198).

Page 66 - 2.1.10.6 Saving Trace Data

148CHAPTER2 Dependence Functions Version: SiiEd3.ocx version------------------------------------------------------- SiM911 Product name: SOFTUNE Work

Page 67 - 2.1.10.7 Clearing Trace Data

149CHAPTER2 Dependence FunctionsDSU type : Currently used DSU typeCommon version : Version of monitor (common)Monitor version : Version of monitor (d

Page 68 - 2.1.11 Measuring Coverage

6CHAPTER1 Basic Functions1.4 Make/Build FunctionThis section explains the make/build function of SOFTUNE Workbench. Make Function Make function gene

Page 69

150CHAPTER2 Dependence Functions2.4 Emulator Debugger (MB2100-01)This section describes the emulator debugger (MB2100-01) functions. Features of Emu

Page 70

151CHAPTER2 Dependence Functions2.4.1 Starting debuggingThis section describes the method of starting debugging. Starting DebuggingWhen starting deb

Page 71

152CHAPTER2 Dependence Functions2.4.1.1 Power-on ResetThis section describes how to issue the power-on reset. Issuing the Power-on ResetTo start the

Page 72

153CHAPTER2 Dependence Functions2.4.1.2 Operating Environments of the TargetThis section describes the setting of the target operating environments.

Page 73

154CHAPTER2 Dependence FunctionsNotes:• When the actual value is different from the input value for the communication speed of thereference frequency

Page 74

155CHAPTER2 Dependence Functions2.4.1.3 SecurityThis section describes the security. SecurityWhen beginning to debug it when the security function o

Page 75 - ■ Emulator Debugger

156CHAPTER2 Dependence Functions2.4.2 Ending debuggingThis section describes the method of ending debugging. Ending debuggingWhen ending debugging,

Page 76

157CHAPTER2 Dependence Functions2.4.3 Efficiently Executing DebuggingThis section describes setting for efficient debugging. Setting Operating Envir

Page 77 - 2.2.1.1 MCU Operation Mode

158CHAPTER2 Dependence Functions2.4.3.1 Increasing Communication Speed during DebuggingThis section describes setting for increasing the communicatio

Page 78 - 2.2.1.2 DRAM Refresh Control

159CHAPTER2 Dependence Functions2.4.3.2 Switching Debug FunctionThis section describes the method of switching the debug function correspondingly to

Page 79 - 2.2.1.3 Cache Flush Control

7CHAPTER1 Basic Functions1.4.1 Customize Build FunctionThis section describes the SOFTUNE Workbench function to set the Customize Build function. Cu

Page 80 - 2.2.1.4 Operating Frequency

160CHAPTER2 Dependence Functions2.4.4 Executing ProgramThis section describes the method of executing a user program. Executing a programA user prog

Page 81

161CHAPTER2 Dependence Functions2.4.4.1 Setting/Release of Debug FunctionsThe debug function is set or can be released while executing the user progr

Page 82

162CHAPTER2 Dependence Functions*1 : Refer to "SOFTUNE Workbench Command Reference Manual".Note:An error message appears if you enter a com

Page 83 - 2.2.4 Break

163CHAPTER2 Dependence Functions2.4.4.2 MonitoringThis section describes the monitoring function. MonitoringThe monitoring function is capable of re

Page 84 - 2.2.4.1 Code Break

164CHAPTER2 Dependence Functions2.4.4.3 Power-on DebugThis section describes power-on debug function. Power-on DebugPower-on debug is a function to

Page 85

165CHAPTER2 Dependence FunctionsNotes:• Other debug features cannot be used while debugging power-on at all. • When security is enabled, power on deb

Page 86 - 2.2.4.2 Code Event Break

166CHAPTER2 Dependence Functions2.4.5 To Access the Flash MemoryThis section describes the access method to the flash memory. Access to Flash Memory

Page 87 - 2.2.4.3 Data Event Break

167CHAPTER2 Dependence Functions- View the following dialogs.Line Assembly dialog (Disassembly window)Break setting dialog [Software]● Flash memory s

Page 88

168CHAPTER2 Dependence Functions Examples of flash memory synchronization● In the case of [Flash -> Debugger]An image in the case where the flash

Page 89 - 2.2.4.5 Alignment Error Break

169CHAPTER2 Dependence Functions● In the case of [Debugger -> Flash]An image in the case where the flash memory synchronization [Debugger -> Fl

Page 90

8CHAPTER1 Basic FunctionsNote:When checking [Use the Output window], note the following:• Once a tool is activated, Make/Build activated until the to

Page 91 - 2.2.4.7 Forced Break

170CHAPTER2 Dependence Functions2.4.6 To Interrupt the Program Execution [Break]This section describes the method of interrupting the execution of th

Page 92

171CHAPTER2 Dependence Functions2.4.6.1 Code Break (Hardware)This function suspends program execution by monitoring a specified address by hardware.

Page 93 - 2.2.6 Trace

172CHAPTER2 Dependence FunctionsNotes:• Do not set the code break to an instruction placed in a delay slot. If a code break is set and thebranch inst

Page 94 - 2.2.6.1 Trace Data

173CHAPTER2 Dependence Functions2.4.6.2 Code Break (Software)This function suspends program execution by monitoring a specified address by software.

Page 95 - 2.2.6.2 Trace Sampling

174CHAPTER2 Dependence FunctionsNotes:• Do not set the code break (software) to an instruction placed in a delay slot. When set, anincorrect instruct

Page 96 - 2.2.6.3 Setting Trace

175CHAPTER2 Dependence Functions2.4.6.3 Data BreakThis function suspends program execution when data access (read/write) is made to a specified addre

Page 97 - 2.2.6.4 Displaying Trace Data

176CHAPTER2 Dependence Functions2.4.6.4 Trace Trigger BreakThis function suspends program execution when a trace trigger terminates trace acquisition

Page 98

177CHAPTER2 Dependence Functions2.4.6.5 Forced BreakThis function forcibly suspends program execution. Forced BreakThis function forcibly suspends p

Page 99 - 2.2.6.6 Searching Trace Data

178CHAPTER2 Dependence Functions2.4.6.6 Data Watch BreakThis break function suspends program execution when the program reaches a specified instructi

Page 100 - 2.2.6.7 Saving Trace Data

179CHAPTER2 Dependence FunctionsNotes:• A data watch break shares points with the following functions. The maximum number of datawatch breaks varies

Page 101 - 2.2.6.8 Clearing Trace Data

9CHAPTER1 Basic Functions1.5 Include Dependencies Analysis FunctionThis section describes the function of the Include Dependencies Analysis of SOFTUN

Page 102 - ■ Notes on Trace Function

180CHAPTER2 Dependence Functions2.4.6.7 SequencerThis is a function to abort the program execution when the program is executedalong with the event o

Page 103

181CHAPTER2 Dependence Functions Specifications of SequencerTable 2.4-2 shows the specifications of the sequencer for the emulator debugger (MB2100-

Page 104 - 2.2.7 Inaccessible Area

182CHAPTER2 Dependence Functions2.4.6.8 Guarded Access BreakThis is a function to abort the program execution when an access violation to protected a

Page 105 - ■ How to Check

183CHAPTER2 Dependence Functions2.4.7 Measuring the Program Execution TimeThis section explains the function to measure the program execution time.

Page 106

184CHAPTER2 Dependence Functions2.4.7.1 Measuring the Program Execution Cycle CountThis section explains the function of measuring the number of prog

Page 107

185CHAPTER2 Dependence Functions Setting Measurement UnitEither of the following methods can be used to set the measurement unit.• Dialog- Time Meas

Page 108

186CHAPTER2 Dependence Functions2.4.7.2 Measuring Event-to-Event Execution Cycle Count [Performance Measurement]This section explains how to measure

Page 109

187CHAPTER2 Dependence Functions Measuring ProcedureUse the following steps to measure the performance.1. Specify the performance measuring interval

Page 110

188CHAPTER2 Dependence Functions RemeasuringRemeasuring performance refers to a function that clears the measuring count during execution of a userp

Page 111

189CHAPTER2 Dependence Functions2.4.8 Viewing Program Execution History [Trace]This section describes the trace function. What is TraceThe function

Page 113 - 2.3.1.3 Cache Flush Control

10CHAPTER1 Basic Functions1.6 Functions of Setting Tool OptionsThis section describes the functions to set options for the language tools activated f

Page 114 - 2.3.1.4 Operating Frequency

190CHAPTER2 Dependence FunctionsFigure 2.4-9 shows how data is stored in the trace buffer.Figure 2.4-9 Acquiring Trace DataNote:Executing the force

Page 115 - ■ External memory emulation

191CHAPTER2 Dependence Functions2.4.8.1 Displaying Trace DataThis section explains how to display trace data. Display Formats of Trace DataThe follo

Page 116 - 2.3.1.6 Debug mode

192CHAPTER2 Dependence Functions3. (If the trace window is already displayed), update trace data.- Right-click on the trace window, and select [Refre

Page 117

193CHAPTER2 Dependence Functions2.4.8.1.1 Trace Data Display Examples (RAW Data)This section describes trace data that is displayed in the RAW data m

Page 118

194CHAPTER2 Dependence Functionsframe no.Displays frame numbers in decimal notation.b-addrDisplays a branch address or low-level reset occurrence add

Page 119

195CHAPTER2 Dependence Functionsa-dataDisplays access data in hexadecimal notation.In some cases, however, it may display read IDs, depending on the

Page 120 - 2.3.4 Break

196CHAPTER2 Dependence Functions2.4.8.1.2 Trace Data Display Example (Instruction)This section describes trace data that is displayed in the instruct

Page 121 - 2.3.4.1 Code Break

197CHAPTER2 Dependence Functions2.4.8.1.3 Trace Data Display Example (Source)This section describes trace data that is displayed in the source line m

Page 122

198CHAPTER2 Dependence Functions2.4.8.2 Saving Trace DataThis section explains how to save trace data. Saving Trace DataTrace data can be saved in a

Page 123 - 2.3.4.2 Data Break

199CHAPTER2 Dependence Functions2.4.8.3 Searching for Trace DataThis section explains how to search for trace data. Searching for Trace DataThe spec

Page 124 - 2.3.4.3 Code Event Break

11CHAPTER1 Basic Functions1.7 Error Jump FunctionThis section describes the error jump function in SOFTUNE Workbench. Error Jump Function When an er

Page 125

200CHAPTER2 Dependence Functions2.4.8.4 Obtaining Only Trace Data with Specified AttributesThis section explains the trace filter. Trace FilterThis

Page 126 - 2.3.4.4 Data Event Break

201CHAPTER2 Dependence Functions2.4.8.5 Ending Trace Acquisition in Specified ConditionsThis section explains the trace trigger. Trace TriggerA trig

Page 127

202CHAPTER2 Dependence Functions2.4.9 Disabling Memory Access to Specified AreaThis section explains the access-prohibited area. Access-prohibited A

Page 128 - ■ How to set

203CHAPTER2 Dependence Functions2.4.10 Displaying Messages Output from the User Program on DebuggerThis section explains semihosting features. What

Page 129 - 2.3.4.6 Alignment Error Break

204CHAPTER2 Dependence Functions Using Semihosting FeaturePerform the following procedure to display the content of output request to MBR on the ter

Page 130 - ■ External Trigger Break

205CHAPTER2 Dependence Functions2.4.11 Checking Debugger StatusThis section explains how to check information. Debugger InformationThe emulator debu

Page 131 - 2.3.4.8 Forced Break

206CHAPTER2 Dependence FunctionsSiM911Product name: SOFTUNE WorkbenchFile Path: SiM911.dll pathVersion: SiM911.dll version---------------------------

Page 132 - 2.3.4.9 Data Watch Break

207CHAPTER2 Dependence FunctionsCPU family ID: ID that indicates the CPU family installedin the deviceDSU type ID: ID that indicates the OCD-DSUinsta

Page 133

208CHAPTER2 Dependence Functions2.5 Monitor DebuggerThis section describes the functions of the monitor debugger. Monitor Debugger The monitor debug

Page 134 - 2.3.5 Control by Sequencer

209CHAPTER2 Dependence Functions2.5.1 Resources Used by Monitor ProgramThe monitor program of the monitor debugger uses the I/O resources listed belo

Page 135 - ● Setting by Command

12CHAPTER1 Basic Functions[Example]*** %f(%l) %h: or, %[*] %f(%l) %h:The first four characters are "*** ", followed by the file n

Page 136

210CHAPTER2 Dependence Functions2.5.2 BreakThe Monitor Debugger provides two types of break functions. When by each break function aborts program exe

Page 137 - ■ The measuring item

211CHAPTER2 Dependence Functions2.5.2.1 Software BreakA software break is a function to make a break by executing an instruction embedded in memory.T

Page 138 - 2.3.7 Trace

212CHAPTER2 Dependence Functions2.5.2.2 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This funct

Page 139 - ■ Trace Filter

213CHAPTER2 Dependence Functions2.5.3 Measuring Execution TimeThis function measures the execution time of a program. Measurement ItemThe execution

Page 140 - Trace buffer

214CHAPTER2 Dependence Functions2.5.4 Inaccessible AreaThis section explains inaccessible area by the monitor debugger. Inaccessible areaThe inacces

Page 141

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

Page 142 - ■ Display Bus Cycles

216INDEXIndexAAccessAccess to Flash Memory ...166Access-prohibited Area... 202Access Attrib

Page 143 - 2.3.7.2 Saving Trace Data

217INDEXDebuggingDEBUG I/F... 152Ending debugging... 156Power

Page 144

218INDEXSTUB Function ...42Trace Buffer-full Break...46, 78, 118Trace Trigger Break..

Page 145

219INDEXOperating EnvironmentOperating Environment... 22Setting Operating Environment ... 66, 100, 157Operating E

Page 146 - 2.3.8 Measuring Performance

13CHAPTER1 Basic Functions1.8 Editor FunctionsThis section describes the functions of the SOFTUNE Workbench built-in standard editor. Standard Edito

Page 147

220INDEXSecuritySecurity... 155Semihosting FeatureUsing Semihosting Feature ...

Page 148 - ■ Executing Program

221INDEXTrace Trigger BreakTrace Trigger Break... 176UUser ProgramCommands Available during Execution of User Prog

Page 150 - 2.3.9 Real-time Monitoring

ColophonCM71-00329-7EFUJITSU SEMICONDUCTOR CONTROLLER MANUALFR FAMILYSOFTUNETM WORKBENCHUSER’S MANUALfor V6November 2011 the seventh editionPublished

Page 152 - 2.3.11 Inaccessible Area

14CHAPTER1 Basic Functions● Font changing functionThe font size for character string displayed in the Edit window can be selected.

Page 153 - 2.3.12 RAM Checker

15CHAPTER1 Basic Functions1.9 Storing External EditorsThis section describes the function to set an external editor to SOFTUNE Workbench. External E

Page 154 - ■ Using the RAM Checker

16CHAPTER1 Basic Functions Example of Optional SettingsNote:• Regarding execution of error jump in Hidemaru:To execute error jump in Hidemaru used a

Page 155 - ■ Log file

17CHAPTER1 Basic Functions1.10 Storing External ToolsThis section describes the SOFTUNE Workbench function to set an external tool. External Tools A

Page 156 - ● Software

18CHAPTER1 Basic Functions1.11 Macro Descriptions Usable in ManagerThis section explains the macro descriptions that can be used in the manager of SO

Page 157

19CHAPTER1 Basic Functions*1: The macros are determined as follows:• Customize build1. Source file before and after executing compiler and assembler2

Page 158

FUJITSU SEMICONDUCTOR LIMITEDFR FAMILYSOFTUNETM WORKBENCHUSER’S MANUALfor V6

Page 159

20CHAPTER1 Basic Functions• Tool options1. Null character•Others1. File as focus is on the SRC tab of project window and valid file name is selected2

Page 160 - ● Multifunctional events

21CHAPTER1 Basic Functions Examples of Macro Expansion If the following workspace is opened, macro expansion is performed as follows:Workspace : C:\

Page 161 - 2.4.1 Starting debugging

22CHAPTER1 Basic Functions1.12 Setting Operating EnvironmentThis section describes the functions for setting the SOFTUNE Workbench operating environm

Page 162 - 2.4.1.1 Power-on Reset

23CHAPTER1 Basic Functions1.13 Debugger TypesThis section describes the types of SOFTUNE Workbench debuggers. Type of debugger SOFTUNE Workbench int

Page 163 - ● Length of DEBUG I/F cable

24CHAPTER1 Basic Functions1.14 Memory Operation FunctionsThis section describes the memory operation functions. Functions for Memory Operations • Di

Page 164

25CHAPTER1 Basic Functions1.15 Register OperationsThis section describes the register operations. Register Operations The Register window is opened

Page 165 - 2.4.1.3 Security

26CHAPTER1 Basic Functions1.16 Line Assembly and DisassemblyThis section describes line assembly and disassembly. Line Assembly To perform line-by-l

Page 166 - 2.4.2 Ending debugging

27CHAPTER1 Basic Functions1.17 Symbolic DebuggingThe symbols defined in a source program can be used for command parameters (address). There are thr

Page 167

28CHAPTER1 Basic Functions Line Number Information Line number information is set with the line number information table in SOFTUNE Workbench when a

Page 168

29CHAPTER1 Basic Functions1.17.1 Referring to Local SymbolsThis section describes referring to local symbols and Scope. Scope When a local symbol is

Page 170 - 2.4.4 Executing Program

30CHAPTER1 Basic Functions1.17.2 Referring to C/C++ VariablesC/C++ variables can be specified using the same descriptions as in the source program wr

Page 171

31CHAPTER1 Basic Functions Notes on C/C++ Symbols The C/C++ compiler outputs symbol information with "_" prefixed to global symbols. For

Page 172

32CHAPTER1 Basic Functions

Page 173 - 2.4.4.2 Monitoring

33CHAPTER2Dependence FunctionsThis chapter describes the functions dependent on each Debugger.2.1 Simulator Debugger2.2 Emulator Debugger (MB2197)2.

Page 174 - 2.4.4.3 Power-on Debug

34CHAPTER2 Dependence Functions2.1 Simulator DebuggerThis section describes the functions of the simulator debugger. Simulator Debugger The simulato

Page 175

35CHAPTER2 Dependence FunctionsTarget program sizeCODE XX(KB)DATA YY(KB)Required RAM space (MB) = 20 + (XX / 64)  6 + (YY / 64)  1.5However, RAM s

Page 176 - ■ Access to Flash Memory

36CHAPTER2 Dependence Functions2.1.1 Instruction SimulationThis section describes the instruction simulation executed. Instruction Simulation This s

Page 177

37CHAPTER2 Dependence Functions2.1.2 Memory SimulationThis section describes the memory simulation executed. Memory Simulation The simulator debugge

Page 178

38CHAPTER2 Dependence Functions2.1.3 I/O Port SimulationThis section describes I/O port simulation executed. I/O Port Simulation (Input Port) There

Page 179 - Execution and reset, etc

39CHAPTER2 Dependence Functions2.1.4 Interrupt SimulationThis section describes interrupt simulation executed. Interrupt Simulation This simulates t

Page 180 - ■ Break Functions

iPreface What is the SOFTUNE Workbench?SOFTUNE Workbench is support software for developing programs for the FR families of microprocessors / microco

Page 181 - 2.4.6.1 Code Break (Hardware)

40CHAPTER2 Dependence Functions2.1.5 Reset SimulationThis section describes the reset simulation executed. Reset Simulation The simulator simulates

Page 182

41CHAPTER2 Dependence Functions2.1.6 Low Power Consumption Mode SimulationThis section describes the low power consumption mode simulation executed.

Page 183 - 2.4.6.2 Code Break (Software)

42CHAPTER2 Dependence Functions2.1.7 STUB FunctionThis section describes the STUB function which executes commands automatically when the breakpoint

Page 184

43CHAPTER2 Dependence Functions2.1.8 BreakThis Simulator Debugger provides five types of break functions. When by each break function aborts program

Page 185 - 2.4.6.3 Data Break

44CHAPTER2 Dependence Functions2.1.8.1 Code BreakThis function causes a break by monitoring a specified address by software.A break occurs before exe

Page 186 - 2.4.6.4 Trace Trigger Break

45CHAPTER2 Dependence Functions2.1.8.2 Data BreakThis function aborts the program execution when a data access (read/write) is made to a specified ad

Page 187 - 2.4.6.5 Forced Break

46CHAPTER2 Dependence Functions2.1.8.3 Trace Buffer-full BreakThis function aborts the program execution when the trace buffer becomes full. Trace B

Page 188 - 2.4.6.6 Data Watch Break

47CHAPTER2 Dependence Functions2.1.8.4 Guarded Access BreakA guarded access break suspends a executing program when accessing in violation of the acc

Page 189

48CHAPTER2 Dependence Functions2.1.8.5 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This functi

Page 190 - 2.4.6.7 Sequencer

49CHAPTER2 Dependence Functions2.1.9 Measuring Execution Cycle CountThis function measures the program execution cycle count and step count. The mea

Page 191 - ● Command

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

Page 192 - 2.4.6.8 Guarded Access Break

50CHAPTER2 Dependence Functions2.1.10 TraceThe address and status information can be sampled during program execution to record it in a trace buffer.

Page 193 - ■ Measurement unit

51CHAPTER2 Dependence Functions2.1.10.1 Trace SamplingTrace measurements are made of a program execution status during the interval between the start

Page 194 - ■ Measurement Items

52CHAPTER2 Dependence Functions2.1.10.2 Setting TraceYou must set the following two items to perform a trace. After that, trace data will be sampled

Page 195 - ■ Error Information

53CHAPTER2 Dependence Functions2.1.10.3 Displaying Trace DataData recorded in the trace buffer can be displayed. Displaying Trace Data The trace win

Page 196 - [Performance Measurement]

54CHAPTER2 Dependence Functions2.1.10.4 Display Format of Trace DataThere are two display formats for displaying the data stored in the trace buffer.

Page 197 - ■ Ending the Measurement

55CHAPTER2 Dependence Functions2.1.10.5 Searching Trace DataThe trace buffer can be searched to locate target data. Searching Trace Data Specify the

Page 198 - ■ Remeasuring

56CHAPTER2 Dependence Functions2.1.10.6 Saving Trace DataThe debugger has function of saving trace data. Saving Trace Data Save the trace data to th

Page 199 - ■ Trace Buffer

57CHAPTER2 Dependence Functions2.1.10.7 Clearing Trace DataTo clear trace data, use the following command. Clearing Trace Data When clearing trace d

Page 200

58CHAPTER2 Dependence Functions2.1.11 Measuring CoverageIn the high-speed version simulator debugger, the C0 coverage measurement function is provide

Page 201 - Frame number 0 1 2 3 456

59CHAPTER2 Dependence Functions2.1.11.1 Coverage Measurement ProceduresThe procedure for coverage measurement is as follows:- Set range for coverage

Page 202

iiiCONTENTSCHAPTER1 Basic Functions ... 11.1 Workspace Manage

Page 203 - ■ RAW Data Display

60CHAPTER2 Dependence Functions- Displaying coverage rate of load module (Specify /MODULE for the command qualifier)- Summary (Specify /GENERAL for c

Page 204

61CHAPTER2 Dependence Functions- Displays per source line (Specify /SOURCE for the command qualifier)- Displays per machine instruction (Specify /INS

Page 205

62CHAPTER2 Dependence Functions2.1.12 Checking Debugger StatusThis section explains how to check information about the simulator debugger. Debugger

Page 206 - ■ Instruction Display

63CHAPTER2 Dependence Functions Version: SiiEd3.ocx version------------------------------------------------------- SiM911 Product name: SOFTUNE Workb

Page 207 - ■ Source Display

64CHAPTER2 Dependence FunctionsREALOS version: REALOS version------------------------------------------------------- SiIODef Product name: Softune Wo

Page 208 - 2.4.8.2 Saving Trace Data

65CHAPTER2 Dependence Functions2.2 Emulator Debugger (MB2197)This section describes the emulator debugger functions that are available when the emula

Page 209 - ■ Searching for Trace Data

66CHAPTER2 Dependence Functions2.2.1 Setting Operating EnvironmentThis section explains the operating environment setup. Setting Operating Environme

Page 210

67CHAPTER2 Dependence Functions2.2.1.1 MCU Operation ModeThe following four modes are in the MCU Operation Mode. The Internal Trace Mode and Externa

Page 211 - ■ Trace Trigger

68CHAPTER2 Dependence Functions2.2.1.2 DRAM Refresh ControlThis section explains DRAM refresh setup. DRAM Refresh Control The operating frequency of

Page 212 - ■ Access-prohibited Area

69CHAPTER2 Dependence Functions2.2.1.3 Cache Flush ControlThis section explains cache flush setup. Cache Flush Control When using a chip with cache

Page 213 - Debugger

iv 2.1.10.5 Searching Trace Data ... 552

Page 214 - ■ Using Semihosting Feature

70CHAPTER2 Dependence Functions2.2.1.4 Operating FrequencyThis section explains the setting of operating frequencies. Operating frequencies Set the

Page 215

71CHAPTER2 Dependence Functions2.2.2 Notes on Executing ProgramThere are some precautions to observe when using program execution commands. Real-tim

Page 216

72CHAPTER2 Dependence Functions2.2.3 Commands Available during Execution of User ProgramThis section explains the commands available during the execu

Page 217

73CHAPTER2 Dependence Functions2.2.4 BreakThe emulator debugger (MB2197) provides seven types of break functions. When by each break function aborts

Page 218 - 2.5 Monitor Debugger

74CHAPTER2 Dependence Functions2.2.4.1 Code BreakThis function aborts the program execution by monitoring a specified address by hardware or software

Page 219 - ■ Required Resources

75CHAPTER2 Dependence FunctionsNotes:HardwareThe hardware break requires the following cautions:- Do not set any hardware break in instruction placed

Page 220 - 2.5.2 Break

76CHAPTER2 Dependence Functions2.2.4.2 Code Event BreakThis function used breakpoints contained in the evaluation chip. The address mask, pass count

Page 221 - 2.5.2.1 Software Break

77CHAPTER2 Dependence Functions2.2.4.3 Data Event BreakThis function uses breakpoints contained in the evaluation chip. The address mask, data size,

Page 222 - 2.5.2.2 Forced Break

78CHAPTER2 Dependence Functions2.2.4.4 Trace Buffer-full BreakThis function aborts the program execution when the trace buffer becomes full. Trace B

Page 223 - ■ Measurement Item

79CHAPTER2 Dependence Functions2.2.4.5 Alignment Error BreakThis function aborts the program execution when an instruction access or a word/half word

Page 224 - 2.5.4 Inaccessible Area

v2.3.4.2 Data Break ... 11

Page 225

80CHAPTER2 Dependence Functions2.2.4.6 External Trigger BreakThis function aborts the program execution when an external signal is input from the TRI

Page 226

81CHAPTER2 Dependence Functions2.2.4.7 Forced BreakThis function forcibly aborts the program execution to generate a break. Forced Break This funct

Page 227

82CHAPTER2 Dependence Functions2.2.5 Measuring Execution Cycle CountThis function measures the program execution cycle count. The measuring item Mea

Page 228

83CHAPTER2 Dependence Functions2.2.6 TraceThe address and status information can be sampled during program execution to record it in a trace buffer.

Page 229

84CHAPTER2 Dependence Functions2.2.6.1 Trace DataData sampled and recorded by tracing is called trace data. Trace Data You can sample the following

Page 230

85CHAPTER2 Dependence Functions2.2.6.2 Trace SamplingTrace measurements of the program execution status are made during the interval between the prog

Page 231

86CHAPTER2 Dependence Functions2.2.6.3 Setting TraceTo perform a trace, complete steps 1 through 3 below. When a program is executed after completio

Page 232

87CHAPTER2 Dependence Functions2.2.6.4 Displaying Trace DataData recorded in the trace buffer can be Displayed. Displaying Trace Data The trace wind

Page 233 - FUJITSU SEMICONDUCTOR LIMITED

88CHAPTER2 Dependence Functions2.2.6.5 Display Format of Trace DataThere is a format for displaying trace buffer data. Display Format of Trace Data

Page 234

89CHAPTER2 Dependence Functions2.2.6.6 Searching Trace DataThe trace buffer can be searched to locate target data. Searching Trace Data Specify the

Comments to this Manuals

No comments