background image

94

CHAPTER2  Dependence Functions

2.2.7

Inaccessible Area

This section explains inaccessible area.

Inaccessible area

The inaccessible area is a function that suppresses access to memory when the debugger accesses a

specified memory area (using commands, windows, etc. (*)).

However, access to memory is not suppressed using program.

The following commands are used to set an inaccessible area.

SET MAP/INACCESSIBLE:

Sets an inaccessible region.

SHOW MAP/INACCESSIBLE:

Displays an inaccessible region.

CANCEL MAP/INACCESSIBLE: Deletes a specified inaccessible region.

ENABLE MAP/INACCESSIBLE: Enables a specified inaccessible region.

DISABLE MAP/INACCESSIBLE: Disables a specified inaccessible region.

(*): Memory operation command

- Assemble/disassemble command

- Load/save command

- Built-in Variables and Functions (%BIT, %B, %H, %W, %L, %S, %D)

- Formula

- Trace

- Vector

- Memory window

- Source window

- Assemble window

- Watch window

- Local window

- Symbol window

Access to memory area including inaccessible area

When there are inaccessible regions within those that are accessed, up to memory of inaccessible region is

accessed, an error is output when the inaccessible region is reached, and access to the memory is

suspended.

Summary of Contents for SOFTUNE

Page 1: ...FUJITSU SEMICONDUCTOR CONTROLLER MANUAL FR FAMILY SOFTUNE TM WORKBENCH USER S MANUAL for V6 CM71 00329 7E ...

Page 2: ......

Page 3: ...FUJITSU SEMICONDUCTOR LIMITED FR FAMILY SOFTUNE TM WORKBENCH USER S MANUAL for V6 ...

Page 4: ......

Page 5: ...ons of SOFTUNE Workbench This manual is intended for engineers developing various types of products using SOFTUNE Workbench Be sure to read this manual completely Trademarks REALOS SOFTUNE are trademark of Fujitsu Semiconductor Limited Japan The company names and brand names herein are the trademarks or registered trademarks of their respective owners Organization of Manual This manual consists of...

Page 6: ...ontained herein The products described in this document are designed developed and manufactured as contemplated for general use including without limitation ordinary industrial use general office use personal use and household use but are not designed developed and manufactured as contemplated 1 for use accompanying fatal risks or dangers that unless extremely high safety is secured could have a s...

Page 7: ...tions 25 1 16 Line Assembly and Disassembly 26 1 17 Symbolic Debugging 27 1 17 1 Referring to Local Symbols 29 1 17 2 Referring to C C Variables 30 CHAPTER2 Dependence Functions 33 2 1 Simulator Debugger 34 2 1 1 Instruction Simulation 36 2 1 2 Memory Simulation 37 2 1 3 I O Port Simulation 38 2 1 4 Interrupt Simulation 39 2 1 5 Reset Simulation 40 2 1 6 Low Power Consumption Mode Simulation 41 2 ...

Page 8: ... 6 External Trigger Break 80 2 2 4 7 Forced Break 81 2 2 5 Measuring Execution Cycle Count 82 2 2 6 Trace 83 2 2 6 1 Trace Data 84 2 2 6 2 Trace Sampling 85 2 2 6 3 Setting Trace 86 2 2 6 4 Displaying Trace Data 87 2 2 6 5 Display Format of Trace Data 88 2 2 6 6 Searching Trace Data 89 2 2 6 7 Saving Trace Data 90 2 2 6 8 Clearing Trace Data 91 2 2 6 9 Notes on Use of Tracing Function 92 2 2 7 Ina...

Page 9: ...Checking Debugger Status 147 2 4 Emulator Debugger MB2100 01 150 2 4 1 Starting debugging 151 2 4 1 1 Power on Reset 152 2 4 1 2 Operating Environments of the Target 153 2 4 1 3 Security 155 2 4 2 Ending debugging 156 2 4 3 Efficiently Executing Debugging 157 2 4 3 1 Increasing Communication Speed during Debugging 158 2 4 3 2 Switching Debug Function 159 2 4 4 Executing Program 160 2 4 4 1 Setting...

Page 10: ... Data with Specified Attributes 200 2 4 8 5 Ending Trace Acquisition in Specified Conditions 201 2 4 9 Disabling Memory Access to Specified Area 202 2 4 10 Displaying Messages Output from the User Program on Debugger 203 2 4 11 Checking Debugger Status 205 2 5 Monitor Debugger 208 2 5 1 Resources Used by Monitor Program 209 2 5 2 Break 210 2 5 2 1 Software Break 211 2 5 2 2 Forced Break 212 2 5 3 ...

Page 11: ...nction 1 5 Include Dependencies Analysis Function 1 6 Functions of Setting Tool Options 1 7 Error Jump Function 1 8 Editor Functions 1 9 Storing External Editors 1 10 Storing External Tools 1 11 Macro Descriptions Usable in Manager 1 12 Setting Operating Environment 1 13 Debugger Types 1 14 Memory Operation Functions 1 15 Register Operations 1 16 Line Assembly and Disassembly 1 17 Symbolic Debuggi...

Page 12: ...d Compile Assemble Start Debug and Include Dependencies in the menu Make Build Compile Assemble and Include Dependencies affect the subprojects within the active project If workspace contains some project it always has one active project Subproject The subproject is a project on which other projects depend The subproject target files are linked together when creating parent project target files th...

Page 13: ...oes not support early Workbench versions Old project format Supports management of just one project configuration Limited number of macros usable in manager For details refer to Section 1 11 Macro Descriptions Usable in Manager Supports early Workbench versions When a new project is made the workspace project format is used When using an existing project the corresponding project format is used If...

Page 14: ... be created within one project In the project configuration the following information is managed Name and directory of target file Information on options of language tools to create target file by compiling assembling and linking source files Information on whether to build file or not Information on setting of debugger to debug target file Active Project Configuration The active project configura...

Page 15: ...dence command The subproject is a project on which other projects depend By defining project dependence a subproject can be made and built to link its target file before making and building the parent project The use of project dependence enables simultaneous making and building of two or more projects developed in one workspace A project configuration in making and building a subproject in the Pr...

Page 16: ...the dependence of a source file and include file SOFTUNE Workbench has the function of analyzing include dependence For details refer to Section 1 5 Include Dependencies Analysis Function Build Function Build function generates a target file by compiling assembling all source files registered with a project regardless of whether they have been updated or not and then by joining all required object...

Page 17: ... The options include any file name and tool specific options SOFTUNE Workbench has the macros indicating that any file name and tool specific options are specified as options If any character string other than parameters is specified it is passed directly to the tool For details about the parameters refer to Section 1 11 Macro Descriptions Usable in Manager Macro List The Setup Customize Build dia...

Page 18: ...d until the tool is terminated The Output window must not be used with a tool using a wait state for user input while the tool is executing The user can not perform input while the Output window is in use so the tool cannot be terminated To forcibly terminate the tool select the tool on the Task bar and input Control C or Control Z ...

Page 19: ...files For this reason SOFTUNE Workbench has a built in Include Dependencies Analysis function This function can be activated by selecting the Project Include Dependencies command By using this function uses can know the exact dependencies even if an include file includes another include file SOFTUNE Workbench automatically updates the dependencies of the compiled assembled files Note When executin...

Page 20: ... setting refer to Section 4 5 5 Setup Project in SOFTUNE Workbench Operation Manual Common options These options are effective for all source files excluding those for which individual options are specified stored in the project Individual options These options are compile assemble options effective for specific source files The common options specified for source files for which individual option...

Page 21: ...stem these can not be modified A new error message format should be added when working the Error Jump function with user registered tool To set Error Jump execute the Setup Error command Syntax An error message format can be described in Syntax SOFTUNE Workbench uses macro descriptions as shown in the Table 1 7 1 to define such formats To analyze up to where f h and continue SOFTUNE Workbench uses...

Page 22: ...f l h The first four characters are followed by the file name and parenthesized line number and then the keyword for help continues after one blank character This represents the following message C Sample sample c 100 E4062C Syntax Error near int ...

Page 23: ... is set the line is displayed in a different color Ruler line number display function The Ruler is a measure to find the position on a line it is displayed at the top of the Edit window A line number is displayed at the left side of the Edit window Automatic indent function When a line is inserted using the Enter key the same indent indentation as the preceding line is set automatically at the ins...

Page 24: ...14 CHAPTER1 Basic Functions Font changing function The font size for character string displayed in the Edit window can be selected ...

Page 25: ...ed immediately after the editor name The names of file to be opened by the editor and the initial location of the cursor the line number can be specified SOFTUNE Workbench has a set of special parameters for specifying any file name and line number as shown in the Table 1 9 1 If any other character string are described by these parameters such character string are passed as is to the editor f File...

Page 26: ... and Opening two identical files is inhibited Table 1 9 1 List of Special Characters for Analyzing Error Message Parameter Semantics Means specifying itself f Means specifying file name l Means specifying line number x Means specifying project path Table 1 9 2 Example of Optional Settings For External Editors Editor name Argument WZ Editor V4 0 f j l MIFES V1 0 f l UltraEdit32 f l 1 TextPad32 f l ...

Page 27: ...ool execution command Setting Options When activating an external tool from SOFTUNE Workbench options must be added immediately after the tool name Specify the file names and unique options etc SOFTUNE Workbench has a set of special parameters for specifying any file name and unique tool options If any characters described other than these parameters such characters are passed as it is to the exte...

Page 28: ...or Jump and External Editors refer to Sections 1 7 Error Jump Function and 1 9 Storing External Editors Macro List The following is a list of macros that can be specified in SOFTUNE Workbench The macros usable for each function are listed below External tools Table 1 11 1 and Table 1 11 2 Customize build Table 1 11 1 and Table 1 11 2 Tool options Table 1 11 2 The directory symbol is added to the o...

Page 29: ...e file 2 E Passed as extension of load module file 2 x Passed as directory of project file 2 X Passed as main file name of project file 2 Passed as Table 1 11 2 List of macros that can be specified 2 Parameter Meaning FILE Passed as full path name of file 1 LOADMODULEFILE Passed as full path name of load module file 2 PRJFILE Passed as full path name of project file 2 WSPFILE Passed as full path n...

Page 30: ...d valid file name is selected 2 Information on configuration of active project if no valid file name can be obtained in 1 3 Only project files in the workspace project format can be used for macros indicated 4 Data in the temporary file can be specified only for customize build The macro can be used only in workspace compatible Workbench It is not expanded in workspace incompatible Workbench Table...

Page 31: ...ce Files Common PRJFILE C Subprj Subprj prj Focus is not in the SRC tab of project window a C Wsp Sample Debug Abs Sample abs A Sample abs D C Wsp Sample Debug Abs PRJFILE C Wsp Sample Sample prj Example Macro expansion in customize build Release configuration of Subprj project is built FILE C Subprj LongNameFile c FILE PATH C Subprj FILE RELPATH FILE NAME LongNameFile FILE EXT c FILE SHORTFULLNAM...

Page 32: ... the last opened workspace Display options while compiling assembling Compile options or assemble options can be viewed in the Output window Save dialog before closing workspace Before closing the workspace a dialog asking for confirmation of whether or not to save the workspace to the file is displayed If this setting is not made SOFTUNE Workbench automatically saves the Project without any confi...

Page 33: ...e I O ports interrupts reset etc with software to evaluate a program It is used for evaluating an uncompleted system and operation of individual units etc Emulator Debugger The emulator debugger is software to evaluate a program by controlling an Emulator from a host through a communications line RS 232C LAN USB Before using this debugger the emulator must be initialized Monitor Debugger The monit...

Page 34: ... to another area Compare The data in the specified source area can be compared with data in the destination area Search Data in the specified memory area can be searched For details refer to 3 11 Memory Window in SOFTUNE Workbench Operation Manual Display Modify C C variables The names of variables in a C C source file can be displayed in the Watch window and modified Setting Watch point By settin...

Page 35: ...s can be displayed in the Register window For further details about modifying the register value and the flag value refer to 4 4 4 Register in SOFTUNE Workbench Operation Manual The name of the register and flag displayed in the register window varies depending on each MCU in use For the list of register names and flag names for the MCU in use refer to Appendix A Register Names in SOFTUNE Workbenc...

Page 36: ...mbly For further details about assembly operation refer to 4 4 3 Assembly in SOFTUNE Workbench Operation Manual Disassembly To display disassembly use the View Assembly command By default disassembly can be viewed starting from the address pointed by the current program counter PC However the address can be changed to any desired address at start up Disassembly for an address outside the memory ma...

Page 37: ... variables and functions defined outside a function with a static declaration are in this category In assembler symbols without a PUBLIC declaration are in this category Local symbol within function A local symbol within a function exists only in C C A static symbol within a function and an automatic variable are in this category Static symbol within function Out of the variables defined in functi...

Page 38: ...e number information is set with the line number information table in SOFTUNE Workbench when a debug information file is loaded Once registered such information can be used at anytime thereafter Line number is defined as follows Source File Name Line Number ...

Page 39: ...ged by displaying the Call Stack dialog and selecting the parent function For further details of this operation refer to 4 6 7 Stack in SOFTUNE Workbench Operation Manual Changing the Current Scope as described above does not affect the value of the PC By moving the current scope in this way you can search a local symbol in parent function with precedence Specifying Symbol and Search Procedure A s...

Page 40: ...ing Variables Semantics Regular Variable int data data Value of data Pointer char p p Value pointed to by p Array char a 5 a 1 Value of second element of a Structure struct stag char c int struct stag st struct stag stp st c stp c Value of member c of st Value of member c of the structure to which stp points Union union utag char c int i uni uni i Value of member i of uni Address of variable int d...

Page 41: ...bugging described in C C easier Consequently a symbol name described in C C and a symbol name described in assembler which should both be unique may be identical In such a case the symbol name in the Current Scope normally is preferred To refer to a symbol name outside the Current Scope specify the symbol with the module name If there are duplicated symbols outside the Current Scope the symbol nam...

Page 42: ...32 CHAPTER1 Basic Functions ...

Page 43: ...pendence Functions This chapter describes the functions dependent on each Debugger 2 1 Simulator Debugger 2 2 Emulator Debugger MB2197 2 3 Emulator Debugger MB2198 2 4 Emulator Debugger MB2100 01 2 5 Monitor Debugger ...

Page 44: ...or s processing methods This can be instruction processing performance for 10MIPS when it is operated by PC equipped with Pentium4 2 0GHz External I F for simulator are equipped to high speed simulator debugger to create peripheral simulation modules Please refer to an Appendix G External I F for Simulator in SOFTUNE Workbench Operation Manual Operating Conditions The high speed simulator debugger...

Page 45: ...ion operations memory space interrupts reset low power consumption mode etc Peripheral I Os such as a timer DMAC and serial I O other than the CPU core of the actual chip are not supported as peripheral resources I O space to which peripheral I Os are connected is treated as memory space There is a method for simulating interrupts like timer interrupts and data input to memory like I O ports For d...

Page 46: ...imulation This section describes the instruction simulation executed Instruction Simulation This simulates the operations of all instructions supported by the FR Family It also simulates the changes in memory and register values due to such instructions ...

Page 47: ...on Memory Space Memory space access attributes can be specified byte by byte using the Setup Memory Map menu The access attribute of unspecified memory space is Undefined Memory Area Access Attributes Access attributes for memory area can be specified as shown in Table 2 1 1 A guarded access break occurs if access is attempted against such access attribute while executing a program When access is ...

Page 48: ...rdinary text editor or a binary file containing direct code can be used as the data input file When using a text file input the input data inside commas When using a binary file select the binary button in the input port dialog I O Port Simulation Output Port At output port simulation whenever a program writes data to the specified port writing is executed to the data output destination To set an ...

Page 49: ...rating condition Whenever the instruction executing cycle count exceeds the specified cycle an interrupt continues to be generated The type of interrupt can be set using either the Setup Debug Environment Interrupt menu or the SET INTERRUPT command in the Command window If an interrupt is masked by an interrupt enabled flag when the interrupt generating condition is met the interrupt is generated ...

Page 50: ...al is input to the MCU using the Debug Reset MCU menu or RESET command and initializes the registers The function for performing reset processing by operation of MCU instructions writing to RST bit in standby control register is also supported The register with the RST bit is different according to the FR FR80 as follows FR Standby mode Control Register FR80 Reset Control Register ...

Page 51: ...on operation Write to SLEEP bit or STOP bit of standby control register Once in the sleep mode or stop mode a message sleep for sleep mode stop for stop mode is displayed on the Status Bar The loop keeps running until either an interrupt request is generated or the Debug Abort menu is executed Each cycle of the loop increments the count by 1 During this period I O port processing can be operated W...

Page 52: ...O simulation external interrupt generation and memory reprogramming without changing the main program This function is effective only when the simulator debugger is used How to set The STUB function can be set by the following commands Dialog 1 Breakpoint Set Dialog Code tab 2 Breakpoint Set Dialog Data tab Command 1 SET BREAK 2 SET DATABREAK execution starts Breakpoint is hit Break STUB processin...

Page 53: ...ctions When by each break function aborts program execution the address where a break occurred and the break factor are displayed Break Functions This Simulator Debugger provided the following five types of break functions Code break Data break Trace buffer full break Guarded access break Forced break ...

Page 54: ...tion where execution suspended on Status Bar Break points can be set as follows For simulator debugger of normal speed 65535 points For simulator debugger of high speed 67 points When the code break occurs the following message appears at the status bar Break at address by breakpoint How to set Set code break as follows Dialog Code tab in breakpoint setting dialog For details refer to 4 6 4 Breakp...

Page 55: ...data break occurs the following message appears at the status bar Break at address by databreak at access address How to set Set the data break as follows Command SET DATABREAK For details refer to 3 8 SET DATABREAK type 1 in SOFTUNE Workbench Command Reference Manual Dialog Data tab in breakpoint setting dialog For details refer to 4 6 4 Breakpoint in SOFTUNE Workbench Operation Manual Notes If a...

Page 56: ...e trace buffer becomes full When the trace buffer full break occurs the following message appears at the status bar Break at address by trace buffer full How to set Set the trace buffer full break as follows Command SET TRACE BREAK For details refer to 4 12 SET TRACE type 2 in SOFTUNE Workbench Command Reference Manual Dialog Trace setting dialog For details refer to 4 4 8 Trace in SOFTUNE Workben...

Page 57: ...ute set by using the Setup Memory Map command and accessing a guarded area access disabled area in undefined area Guarded access breaks are as follows Code Guarded An instruction has been executed for an area having no code attribute Read Guarded A read has been attempted from the area having no read attribute Write Guarded A write has been attempted to an area having no write attribute If a guard...

Page 58: ...ation Manual Command ABORT For details refer to 2 2 ABORT in SOFTUNE Workbench Command Reference Manual Note The forced break cannot be generated when the MCU in the low power consumption mode or in the hold state If the MCU is in the low power consumption mode or in the hold state when the strong break is requested by the Debug Abort menu during the program execution the Debug Abort menu is ignor...

Page 59: ...es Execution Step Count Measures program execution step counts For both the normal simulator debugger and the high speed simulator debugger the maximum measurable count is 2 to the power of 32 1 in other words up to 4 294 967 295 steps The measurement is performed whenever a program is executed and the measurement result displays the following two values Number of cycles spent on the previous prog...

Page 60: ...sis of a program execution history The trace buffer is in the form of a ring When it becomes full it records the next data by automatically overwriting the buffered data at the beginning Trace Sampling Setting trace Displaying trace data Display format of trace data Searching trace data Saving trace data Clearing trace data Trace Data The simulator debugger can sample 1000 frames of trace data Tra...

Page 61: ...aborts due to a break factor such as a breakpoint terminating the trace Furthermore when the trace buffer becomes full a program break can be invoked This break is called a trace buffer full break Frame Number A number is assigned to each frame of sampled trace data This number is called a frame number The frame number is used to specify the display start position of the trace buffer The number 0 ...

Page 62: ...s from the command window Setting Trace 1 Enable the trace function This is done by Setup Trace in the trace window shortcut menu This program will startup and will be enabled 2 Set the trace buffer full break When the trace buffer is full you can make a break This is done using the setting dialogs of the trace window shortcut menu Setup Trace When starting up this program it is setup for no break...

Page 63: ...10 3 Displaying Trace Data Data recorded in the trace buffer can be displayed Displaying Trace Data The trace window displays how much trace data is stored in the trace buffer Also you can use the SHOW TRACE command from the command window ...

Page 64: ...ed in the trace buffer Display Format of Trace Data Display Only Instruction Operation Specify Instruction Display by Unit of Source Lines Specify Source Display Only Instruction Operation In this mode the instruction operation is displayed in disassembly units Display by Unit of Source Lines This mode only displays source lines ...

Page 65: ...10 5 Searching Trace Data The trace buffer can be searched to locate target data Searching Trace Data Specify the address information for the search purpose This search function can be run by clicking the Search button in the trace window ...

Page 66: ...function of saving trace data Saving Trace Data Save the trace data to the specified file For details on operations refer to Sections 3 14 Trace Window and 4 4 8 Trace in SOFTUNE Workbench Operation Manual and Section 4 9 Show Trace in SOFTUNE Workbench Command Reference Manual ...

Page 67: ...Dependence Functions 2 1 10 7 Clearing Trace Data To clear trace data use the following command Clearing Trace Data When clearing trace data the Clear command is executed from the short cut menu in the trace window ...

Page 68: ...gh speed version simulator debugger to have is used In addition details such as which addresses were not accessed can be checked In this debugger the range to measure coverage can be set Please set the time base range only to the code area when you do the C0 coverage Moreover the access of the variable can be examined as the variable not used is searched out by setting the time base range to the d...

Page 69: ...is not set when the C C compiler library is linked Example SET COVERAGE FF000000 FFFFFFFF Measuring Coverage When preparing for coverage measurement execute the program Measurement starts when the program is executed by using the GO STEP or CALL command Displaying Coverage Measurement Result To display the measurement result use the SHOW COVERAGE command The following can be displayed Coverage rat...

Page 70: ... access status of every 16 addresses No access 1 to F Display the number accessed in 16 addresses by the hexadecimal number Access all of the 16 addresses SHOW COVERAGE GENERAL HEX 0X0 1X0 2X0 address 0123456789ABCDEF0123456789ABCDEF0123456 ABCDEF C0 FF000000 3 E 32 0 Display one line of a coverage rate Display the access status of every 1 address No access Access SHOW COVERAGE DETAIL FF000000 add...

Page 71: ...erage measurement SHOW COVERAGE INSTRUCTION 000803EE sample c 66 void main 000803EE main 000803EE 1781 ST RP R15 000803F0 0F12 ENTER 048 sample c 71 for i 0 i 16 i 000803F2 C00C LDI 8 00 R12 000803F4 3FFC ST R12 R14 4 000803F6 2FF0 LD R14 4 R0 000803F8 C10C LDI 8 10 R12 000803FA AAC0 CMP R12 R0 000803FC EB15 BGE 00080428 000803FE 9F820003C1E8 LDI 32 0003C1E8 R2 sample c 72 value i target i 0008040...

Page 72: ...ormation Command SHOW SYSTEM For details refer to Section 1 12 SHOW SYSTEM in SOFTUNE Workbench Command Reference Manual Dialog Version information dialog Select Help Version Information menu For details refer to Section 4 9 3 Version Information in SOFTUNE Workbench Operation Manual Displayed Contents FR Family SOFTUNE Workbench VxxLxx ALL RIGHTS RESERVED COPYRIGHT C FUJITSU SEMICONDUCTOR LIMITED...

Page 73: ...onverter version File Path f2ms exe path SOFTUNE FJ OMF to INTEL HEX Converter version File Path f2is exe path SOFTUNE FJ OMF to INTEL EXT HEX Converter version File Path f2es exe path SOFTUNE FJ OMF to HEX Converter version File Path f2hs exe path SiOsM Product name Softune Workbench File Path SiOsM911 dll path Version SiOsM911 dll version FR Series Debugger DLL Product name SOFTUNE Workbench Fil...

Page 74: ...REALOS version REALOS version SiIODef Product name Softune Workbench File Path SiIODef dll path Version SiIODef dll version Current path Path of the currently used project Language Currently used language Help file path Help file path ...

Page 75: ...wing description explains the case when MB2197 has been selected The emulator debugger MB2197 is software that controls an emulator from a host computer via a communications line RS 232C or LAN to evaluate programs Products targeted for debugging must have the following DSUs debug support units DSU1 DSU2 DSU3 Before using the emulator debugger it is necessary to initialize the emulator For details...

Page 76: ...gger MB2197 the following items must be set according to the operating environment Each setting item has a default value at startup Therefore if the default value is used as it is there is no need to change this setting Adjusted settings can be used as new default settings from the next time MCU operation mode DRAM refresh control Cache flush control Operating Frequency ...

Page 77: ...ut omission However if branching occurs more than three times within 11 cycles operations may not be real time due to the wait entered to MCU as acquiring the trace data is preceded This mode cannot be specified with DSU3 chips Real time Mode In the real time mode a program runs in real time However if branching occurs more than three times within 11 cycles some trace data may be omitted This mode...

Page 78: ...he user target The RFCR register values for On Execution in user mode and On Break in emulation mode can be set by RFCR tab in debug environment setting dialog When the mode is switched the values set here are used to set to the RFCR register Note When using chips with an operating frequency that is not divided automatically at a break in emulation mode or when the built in DRAM refresh function a...

Page 79: ...s not reflected in the cache Therefore cache flushing must be performed when such commands are executed The emulator debugger MB2197 has a function to flush the cache automatically monitor memory rewriting and set software break points etc This function is controlled using the Emulation tab in debug environment setting dialog Note When the automatic cache flushing option is enabled it may negative...

Page 80: ...es from 1 to 200 MHz This setting provides the optimum communication speed between the MCU and emulator This function can be controlled by the Frequency tab in debug environment setting dialog Notes This setting is used to set maximum operating frequencies Actual operating frequencies will not be changed Actual operating frequencies exceeding these settings will cause improper communication with t...

Page 81: ... Debug Run Step Over menu Restrictions when Suspended by Software Break When there is a software break at the current PC location if either the Debug Run Go menu or the Go command is executed the emulator debugger MB2197 performs one execution step internally and then executes the program in batch processing In addition when a software break is set for the instruction to clear the T flag and when ...

Page 82: ...of a user program Notes The conditions which allow you to use the commands in Table 2 2 1 are limited to the following cases when a user program is executed Debug Run Go menu Go button on the debug toolbar The commands in Table 2 2 1 cannot be used when the GO command is entered in the command window An error message appears if you enter a command that cannot be used during the execution of a user...

Page 83: ...ak function aborts program execution the address where a break occurred and the break factor are displayed Break Functions The emulator debugger MB2197 provides the following seven types of break functions Code break Code event break Date event break Trace buffer full break Alignment error break External trigger break Forced break ...

Page 84: ... as follow Hardware 5 points Software 4096 points When the code break occurs the following message appears at the status bar Hardware Break at address by hardware breakpoint Software Break at address by breakpoint How to set Set the break as follows Command SET BREAK HARD hardware SET BREAK SOFT software For details refer to 3 1 SET BREAK type 1 in SOFTUNE Workbench Command Reference Manual Dialog...

Page 85: ...rom the address at which a hardware break is set a break occurs without executing the instruction if the immediately preceding program execution is stopped by a factor other than the instruction break To execute the instruction reexecute the program Software The software break requires the following cautions A breakpoint cannot be set in any area such as ROM where data cannot be written properly I...

Page 86: ... break sequential How to set Set the code event break as follows Command SET CODEEVENT SET SEQUENCE ON only in sequential mode For details refer to 3 19 SET CODEEVENT in SOFTUNE Workbench Command Reference Manual Dialog Code tab in event setting dialog For details refer to 4 6 5 Event in SOFTUNE Workbench Operation Manual Note In the DSU3 chip the code event can be used as a break factor and a tra...

Page 87: ...Break a address by data event break sequential How to set Set the data event break as follows Command SET DATAEVENT SET SEQUENCE ON only in sequential mode For details refer to 3 24 SET DATAEVENT in SOFTUNE Workbench Command Reference Manual Dialog Data tab in event setting dialog For details refer to 4 6 5 Event in SOFTUNE Workbench Operation Manual Note In the DSU3 chip the data event can be use...

Page 88: ...e trace buffer becomes full When the trace buffer full break occurs the following message appears at the status bar Break at address by trace buffer full How to set Set the trace buffer full break as follows Command SET TRACE BREAK For details refer to 4 12 SET TRACE type 2 in SOFTUNE Workbench Command Reference Manual Dialog Trace setting dialog For details refer to 4 4 8 Trace in SOFTUNE Workben...

Page 89: ...error break can be set for both instruction access and data access When the alignment error break occurs the following message appears at the status bar Instruction access Break at address by alignment error break code Data access Break at address by alignment error break data How to set Set the alignment error break as follows Command ENABLE ALIGNMENTBREAK DISABLE ALIGNMENTBREAK For details refer...

Page 90: ...input from the TRIG of the Emulator When the external trigger break occurs the following message appears at the status bar Break at address by external trigger break How to set Set the external trigger break as follows Command SET TRIGGER For details refer to 3 35 SET TRIGGER in SOFTUNE Workbench Command Reference Manual Dialog Emulation tab in debug environment setting dialog For details refer to...

Page 91: ...ion Manual Command ABORT For details refer to 2 2 ABORT in SOFTUNE Workbench Command Reference Manual Note The forced break cannot be generated when the MCU is in the low power consumption mode or in the hold state If the MCU is in the low power consumption mode or in the hold state when the forced break is requested by the Debug Abort menu during the program execution the Debug Abort menu is igno...

Page 92: ... Time Measurement menu 2 Display by command Enter the SHOW TIMER command in the command window Clearing Measurement Results Either of the following methods can be used to clear the measurement results 1 Operation by dialog Click the Clear button in the time measurement dialog which can be displayed by selecting Debug Time Measurement menu 2 Clearing by command Enter the CLEAR TIMER command in the ...

Page 93: ...ce function can be used to make a detailed analysis of a program execution history The trace buffer is in the form of a ring When it becomes full it records the next data by automatically overwriting the buffered data at the beginning Trace data Trace sampling Setting trace Displaying trace data Display format of trace data Searching trace data Saving Trace dada Clearing trace data Notes on Use of...

Page 94: ...ce Mode 65536 bytes Real Time Trace Mode 65536 bytes Internal Trace Mode 128 frames or 64 frames The number of frame is different by an evaluation chip External Trace Mode 65536 frames The following data is sampled Address 32 bits Data 32 bits Status Information Access Data Size Word Halfword Byte Data Types Data Access Instruction Execution Note Trace data requires a few bytes for each frame ...

Page 95: ...ecified region When mode switching is effected from the trace sampling mode to the trigger mode trace measurements start at the first or second code event hit or the first data event hit When the internal trace mode or external trace mode is selected as the MCU operation mode data sampling is conducted only for data accesses to a specified data trace measurement region The program execution aborts...

Page 96: ...ates while executing but there is a great possibility of losing trace data Full trace mode does not operate while executing but there is a very low possibility of losing trace data If there are many divisional instructions we recommend that you use the full trace mode With the DSU3 chip you can specify internal trace mode or external trace mode Using these two modes you can measure while operating...

Page 97: ...e buffer Also you can use the SHOW TRACE command from the command window When the emulator debugger uses the DSU3 chip it displays branch information and data access information as trace data To display instructions executed between branch instructions it is necessary to open the trace details dialog The same purpose can also be achieved by executing the SHOW DETAILTRACE command from the command w...

Page 98: ... of Trace Data There is a format for displaying trace buffer data Display Format of Trace Data Display Only Instruction Operation Specify Instruction Display Only Instruction Operation In this mode the instruction operation is displayed in disassembly units ...

Page 99: ...Data The trace buffer can be searched to locate target data Searching Trace Data Specify the address data and access information for searching The address and data can be masked This search function can be run by clicking the Search button in the trace window ...

Page 100: ...function of saving trace data Saving Trace Data Save the trace data to the specified file For details on operations refer to Sections 3 14 Trace Window and 4 4 8 Trace in SOFTUNE Workbench Operation Manual and Section 4 9 Show Trace in SOFTUNE Workbench Command Reference Manual ...

Page 101: ...2 Dependence Functions 2 2 6 8 Clearing Trace Data To clear trace data use the following command Clearing Trace Data When clearing trace data the Clear command is executed from short cut menu in the trace window ...

Page 102: ...me mode partial omission of trace data may occur under the following conditions Output trace omission information instead because of the real time operation When branching occurs more than three times within 11 cycles When data tracing occurs more than three times in succession The address is not displayed until the first branching information is found because the trace data immediately before sta...

Page 103: ...tted trace data frame is displayed as follows Frame where address at code fetching could not be sampled At step execution by a single instruction trace data may not be sampled correctly for each single instruction execution If this happens Address Lost Error is displayed Address Lost Error ...

Page 104: ... CANCEL MAP INACCESSIBLE Deletes a specified inaccessible region ENABLE MAP INACCESSIBLE Enables a specified inaccessible region DISABLE MAP INACCESSIBLE Disables a specified inaccessible region Memory operation command Assemble disassemble command Load save command Built in Variables and Functions BIT B H W L S D Formula Trace Vector Memory window Source window Assemble window Watch window Local ...

Page 105: ...r information Command SHOW SYSTEM For details refer to Section 1 12 SHOW SYSTEM in SOFTUNE Workbench Command Reference Manual Dialog Version information dialog Select Help Version Information menu For details refer to Section 4 9 3 Version Information in SOFTUNE Workbench Operation Manual Displayed Contents FR Family SOFTUNE Workbench VxxLxx ALL RIGHTS RESERVED COPYRIGHT C FUJITSU SEMICONDUCTOR LI...

Page 106: ...onverter version File Path f2ms exe path SOFTUNE FJ OMF to INTEL HEX Converter version File Path f2is exe path SOFTUNE FJ OMF to INTEL EXT HEX Converter version File Path f2es exe path SOFTUNE FJ OMF to HEX Converter version File Path f2hs exe path SiOsM Product name Softune Workbench File Path SiOsM911 dll path Version SiOsM911 dll version FR Series Debugger DLL Product name SOFTUNE Workbench Fil...

Page 107: ... Communication device Device type Baud rate Baud rate Host name LAN host name REALOS version REALOS version SiIODef Product name Softune Workbench File Path SiIODef dll path Version SiIODef dll version Current path Path of the currently used project Language Currently used language Help file path Help file path ...

Page 108: ...support units DSU3 DSU4 Before using the emulator debugger initialize the emulator For details refer to Appendix B Monitoring Program Download and Appendix C LAN Interface Setup in SOFTUNE Workbench Operation Manual Debug Functions with FR80S When FR80S is used in an environment with the external trace function the following debug functions which are equal to those of FR60Lite are available For de...

Page 109: ... follows The debug functions shown in Table 2 3 1 are valid only when set in the internal RAM space However the code break and the data break are excluded The trace buffer stores only the trace data on which a write access is performed to the internal RAM when the MCU operation mode is set to external trace mode ...

Page 110: ...ems must be set according to the operating environment Each setting item has a default value at startup Therefore if the default value is used as it is there is no need to change this setting Adjusted settings can be used as the new default settings from the next time Monitoring program automatic loading MCU operation mode Cache flush control Operating Frequency External memory emulation Debug mod...

Page 111: ...198 is specified data in the emulator can be checked at the beginning of debugging to automatically load the appropriate monitoring program and configuration binary data into the emulator The monitoring program to be compared for update and configuration binary data are in Lid 911 under the directory that installed Workbench To specify whether or not to load the monitoring program automatically ch...

Page 112: ...ue to the wait entered to MCU as acquiring the trace data is preceded This mode cannot be specified with DSU3 chips Real time Mode In the real time mode a program runs in real time However if branching occurs more than three times within 11 cycles some trace data may be omitted This mode cannot be specified with DSU3 chips Chips may cause an error at cycle count measurement When measuring the cycl...

Page 113: ...mmands is not reflected in the cache Therefore cache flushing must be performed when such commands are executed The debugger has a function to flush the cache automatically monitor memory rewriting and set software break points etc This function is controlled using the Emulation tab in debug environment setting dialog Note When the automatic cache flushing option is enabled it may negatively affec...

Page 114: ...f DSU DSU3 ranges from 1 to 200 MHz and DSU4 from 1 to 266 MHz This setting provides the optimum communication speed between the MCU and emulator This function can be controlled by the Frequency tab in debug environment setting dialog Notes This setting is used to set maximum operating frequencies Actual operating frequencies will not be changed Actual operating frequencies exceeding these setting...

Page 115: ...l memory emulation For the FR Family the chip select terminal must be specified to access memory outside the chip Therefore when using the external memory emulation function specify the chip select number This function can be controlled using the External Memory Emulation tab in debug environment setting dialog Select either ROM or RAM as the emulated memory For the detailed specifications and set...

Page 116: ... time memory window without breaking the MCU at all during program execution RAM Checker mode This mode enables the RAM Checker function This mode allows you to record the access history of the monitoring address in the log file Notes In an environment where debug mode cannot be selected RealTimeMemory mode is used The real time monitor function can be used only in an environment where the externa...

Page 117: ...menu Debug Run Step Over menu Restrictions when Suspended by Software Break When there is a software break at the current PC location if either the Debug Run Go menu or the Go command is executed the emulator debugger performs one execution step internally and then executes the program in batch processing In addition when a software break is set for the instruction to clear the T flag and when eit...

Page 118: ...Commands MCU reset 1 3 RESET Memory operation Read Write 1 Emulation memory only operable Read only enabled in real time monitoring area 2 When Real time monitor mode it is not possible to read write it excluding a real time area 3 Not possible when the DSU3 evaluation chip is used 5 1 EXAMINE 5 2 ENTER 5 3 SET MEMORY 5 4 SHOW MEMORY 5 5 SEARCH MEMORY 5 8 COMPARE 5 9 FILL 5 10 MOVE 5 11 DUMP Line ...

Page 119: ...lowing cases when a user program is executed Debug Run Go menu Go button on the debug toolbar The commands in Table 2 3 2 cannot be used when the GO command is entered in the command window An error message appears if you enter a command that cannot be used during the execution of a user program E4404S Command error MCU is busy ...

Page 120: ...r full break Alignment error break External trigger break Forced break Data watch break Available break functions depend on the DSU adapter board and chip FR60Lite does not support these functions because they are enhanced by Code Break Hardware count Sequencer 31evels restart and Trace Trigger Table 2 3 3 Available Break Functions DSU Adapter FR60Lite FR80S Code break software Code break hardware...

Page 121: ...k occurs the following message appears at the status bar Hardware hardware count Break at address by hardware breakpoint Software Break at address by breakpoint How to set Set the code break as follows Command SET BREAK HARD hardware SET BREAK SOFT software SET BREAK COUNT hardware count For details refer to 3 1 SET BREAK type 1 in SOFTUNE Workbench Command Reference Manual Dialog Code tab in brea...

Page 122: ...rogram execution is stopped by a factor other than the instruction break To execute the instruction reexecute the program Software The software break requires the following cautions A breakpoint cannot be set in any area such as ROM where data cannot be written properly In this case a verify error occurs when program execution is started continuous execution or stepwise execution is started Be sur...

Page 123: ...ak at access address How to set Set the data break follows Command SET DATABREAK For details refer to 3 9 SET DATABREAK type 2 in SOFTUNE Workbench Command Reference Manual Dialog Data tab in breakpoint setting dialog For details refer to 4 6 4 Breakpoint in SOFTUNE Workbench Operation Manual If the user sets a data monitoring condition the data break can be used as a data watch break For the data...

Page 124: ...ccurs When the code event break occurs the following message appears at the status bar 1 OR mode Break at address by code event break No Code event number 2 Sequential mode Break at address by code event break sequential How to set Set the code event break as follows Command SET CODEEVENT SET SEQUENCE ON only in sequential mode For details refer to 3 19 SET CODEEVENT in SOFTUNE Workbench Command R...

Page 125: ...break factor Trigger mode The code event is used as a trace measurement start factor To use the code event as a break factor set the full mode Set as follows Command SET TRACE FULL For details refer to 4 12 SET TRACE type 2 in SOFTUNE Workbench Command Reference Manual Dialog Trace setting dialog For details refer to 4 4 8 Trace in SOFTUNE Workbench Operation Manual This function cannot be used wh...

Page 126: ... and 2 in this order a break occurs When the data event break occurs the following message appears at the status bar OR mode Break at address by data event break No Data event number Sequential mode Break at address by data event break sequential How to set Set the data event break as follows Command SET DATAEVENT SET SEQUENCE ON only in sequential mode For details refer to 3 24 SET DATAEVENT in S...

Page 127: ...break factor Trigger mode The data event is used as a trace measurement start factor To use the data event as a break factor set the full mode Set as follows Command SET TRACE FULL For details refer to 4 12 SET TRACE type 2 in SOFTUNE Workbench Command Reference Manual Dialog Trace setting dialog For details refer to 4 4 8 Trace in SOFTUNE Workbench Operation Manual This function cannot be used wh...

Page 128: ...e trace buffer becomes full When the trace buffer full break occurs the following message appears at the status bar Break at address by trace buffer full How to set Set the trace buffer full break as follows Command SET TRACE BREAK For details refer to 4 12 SET TRACE type 2 in SOFTUNE Workbench Command Reference Manual Dialog Trace setting dialog For details refer to 4 4 8 Trace in SOFTUNE Workben...

Page 129: ...error break can be set for both instruction access and data access When the alignment error break occurs the following message appears at the status bar Instruction access Break at address by alignment error break code Data access Break at address by alignment error break data How to set Set the alignment error break as follows Command ENABLE ALIGNMENTBREAK DISABLE ALIGNMENTBREAK For details refer...

Page 130: ... input from the TRIG of the Emulator When the external trigger break occurs the following message appears at the status bar Break at address by external trigger break How to set Set the external trigger break as follows Command SET TRIGGER For details refer to 3 35 SET TRIGGER in SOFTUNE Workbench Command Reference Manual Dialog Emulation tab in debug environment setting dialog For details refer t...

Page 131: ...eration Manual Command ABORT For details refer to 2 2 ABORT in SOFTUNE Workbench Command Reference Manual Note The forced break cannot be generated when the MCU is the low power consumption mode or in the hold state If the MCU is in low power consumption mode or in the hold state when the strong break is requested by the Debug Abort menu during the program execution the Debug Abort menu is ignored...

Page 132: ... breaks to be set is calculated as follows The number of breaks set and the break conditions differ between hardware and software Data watch break hardware The break conditions are set by the address and data Up to four breakpoints can be set The number of break to be set fluctuates because they are used with Sequencer and or Trace Trigger Data watch break software The break conditions can be spec...

Page 133: ...TION Dialog Data Watch Conditions in breakpoint detail setting dialog Notes Data watch break hardware This function can be used only when the FR60Lite is used For details refer to 2 3 4 Break This function cannot be used when the performance mode is set as the event mode For details refer to 1 6 SET MODE in SOFTUNE Workbench Command Reference Manual Data watch break software When setting data watc...

Page 134: ...toring bus interface Level changes occur sequentially from Level 1 through Level 2 to Level 3 One event can be specified as a sequencer restart condition This function can be used only when the FR60Lite or FR80S is used Table 2 3 4 Sequencer Specifications common Function Specifications Number of levels 2 levels One level conditions Event 1 conditions A pass count setting of 1 to 255 can be specif...

Page 135: ... set by the dialog or the command Setting by dialog Select Debug Sequence menu For details refer to 4 6 6 Sequence in SOFTUNE Workbench Operation Manual Setting by Command 1 The event is set according to the SET EVENT command 2 The event set by the SET SEQUENCE command is set as a sequence For details refer to 3 15 SET EVENT or 3 31 SET SEQUENCE type2 in SOFTUNE Workbench Command Reference Manual ...

Page 136: ...lowed for write access 2 There are cases when the actual code execution order and the data hit information order are switched depending on the output timing of the external trace data For that reason if a code event and data event are closed there are cases in which normal transition is impossible 3 This function cannot be used when the performance mode is set as the event mode For details refer t...

Page 137: ...displayed by selecting Debug Time Measurement menu 2 Display by command Enter the SHOW TIMER command in the command window Clearing Measurement Results Either of the following methods can be used to clear the measurement results 1 Operation by dialog Click the Clear button in the time measurement dialog which can be displayed by selecting Debug Time Measurement menu 2 Clearing by command Enter the...

Page 138: ...n Data type Instruction execution read write Access data size during data access only Word halfword byte Access status Size Read write code Execution time difference from next frame in 25 ns increments This data is available only when an evaluation chip with the external trace bus interface is used with the external trace mode However actually the trace buffer stores the following data items Code ...

Page 139: ...ta This number is called a frame number The frame number is used to specify the display start position of the trace buffer The value 0 is assigned to trace data at the triggering position for sequencer termination Negative values are assigned to trace data sampled before the arrival at the triggering position Figure 2 3 1 If there is no triggering position for sequencer termination the value 0 is ...

Page 140: ...ting 4 current event count setting current data watch break count setting Table 2 3 7 shows the trace trigger setup conditions that can be defined For trace trigger setup use the following commands SET TRACETRIGGER Trace trigger setup CANCEL TRACETRIGGER Trace trigger deletion SHOW TRACE STATUS Trace setup display Figure 2 3 2 shows the operation of the trace sampling Figure 2 3 2 Trace Sampling C...

Page 141: ...d source are displayed in the trace from the jumps destination address of the branch instruction executed after the trace starting trigger has occurred Also the branch instruction address executed just prior to the trace ending trigger is displayed in the trace There are cases when the actual code execution order and the data hit information order are switched depending on the output timing of the...

Page 142: ... Instruction Display Bus Cycles Specify RAW data Display by Unit of Source Lines Specify Source Display Only Instruction Operation In this mode the instruction operation is displayed in disassembly units Display Bus Cycles In this mode detailed information on all sampled instruction fetch cycles and data access cycles is displayed Display by Unit of Source Lines This mode only displays source line...

Page 143: ...function of saving trace data Saving Trace Data Save the trace data to the specified file For details on operations refer to Sections 3 14 Trace Window and 4 4 8 Trace in SOFTUNE Workbench Operation Manual and Section 4 9 Show Trace in SOFTUNE Workbench Command Reference Manual ...

Page 144: ...ime mode partial omission of trace data may occur under the following conditions Output trace omission information instead because of the real time operation When branching occurs more than three times within 11 cycles When data tracing occurs more than three times in succession The address is not displayed until the first branching information is found because the trace data immediately before st...

Page 145: ...itted trace data frame is displayed as follows Frame where address at code fetching could not be sampled At step execution by a single instruction trace data may not be sampled correctly for each single instruction execution If this happens Address Lost Error is displayed Address Lost Error ...

Page 146: ...asurement mode the intervals starting event number and ending event number are combined as follows Two intervals have the following fixed event number combination Measuring Count The specified events become performance measurement points automatically and occurrences of that particular event are counted Notes 1 This function can be used only when FR60Lite or FR80S is used When FR80S is used howeve...

Page 147: ...erformance mode Example SET MODE PERFORMANCE Setting Minimum Measurement Unit for Timer Measuring unit of timer to be used for performance measurement is 1ns Also resolution of measurement data is 25ns Setting Performance Buffer Full Break When the buffer for storing performance measurement data becomes full a execution program can be broken This function is called the performance buffer full brea...

Page 148: ...d event number combination Measuring Count The specified events become performance measurement points automatically Executing Program Start measuring when executing a program by using the GO or CALL command If a break occurs during interval time measurement the data for this specific interval is discarded Displaying Performance Measurement Data Display performance measurement data by using the SHO...

Page 149: ...0 11999 0 12999 0 13999 0 14999 0 15999 0 16999 0 17999 0 18999 0 SHOW PERFORMANCE TIME 1 13000 16999 500 event 1 2 min time 11637 0 max time 17745 0 avr time 14538 0 Total measuring count Lower time limit for display Upper time limit for display Minimum execution time Maximum execution time Average execution time Event number Count of measuring within given time interval total count 21 13 39 121 ...

Page 150: ...data in red How to set The following method is used to set real time memory areas Command SET REALTIMEMEMORYAREA For details refer to 1 47 SET REALTIMEMEMORYAREA in SOFTUNE Workbench Command Reference Manual Dialog Realtime memory area tab in debug environment setup dialog For details refer to 4 7 2 3 Debug Environment in SOFTUNE Workbench Operation Manual Note The real time monitoring function ha...

Page 151: ...ebugging set hardware breaks etc 4 To start power on debugging choose Debug Run Power On Debug menu Input the lower volt in the power supply voltage setting dialog The status bar then displays PON 5 Run the program 6 Power the target board off while running and then power on again 7 Execute debugging 8 To quit power on debugging choose Debug Run Power On Debug menu Notes The following condition is...

Page 152: ...n inaccessible region CANCEL MAP INACCESSIBLE Deletes a specified inaccessible region ENABLE MAP INACCESSIBLE Enables a specified inaccessible region DISABLE MAP INACCESSIBLE Disables a specified inaccessible region Memory operation command Assemble disassemble command Load save command Built in Variables and Functions BIT B H W L S D Formula Trace Vector Memory window Source window Assemble windo...

Page 153: ...window Newly added debug window RAM Checker in the SOFTUNE Workbench allows logging monitoring of the monitoring address For details on how to operate the RAM Checker window refer to Section 3 18 RAM Checker Window in SOFTUNE Workbench Operation Manual Operation requirements The RAM Checker operates under the following conditions CPU FR60Lite or FR80S Emulator MB2198 Adaptor board Has the external...

Page 154: ...command to set the monitoring point Use the SET RAMCHECK command to set the log file Use the ENABLE RAMCHECK command to enable the logging status of the RAM Checker When the program is stopped after executing the program with these items set a log file is generated When the program is executed again the log file is overwritten Note When file overwrite control is enabled by file setting on GUI the ...

Page 155: ...system to which the log file is stored FAT Up to 2GB FAT32 Up to 4GB NTFS No restriction Others No restriction When the file system is FAT or FAT32 and if the file size exceeds its limitation the file name is changed and logging continues Note When the log file exists already at this point the log file is overwritten Operation example If the file size exceeds its limitation the log file is made as...

Page 156: ...following two types of factors Hardware The emulator usually gets the RAM data access history at 1ms intervals If data access occurs to the same address twice or more within 1ms the emulator gets only the data accessed last Data lost due to hardware indicates that data access is performed multiple times Software The SOFTUNE Workbench usually gets data from the emulator at 100ms intervals However i...

Page 157: ...er information Command SHOW SYSTEM For details refer to Section 1 12 SHOW SYSTEM in SOFTUNE Workbench Command Reference Manual Dialog Version information dialog Select Help Version Information menu For details refer to Section 4 9 3 Version Information in SOFTUNE Workbench Operation Manual Displayed Contents FR Family SOFTUNE Workbench VxxLxx ALL RIGHTS RESERVED COPYRIGHT C FUJITSU SEMICONDUCTOR L...

Page 158: ...onverter version File Path f2ms exe path SOFTUNE FJ OMF to INTEL HEX Converter version File Path f2is exe path SOFTUNE FJ OMF to INTEL EXT HEX Converter version File Path f2es exe path SOFTUNE FJ OMF to HEX Converter version File Path f2hs exe path SiOsM Product name Softune Workbench File Path SiOsM911 dll path Version SiOsM911 dll version FR Series Debugger DLL Product name SOFTUNE Workbench Fil...

Page 159: ...d version Configuration board version MCU frequency Operating frequency Communication device Device type Baud rate Baud rate at RS connection Host name LAN host name at LAN connection REALOS version REALOS version SiIODef Product name Softune Workbench File Path SiIODef dll path Version SiIODef dll version Current path Path of the currently used project Language Currently used language Help file p...

Page 160: ...reading writing search comparison filling transfer Setting cancellation of events Setting cancellation of trace mode FLASH support Similar to the RAM area data can be downloaded to FLASH memory as well as read written from the memory window Multifunctional events Events can be used in the following six functions Code break hardware Data break Data watch break Sequencer Trace trigger Performance tr...

Page 161: ...n Manual Verification Items When Starting Debugging When starting debugging perform checking for initial settings When an item of initial setting is not correct debugging cannot be started DEBUG I F Verify whether the DEBUG I F is enabled or effective For details refer to 2 4 1 1 Power on Reset Operating environments of the target Verify whether the operating environment of the target has a proble...

Page 162: ...layed while debugging starts DEBUG I F is disabled Issue the power on reset For details of issuing the power on reset refer to the Hardware Manual for the product type you are using Figure 2 4 1 Message Prompting Power on Reset Notes When the reference frequency of communication speed set when the debugger starts is incorrect the following problems occur The DEBUG I F in the enable state cannot be...

Page 163: ...tion speed of the debugger Reference frequency of communication speed Set main clock MCLK The communication speed between emulator MB2100 01 and the user system varies depending on the main clock Length of DEBUG I F cable Specified the length of the cable that suits the length of DEBUG I F cable The allowance maximum transfer rate from emulator MB2100 01 to the direction of MCU changes according t...

Page 164: ...es When the actual value is different from the input value for the communication speed of the reference frequency the debugger cannot be started For details on the DEBUG I F interface refer to EMBEDDED EMULATOR MB2100 01 E OPERATION MANUAL ...

Page 165: ...password The password is needs to be entered each time the debugger is activated For details of password refer to the description of Password in chapter OCD On Chip Debugger of the hardware manual of the product you are using Figure 2 4 3 Debugger Connection Password Notes When authentification of the password has failed the debugger cannot be activated Turn on again the power supply of the target...

Page 166: ...nded abnormally software break code may remain without data being reverted When starting the debugger it checks whether this software break exists If it does the following message appears The software break set in A on B might remain A A project name displayed when the debugger aborted B The date when the debugger aborted When the message is displayed download again the program to the flash memory...

Page 167: ...lowing items in accordance with the operating environment and applications Standard high speed communication For details refer to 2 4 3 1 Increasing Communication Speed during Debugging Debug function For details refer to 2 4 3 2 Switching Debug Function Therefore if the default value is used as it is there is no need to change this setting In addition a set value once specified is set as a defaul...

Page 168: ...ter The standard high speed communication is different in optimal value depending on the MCU For details refer to the Hardware Manual for the product type you are using How to set Perform the following method to control the standard high speed communication Dialog Frequency tab in debug environment dialog For details refer to 4 7 2 3 Debug Environment in SOFTUNE Workbench Operation Manual Command ...

Page 169: ...execution start to break Performance mode Measures the transit time between two points of set event Pass count mode This mode selects the using method for the pass count function Sequential mode This mode uses the sequencer function The pass count break cannot be used Pass count break mode default This mode uses the hardware count break The sequencer function cannot be used Switching methods Metho...

Page 170: ...o 2 4 1 Starting debugging 3 Load an execution desired target program When loading a project target file select the Debug Load target file menu 4 Execute program Select the Debug Run GO menu For other executions such as step execution refer to 4 6 1 Run in SOFTUNE Workbench Operation Manual Control during program execution The emulator debugger MB2100 01 is capable of controlling the following dur...

Page 171: ...ailable during Execution of User Program 1 2 Function Major Command name 1 Reset MCU 1 3 RESET Memory operation read write 5 1 EXAMINE 5 2 ENTER 5 3 SET MEMORY 5 4 SHOW MEMORY 5 5 SEARCH MEMORY 5 8 COMPARE 5 9 FILL 5 10 MOVE 5 11 DUMP Line assemble disassemble 6 1 ASSEMBLE 6 2 DISASSEMBLE Set delete breakpoint 3 1 SET BREAK type1 3 3 SET BREAK type3 3 6 CANCEL BREAK 3 7 ENABLE BREAK 3 8 DISABLE BR...

Page 172: ...used during the execution of auser program E4404S Command error MCU is busy Trace operation 4 15 SET TRACE type2 4 18 CLEAR TRACE 4 20 ENABLE TRACE type2 4 22 DISABLE TRACE type2 4 23 SEARCH TRACE 4 24 SET DATATRACEAREA 4 26 CANCEL DATATRACEAREA 4 33 SET DELAY Table 2 4 1 Commands Available during Execution of User Program 2 2 Function Major Command name 1 ...

Page 173: ...indow Select the Setup Debug environment Debug environment menu to display the Monitoring tab 3 Execute the program According to the above a portion with variation during the program execution is displayed in red When performing monitoring of the memory value for the address or variable specified in the watch window 1 Display the watch window Select the View Watch menu Register the watch variable ...

Page 174: ...ts to power on debug mode 3 Execute the user program It is recommended that you run an user program which does nothing such as infinite loops When the program execution is started a dialog is displayed to confirm whether or not to abort the program execution 4 Do either the following Chip reset is issued from the outside The power supply of the target is turned on again After the power supply retu...

Page 175: ...formance measurement Execution cycle measurement Issuing a chip reset during the execution of the user program the following functions cleared Execution cycle measurement Performance measurement Data match status of Data watch break Turning on the power supply of the target again the following functions cleared Performance measurement Trace data Data match status of Data watch break Hit count of S...

Page 176: ...e contents of the flash memory Flash memory synchronization Debbuger Flash Updates the stored data on the flash memory Methods of flash memory synchronization Flash memory synchronization can be performed in either a manual or automatic method Flash memory synchronization Flash Debugger Manual flash memory synchronization Select the Environment Flash area control menu For details refer to 4 7 4 Fl...

Page 177: ...owings while updating the target flash memory area synchronization is automatically executed When a user program has been executed When a reset has been issued When debugging has been ended When the use of software break is set to prohibition When the target file is automatically loaded at start of debugging Note If the communication speed of the debugger is normal it takes some time to synchroniz...

Page 178: ...gger has been performed is shown below Figure 2 4 4 Variations in the values of the internal debugger and flash memory in the case of the flash memory synchronization Flash Debugger FF FF FF FF 12 34 56 78 Occurrence of flash memory synchronization Flash Debugger Debugger Flash memory Execution of a user program that writes to the flash memory Synchronization Flash Debugger ...

Page 179: ...internal debugger and flash memory in the case of the flash memory synchronization Debugger Flash Note The FLASH loader cannot be used by the emulator debugger MB2100 01 Therefore the FLASH memory menu cannot be used FF FF FF FF 12 34 56 78 FF FF FF FF FF FF FF FF 12 34 56 78 Occurrence of flash memory synchronization Debugger Flash Debugger Flash memory Memory writing loading etc by the user Exec...

Page 180: ...upt the execution of the user program is called a break function The emulator debugger MB2100 01 provides the following eight types of break functions Code break hardware Code break software Data break Trace trigger break Forced break Data watch break Sequencer Guarded access break When by each break function aborts program execution the address where a break occurred and the break factor are disp...

Page 181: ...ware 8 points Hardware count 2 points When the code break hardware occurs the following message appears in the status bar Hardware Break at address by code event break Hardware count Break at address by sequential or pass count break How to set Control the code break in the following methods Dialog Code tab in the breakpoint setting dialog For details refer to 4 6 4 Breakpoints in SOFTUNE Workbenc...

Page 182: ...uction A break may not occur if an address other than the starting address is specified A code break shares points with the following functions The maximum number of code breaks varies depending on how those functions are used Data break Data watch break Trace trigger Sequencer When hardware or hardware count break is set at the top of the reset handler the break does not occur When the pass count...

Page 183: ...se set the use of the software break to permission when you use the code break software by the following method It is not possible to set it to not only the flash memory area but also RAM area when prohibiting it Dialog Setup wizard For details refer to 4 7 2 5 Setup Wizard in SOFTUNE Workbench Operation Manual Debug environment setting dialog Break tab For details refer to 4 7 2 3 Debug Environme...

Page 184: ...o the Hardware Manual for the product type you are using When setting a code break software in a flash memory area the contents of the flash memory at the specified address is temporarily rewritten For details refer to 2 4 5 To Access the Flash Memory When the debugger has aborted in the state where the code break software is set the contents of the flash memory can be abnormal For details refer t...

Page 185: ...o set Control the data break in the following methods Dialog Data tab in the breakpoint setting dialog For details refer to 4 6 4 Breakpoints in SOFTUNE Workbench Operation Manual Command SET DATABREAK For details refer to 3 9 SET DATABREAK type 2 in SOFTUNE Workbench Command Reference Manual Notes A data break shares points with the following functions The maximum number of data breaks varies dep...

Page 186: ...ppears in the status bar Break at address by trace end break How to set Control the trace trigger break in the following methods Dialog Trace setting dialog For details refer to 4 4 8 Trace in SOFTUNE Workbench Operation Manual Command SET TRACE BREAK For details refer to 4 12 SET TRACE type 2 in SOFTUNE Workbench Command Reference Manual Note A trace trigger break shares points with the following...

Page 187: ... low Phenomenon When the communication speeds of the debugger is low it can take time to receive a program stop request Solution Await for some time until receipt of the stop request is completed The interrupt level is low Phenomenon When the interrupt level of the program stop request is low the interrupt is masked by the CPU interrupt level ILM Solution 1 Alter the interrupt level of the stop re...

Page 188: ...when a data watch break occurs Break at address by breakpoint data watch The break conditions for the data watch break are shown in the Figure 2 4 6 Figure 2 4 6 The break conditions for the data watch break How to set Data watch break can be controlled as follows Data watch break Dialog Code tab in the breakpoint setting dialog Hardware data watch For details refer to 4 6 4 Break Point of SOFTUNE...

Page 189: ...es depending on how those functions are used Code break Data break Trace trigger Sequencer The data watch break may stop if it hits a specified address after a few steps of instructions following the instruction with data detection access are executed The program may not stop if it hits the specified address during the execution of an instruction ...

Page 190: ...his sequencer is called a two level sequencer Also all previous information of the flow can be reset and events for restarting monitoring the flow through level 1 can be set again Operation of Sequencer When the event for each level is set as shown below the sequencer operates as shown in Figure 2 4 7 Figure 2 4 7 Example of Sequencer Operation Example Level 1 Event 1 Level 2 Event 2 Restart Event...

Page 191: ...the order of data hit information For this reason if a code event and a data event occur close to each other normal transition may not occur A sequencer shares points with the following functions The maximum number of sequencer varies depending on how those functions are used Code break Data break Data watch break Trace trigger If a data event is set to the sequencer the data event may stop after ...

Page 192: ...with the following message on the status bar Break at address by guarded access How to set Set the guarded access break as follows Dialog Break tab in debug environment setting dialog For details refer to 4 7 2 3 Debug Environment in SOFTUNE Workbench Operation Manual Command ENABLE BREAK GUARDEDACCESS DISABLE BREAK GUARDEDACCESS For details refer to 3 7 ENABLE BREAK or 3 8 DISABLE BREAK in SOFTUN...

Page 193: ...vailable for both execution time measurement and performance measurement Measurement unit can be set as follows Dialog Measurement Unit Dialog For details refer to 4 4 14 2 Performance Emulator Debugger MB2100 01 or 4 6 8 1 Measurement Unit for Execution Time Measurement of SOFTUNE Workbench Operation Manual Command SET TIMERSCALE For details refer to 1 64 SET TIMERSCALE of SOFTUNE Workbench Comma...

Page 194: ...ximum number of cycles that can be measured is 18 446 744 073 709 551 615 2 to the power of 64 1 Real time measurement resolution This depends on the execution cycle conversion frequency set for measurement unit For details refer to 4 4 14 2 Performance Emulator Debugger MB2100 01 of SOFTUNE Workbench Operation Manual Displaying Measurement Results Either of the following methods can be used to di...

Page 195: ...n Manual Command SET TIMERSCALE For details refer to 1 64 SET TIMERSCALE of SOFTUNE Workbench Command Reference Manual Error Information Click the Comment button in the time measurement dialog to display error information about the measurement results Note The number of cycles measured normally includes an error of about 10 cycles However it may be even more depending on the bus state If a chip re...

Page 196: ...ugger has the following performance measurement items Real time measurement resolution This depends on the execution cycle conversion frequency set for measurement unit For details refer to 4 4 14 2 Performance Emulator Debugger MB2100 01 of SOFTUNE Workbench Operation Manual It measuring Measuring up to 65535 times Not possible to measuring 1 2 65535 Start Stop Start execution Stop execution Meas...

Page 197: ...measured For details refer to Section 4 4 14 Performance in SOFTUNE Workbench Operation Manual 3 Execute user programs 4 Display the measurement result Right click on the performance window and select Refresh from the pop up menu The performance measurement result appears Using Command for Measuring 1 Specify performance events Execute the SET EVENT command For details refer to Section 3 15 SET EV...

Page 198: ... specified as a measuring interval have occurred at the same time performance measuring is not performed An error of approximately 10 cycles is always detected each time a user program is re executed because its execution has been stopped due to a breakpoint during performance measurement The error may exceed 10 cycles depending on the bus state If the performance measurement interval event is re ...

Page 199: ...ut stopping the execution of a user program while trace data acquisition is stopped due to the hitting of the trace trigger Forced stop Forcibly ends acquiring trace data without stopping the execution of a user program during acquisition of trace data Acquiring Trace Data The trace data acquisition is started and ended at the following times The acquisition is started when a user program has been...

Page 200: ...ecution Start execution Stop execution Program flow Trace Buffer Start execution Trace trigger break Start execution Stop execution Program flow Trace Buffer Max 1 024 frames Max 1 024 frames Max 1 024 frames Start execution Trace trigger Forced start Forced stop Program flow Trace Buffer When a break occurred during execution of a program When the trace trigger hits and a break occurs When the tr...

Page 201: ...inarily the last sampled trace data is assigned to frame number 0 However if the sequencer is specified frame numbers are assigned as follows Trace data at the point where the termination trigger occurs Frame number 0 Trace data sampled before reaching the trigger point Negative frame number How to Display Trace Data Trace data is displayed in the trace window or command window The following two d...

Page 202: ... Workbench Operation Manual Using command window 1 Display trace data for each display mode RAW data SHOW TRACE Instruction SHOW DETAILTRACE Source SHOW DETAILTRACE For details refer to Section 4 16 SHOW TRACE type 1 or 4 27 SHOW DETAILTRACE in SOFTUNE Workbench Command Reference Manual Note When the disassembly is performed data is processed and displayed by reading from memory If an instruction ...

Page 203: ...gure 2 4 11 RAW Data Display If a chip reset has occurred Chip Reset appears next to frame no as shown in Figure 2 4 12 This is a frame that is processed and output not a frame that is found when a chip reset is detected Figure 2 4 12 RAW Data Display When a Chip Reset Has Occurred If a low level reset has occurred LReset appears in b cause as shown in Figure 2 4 13 The address where a low level r...

Page 204: ...w level reset occurrence information Branch Execution of branch instruction Trap Exception trap INT Interrupt RETI Execution of RETI instruction CALL Execution of CALL CALL D instruction RET Execution of RET RET D instruction Break Break Go Start of execution of user program LReset Issuance of low level reset a addr Displays a data accessed address in hexadecimal notation a stat Displays access st...

Page 205: ...t associates the read ID of a data with r data If read ID matches r id the r data of that frame is set as read access data r data Displays the data value for CPU read access in hexadecimal notation Note When CPU access and DMA access have occurred simultaneously only the data accessed by the CPU is traced a stat a type a data read dma Read access data write Write access data read cpu lost Read ID ...

Page 206: ...on displayed in the RAW data display mode mnemonic Displays disassembly of the instructions that are executed between branch addresses In complementary lines information ranging from b cause to reset is not displayed Like RET shown in Figure 2 4 14 if the mnemonic instruction is enclosed in brackets it means that the instruction may not be executed Exception The instruction is not executed INT ins...

Page 207: ...section describes trace data that is displayed in the source line mode Source Display This mode displays only source lines Figure 2 4 15 shows a source display example Figure 2 4 15 Source Display frame no Displays the frame number in decimal form source Displays executed source lines ...

Page 208: ... Select View Trace menu 2 Specify the name of the file in which to save trace data Right click on the trace window and select Save from the pop up menu The Save as dialog appears Specify the file name and where to save trace data For details refer to Section 4 4 8 Trace in SOFTUNE Workbench Operation Manual Using Command for Saving Trace Data 1 Save trace data Execute the SHOW TRACE FILE command F...

Page 209: ... the address or frame number to search for trace data Right click on the trace window and select Find from the pop up menu The trace data search dialog appears Specify the address or frame number to be displayed For details refer to Section 4 4 8 Trace in SOFTUNE Workbench Operation Manual Using Command for Searching for Trace Data 1 Search for trace data Execute the SEARCH TRACE command For detai...

Page 210: ...e for saving the trace buffer How to set Use one of the following methods to control the trace filter Using GUI 1 Display the trace window Select View Trace menu 2 The trace setting dialog appears Right click on the trace window and select Setup from the pop up menu The trace setting dialog appears Select the Trace Area tab For details refer to Section 4 4 8 Trace in SOFTUNE Workbench Operation Ma...

Page 211: ...mes This function is called delay How to set Use one of the following methods to control the trace trigger Using GUI 1 Display the trace window Select View Trace menu 2 The trace setting dialog appears Right click on the trace window and select Setup from the pop up menu The trace setting dialog appears Select the Trace Trigger tab For details refer to Section 4 4 8 Trace in SOFTUNE Workbench Oper...

Page 212: ...H W L S D Formula Trace Vector Memory window Source window Disassemble window Watch window Local window Symbol window How to set The access prohibited area can be set by the following command Dialog Access prohibited area tab in the debug environment setting dialog For details refer to 4 7 2 3 Debug Environment Setting in SOFTUNE Workbench Operation Manual for details Command SET MAP INACCESSIBLE ...

Page 213: ...ut via the DEBUG I F from the MBR as indicated by the arrow shown in Figure 2 4 16 For details of OCD on chip debugger and MBR refer to the Hardware Manual for the product type you are using Figure 2 4 16 Data flow of semihosting feature What is Terminal Window Terminal window is the window displaying data when receiving an output request from user program to MBR For details of terminal window ref...

Page 214: ...X H Sample Project for Semihosting Function of SOFTUNE Workbench Operation Manual 2 Displaying the content of output request to MBR on the terminal window The terminal window can be displayed as follows There are two methods to display the terminal window using GUI window and using command These methods give the same results Using window Select Display Terminal menu to display the terminal window ...

Page 215: ...ion dialog Select Help Version Information menu For details refer refer to Section 4 9 3 Version Information in SOFTUNE Workbench Operation Manual Command SHOW SYSTEM For details refer to Section 1 12 SHOW SYSTEM in SOFTUNE Workbench Command Reference Manual for details Displayed Contents FR Family SOFTUNE Workbench VxxLxx ALL RIGHTS RESERVED COPYRIGHT C FUJITSU SEMICONDUCTOR LIMITED 1997 LICENCED...

Page 216: ...FJ OMF to INTEL EXT HEX Converter version File Path f2es exe path SOFTUNE FJ OMF to HEX Converter version File Path f2hs exe path SiOsM Product name Softune Workbench File Path SiOsM911 dll path Version SiOsM911 dll version FR Series Debugger DLL Product name SOFTUNE Workbench File Path SiD911 dll path Version SiD911 dll version Debugger type Current debugger type MCU type Currently selected targe...

Page 217: ...mation Device version ID ID that indicates device version OSC clock Reference frequency of communication speed PLL clock Standard high speed communication Clock mode Clock mode Main Sub PLL Communication mode Communication mode Communication device Device type REALOS version REALOS version SiIODef Product name Softune Workbench File Path SiIODef dll path Version SiIODef dll version Current path Pa...

Page 218: ...tions of the monitor debugger Monitor Debugger The monitor debugger performs debugging by putting the target monitor program for debugging into the target system and by communicating with the host Before using this debugger the target monitor program must be ported to the target hardware ...

Page 219: ...ram into the target hardware Table 2 5 1 Resources Used by Monitor Debugger 1 UART Required For communication with host computer 4800 9600 19200 38400 bps 2 Monitor ROM Required About 6 KB required For further details refer to Link Map 3 Work RAM Required About 2 KB required For further details refer to Link Map 4 NMI Switch Optional Used for suspending program forcibly If there is no built in NMI...

Page 220: ... provides two types of break functions When by each break function aborts program execution the address where a break occurred and the break factor are displayed Break Functions The Monitor provides the following two types of break function Software break Forced break ...

Page 221: ...by breakpoint How to set Set the software break as follows Command SET BREAK SOFT For details refer to 3 1 SET BREAK type 1 in SOFTUNE Workbench Command Reference Manual Dialog Code tab in breakpoint setting dialog For details refer to 4 6 4 Breakpoint in SOFTUNE Workbench Operation Manual Window Source window disassemble window Note There are two points to note when using software break point Sof...

Page 222: ...fer to 4 6 2 Abort in SOFTUNE Workbench Operation Manual Note The forced break cannot be generated when the MCU is in the low power consumption mode or in the hold state If the MCU is in the low power consumption mode or in the hold state when the strong break is requested by the Debug Abort menu during the program execution the Debug Abort menu is ignored To generate a break forcibly use the Debu...

Page 223: ...g methods can be used to display the measurement results 1 Display by dialog The results appear in the time measurement dialog which can be displayed by selecting Debug Time Measurement menu 2 Display by command Enter the SHOW TIMER command in the command window Clearing Measurement Results Either of the following methods can be used to clear the measurement results 1 Operation by dialog Click the...

Page 224: ...ccessible region CANCEL MAP INACCESSIBLE Deletes a specified inaccessible region ENABLE MAP INACCESSIBLE Enables a specified inaccessible region DISABLE MAP INACCESSIBLE Disables a specified inaccessible region Memory operation command Assemble disassemble command Load save command Built in Variables and Functions BIT B H W L S D Formula Vector Memory window Source window Assemble window Watch win...

Page 225: ...215 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...

Page 226: ...er Viewer 146 RAM Checker window 143 Using the RAM Checker 144 Code Break Code Break 44 74 111 171 Code Break Software 173 Code Event Break Code Event Break 76 114 Command Command execution during program execution 140 Commands Available during Execution of User Program 72 108 Commands Available Commands Available during Execution of User Program 161 Configuration Active Project Configuration 4 Pr...

Page 227: ...80 120 F filter Trace filter 129 Flag T Precautions on executing the instruction for clearing flag T 71 107 Flash Memory Access to Flash Memory 166 Examples of flash memory synchronization 168 Methods of flash memory synchronization 166 What is flash memory synchronization 166 Flush Control Cache Flush Control 69 103 Forced Break Forced Break 48 81 121 177 212 Format Display Format of Trace Data 5...

Page 228: ... Management Function 3 Workspace Management Function 2 MB2100 01 Features of Emulator Debugger MB2100 01 150 MCU Setting MCU Operation Mode 67 102 Measured Items Measured Items 183 Measurement Coverage Measurement Function 58 Coverage Measurement Operation 58 Coverage Measurement Procedures 58 Displaying Coverage Measurement Result 59 Performance Measurement Function 136 Setting Range for Coverage...

Page 229: ...ing a program 160 Executing Program 138 Monitoring Program Automatic Loading 101 Program stopping conditions 177 Real time Functionality in Running Program 71 107 Project Active Project 2 Active Project Configuration 4 Project 2 Project Configuration 4 Project Dependence 5 Project format 3 Project Management Function 3 Restrictions on Storage of Two or More Projects 2 Project Configuration Active ...

Page 230: ...27 Specifying Symbol and Search Procedure 29 Types of Symbols 27 Syntax Syntax 11 T Target Operating Environments of the Target 153 TBR Register Value of TBR Register 71 107 Terminal Window What is Terminal Window 203 To Access the Flash Memory 166 To Interrupt the Program Execution 170 Tool Options Function of Setting Tool Options 10 Tool Options 10 Tools External Tools 17 Trace Clearing Trace Da...

Page 231: ...rigger Break 176 U User Program Commands Available during Execution of User Program 72 108 V Variables Specifying C C Variables 30 W Workspace Workspace 2 Workspace Management Function 2 Workspace Management Workspace Management Function 2 ...

Page 232: ...222 INDEX ...

Page 233: ...n CM71 00329 7E FUJITSU SEMICONDUCTOR CONTROLLER MANUAL FR FAMILY SOFTUNETM WORKBENCH USER S MANUAL for V6 November 2011 the seventh edition Published FUJITSU SEMICONDUCTOR LIMITED Edited Sales Promotion Dept ...

Page 234: ......

Reviews: