advertisement
![7.7.2 Specify the Combinatorial Condition. Renesas M16C, M16C PC4701 | Manualzz 7.7.2 Specify the Combinatorial Condition. Renesas M16C, M16C PC4701 | Manualzz](http://s1.manualzz.com/store/data/003413031_1-286cd829d676ee0678c09bc62a82f6fd-360x466.png)
7.7.2 Specify the Combinatorial Condition
To specify a combinatorial condition, specify the desired condition from the combinatorial condition specification area.
• When AND or OR is selected
In the event specification area, the event used and a pass count for that event can be specified. To alter the pass count, while the event to alter is being selected, click the pass count value of that event.
• When AND (Same Time) is selected
In the event specification area, the event used can be specified. No pass counts can be specified.
• When State Transition is selected
Click the Details... button, and the dialog box shown below appears. Specification by a state transition diagram or sequential specification can be used. If the content of any event is altered, it is marked with an asterisk (*) on the title bar. Once conditions are set in the emulator, asterisks are not displayed. A time-out time in each state can also be specified.
106
advertisement
Related manuals
advertisement
Table of contents
- 13 1.1 Real-Time RAM Monitor Function
- 13 1.1.1 RAM Monitor Area
- 14 1.1.2 Sampling Period
- 14 1.1.3 Related Windows
- 15 1.2 Break Functions
- 15 1.2.1 Software Breaks Function
- 16 1.2.2 Hardware Break
- 17 1.2.3 Protect Break
- 18 1.3 Real-Time Trace Function
- 18 1.3.1 Trace Area
- 19 1.3.2 Trace Condition Setting
- 19 1.3.3 Trace Data Write Condition
- 20 1.4 Time Measurement Function
- 20 1.4.1 The Measurement Condition
- 21 1.5 Coverage Function
- 21 1.5.1 Coverage Measurement Area
- 21 1.5.2 Related Windows
- 22 1.6 Real-Time OS Debugging Function
- 22 1.7 GUI Input/Output Function
- 23 2.1 Communication methods
- 23 2.2 Function table
- 24 3.1 Communication method by emulator
- 24 3.1.1 USB Interface
- 24 3.1.2 LAN Interface
- 24 3.1.3 LPT Interface
- 25 3.1.4 Proprietary Parallel Interface
- 26 3.2 Download of Firmware
- 27 3.3 Setting before emulator starts
- 27 3.3.1 USB communication
- 28 3.3.2 LAN communication
- 30 3.3.3 LAN communication
- 31 3.3.4 Proprietary parallel communication
- 32 4.1 Workspaces, Projects, and Files
- 33 4.2 Starting the High-performance Embedded Workshop
- 34 4.2.1 Creating a New Workspace (Toolchain Used)
- 39 4.2.2 Creating a New Workspace (Toolchain Not Used)
- 44 4.3 Starting the Debugger
- 44 4.3.1 Connecting the Emulator
- 44 4.3.2 Ending the Emulator
- 45 5.1 Init Dialog
- 46 5.1.1 MCU Tab
- 49 5.1.2 Debugging Information Tab
- 51 5.1.3 F/W and Work Area Tab
- 52 5.1.4 Memory Extension Mode Tab
- 55 5.1.5 Clock Tab
- 56 5.1.6 Script Tab
- 57 5.2 Setting of the Communication Interface
- 57 5.2.1 Setting of the USB Interface
- 58 5.2.2 Setting of the LPT Interface
- 59 5.2.3 Setting of the LAN Interface
- 61 5.2.4 Setting of the Parallel Interface
- 61 5.2.5 Setting of the Serial Interface
- 62 5.3 Setup the Debugger for M32C
- 62 5.3.1 Emem Dialog
- 66 5.4 Setup the Debugger for M16C/R8C
- 66 5.4.1 Map Command
- 67 5.5 Setup the Debugger for
- 67 5.5.1 Map Command
- 68 5.6 Method of making MCU file
- 68 5.6.1 Method of making MCU file (the M16C/R8C Debugger)
- 69 5.6.2 Method of making MCU file (the 740 Debugger)
- 73 6.1 Introduction
- 74 6.2 Usage
- 74 6.2.1 Step1 : Starting the Debugger
- 75 6.2.2 Step2 : Checking the Operation of RAM
- 76 6.2.3 Step3 : Downloading the Tutorial Program
- 78 6.2.4 Step4 : Setting a Breakpoint
- 79 6.2.5 Step5 : Executing the Program
- 81 6.2.6 Step6 : Reviewing Breakpoints
- 82 6.2.7 Step7 : Viewing Register
- 83 6.2.8 Step8 : Viewing Memory
- 84 6.2.9 Step9 : Watching Variables
- 86 6.2.10 Step10 : Stepping Through a Program
- 89 6.2.11 Step11 : Forced Breaking of Program Executions
- 90 6.2.12 Step12 : Displaying Local Variables
- 91 6.2.13 Step13 : Stack Trace Function
- 92 6.2.14 What Next?
- 96 7.1 RAM Monitor Window
- 98 7.1.1 Extended Menus
- 99 7.1.2 Setting the RAM monitor area
- 100 7.2 ASM Watch Window
- 101 7.2.1 Extended Menus
- 102 7.3 C Watch Window
- 104 7.3.1 Extended Menus
- 105 7.4 Coverage Window
- 106 7.4.1 Extended Menus
- 107 7.4.2 Refer to the Source Line/the Executed Address
- 108 7.5 Script Window
- 109 7.5.1 Extended Menus
- 110 7.6 S/W Break Point Setting Window
- 111 7.6.1 Command Button
- 112 7.6.2 Setting and Deleting a Break Points from Editor(Source) Window
- 113 7.7 H/W Break Point Setting Window
- 118 7.7.2 Specify the Combinatorial Condition
- 119 7.7.3 Specify the Process ID
- 119 7.7.4 Command Button
- 120 7.7.5 Specify the Events (Instruction Fetch)
- 124 7.7.6 Specify the Events (Memory Access)
- 148 7.7.7 Specify the Events (Bit Access)
- 150 7.7.8 Specify the Events (Interrupt)
- 152 7.7.9 Specify the Events (External Trigger Signal)
- 154 7.7.10 Specify the Event Combination Condition
- 157 7.7.11 Specify the Process ID
- 158 7.8 Protect Window
- 158 7.8.1 Extended Menus
- 159 7.9 Trace Point Setting Window
- 160 7.9.1 Specify the Trace Event
- 163 7.9.2 Specify the Combinatorial Condition
- 164 7.9.3 Specify the Process ID
- 164 7.9.4 Specify the Trace Range
- 165 7.9.5 Specify the Trace Write Condition
- 165 7.9.6 Command Button
- 166 7.9.7 Specify the Events (Instruction Fetch)
- 166 7.9.8 Specify the Events (Memory Access)
- 166 7.9.9 Specify the Events (Bit Access)
- 166 7.9.10 Specify the Events (Interrupt)
- 166 7.9.11 Specify the Events (External Trigger Signal)
- 166 7.9.12 Specify the Event Combination Condition
- 166 7.9.13 Specify the Process ID
- 167 7.9.14 Specify the write condition
- 171 7.10 Time Measurement Window
- 172 7.10.1 Specify the Time Measurement Event
- 176 7.10.2 Time Measurement Condition
- 176 7.10.3 Command Button
- 177 7.10.4 Specify the Events (Instruction Fetch)
- 177 7.10.5 Specify the Events (Memory Access)
- 177 7.10.6 Specify the Events (Bit Access)
- 177 7.10.7 Specify the Events (Interrupt)
- 177 7.10.8 Specify the Events (External Trigger Signal)
- 178 7.10.9 Set the Measurement Condition
- 182 7.11 Trace Window
- 182 7.11.1 Configuration of Bus Mode
- 184 7.11.2 Configuration of Disassemble Mode
- 185 7.11.3 Configuration of Data Access Mode
- 186 7.11.4 Configuration of Source Mode
- 187 7.11.5 Extended Menus
- 188 7.11.6 Display of bus information on the M32C Debugger
- 190 7.11.7 Display of bus information on the M16C/R8C Debugger
- 192 7.11.8 Display of bus information on the 740 Debugger
- 193 7.12 Data Trace Window
- 194 7.12.1 Extended Menus
- 195 7.13 GUI I/O Window
- 196 7.13.1 Extended Menus
- 197 7.14 MR Window
- 199 7.14.2 Display the Task Status
- 203 7.14.3 Display the Ready Queue Status
- 204 7.14.4 Display the Timeout Queue Status
- 206 7.14.5 Display the Event Flag Status
- 208 7.14.6 Display the Semaphore Status
- 210 7.14.7 Display the Mailbox Status
- 212 7.14.8 Display the Data Queue Status
- 214 7.14.9 Display the Cycle Handler Status
- 216 7.14.10 Display the Alarm Handler Status
- 217 7.14.11 Display the Memory Pool Status
- 219 7.14.12 Display the Task Context
- 221 7.15 MR Trace Window
- 223 7.15.1 Extended Menus
- 224 7.15.2 Refer the Execution History of Task(MRxx Window)
- 230 7.16 MR Analyze Window
- 230 7.16.1 Configuration of CPU Occupancy Status Display Mode
- 231 7.16.2 Configuration of Ready State Duration Display Mode
- 231 7.16.3 Configuration of System Call History Display Mode
- 232 7.16.4 Extended Menus
- 232 7.16.5 Analyze the Execution History of Task
- 235 7.17 MR Task Pause Window
- 235 7.17.1 About Task Pause Function
- 236 7.17.2 Extended Menus
- 237 7.17.3 Pause the Specified Task
- 242 7.18 Task Trace Window
- 243 7.18.1 Extended Menus
- 244 7.18.2 Refer the Execution History of Task(Taskxx Window)
- 249 7.19 Task Analyze Window
- 249 7.19.1 Extended Menus
- 250 7.19.2 Analyze the Execution History of Task
- 251 8.1 Table of Script Commands (classified by function)
- 251 8.1.1 Execution Commands
- 251 8.1.2 File Operation Commands
- 252 8.1.3 Register Operation Commands
- 252 8.1.4 Memory Operation Commands
- 252 8.1.5 Assemble/Disassemble Commands
- 252 8.1.6 Software Break Setting Commands
- 253 8.1.7 Hardware Break Setting Commands
- 253 8.1.8 Real-time Trace Commands
- 253 8.1.9 Coverage Measurement Commands
- 253 8.1.10 Script/Log File Commands
- 253 8.1.11 Program Display Commands
- 254 8.1.12 Map Commands
- 254 8.1.13 Clock Command
- 254 8.1.14 WatchDog Timer Commands
- 254 8.1.15 C Language Debugging Commands
- 254 8.1.16 Real-time OS Command
- 254 8.1.17 Utility Commands
- 255 8.2 Table of Script Commands (alphabetical order)
- 257 9.1 Structural Elements of a Script File
- 258 9.1.1 Script Command
- 258 9.1.2 Assign Statement
- 258 9.1.3 Conditional Statement
- 259 9.1.4 Loop Statement(while,endw) and Break Statement
- 259 9.1.5 Comment statements
- 260 9.2 Writing Expressions
- 260 9.2.1 Constants
- 261 9.2.2 Symbols and labels
- 262 9.2.3 Macro Variables
- 263 9.2.4 Register variables
- 263 9.2.5 Memory variables
- 263 9.2.6 Line Nos
- 264 9.2.7 Character constants
- 264 9.2.8 Operators
- 265 10.1 Writing C/C++ Expressions
- 265 10.1.1 Immediate Values
- 266 10.1.2 Scope Resolution
- 266 10.1.3 Mathematical Operators
- 266 10.1.4 Pointers
- 266 10.1.5 Reference
- 267 10.1.6 Sign Inversion
- 267 10.1.7 Member Reference Using Dot Operator
- 267 10.1.8 Member Reference Using Arrow
- 268 10.1.9 Pointers to Members
- 268 10.1.10 Parentheses
- 268 10.1.11 Arrays
- 268 10.1.12 Casting to Basic Types
- 269 10.1.13 Casting to typedef Types
- 269 10.1.14 Variable Name
- 269 10.1.15 Function Name
- 269 10.1.16 Character Constants
- 269 10.1.17 Character String Literals
- 270 10.2 Display Format of C/C++ Expressions
- 270 10.2.1 Enumeration Types
- 270 10.2.2 Basic Types
- 271 10.2.3 Pointer Types
- 272 10.2.4 Array Types
- 272 10.2.5 Function Types
- 272 10.2.6 Reference Types
- 272 10.2.7 Bit Field Types
- 273 10.2.8 When No C Symbol is Found
- 273 10.2.9 Syntax Errors
- 273 10.2.10 Structure and Union Types
- 275 12.1 Common Attention
- 275 12.1.1 File operation on Windows
- 275 12.1.2 Area where software breakpoint can be set
- 276 12.1.3 Get or set C variables
- 277 12.1.4 Function name in C
- 277 12.1.5 Option settings for download modules
- 277 12.1.6 Debugging multi modules
- 277 12.1.7 Synchronized debugging
- 277 12.1.8 Down-load of Firmware
- 278 12.1.9 Restriction of LPT port
- 279 12.1.10 Notes for coverage function
- 279 12.1.11 Emulator reset switch
- 279 12.1.12 Debugging Resource on Emulator
- 280 12.2 Attention of the M32C Debugger
- 280 12.2.1 Stack area used by the emulator
- 280 12.2.2 Interrupt stack pointer when resetting the target program
- 280 12.2.3 Option of C Compiler/Assembler/Linker
- 280 12.2.4 Target MCU HOLD terminal
- 281 12.2.5 Hardware Event
- 281 12.2.6 Time Measurement Resource
- 281 12.2.7 CPU rewrite
- 281 12.2.8 MR STK script command
- 282 12.3 Attention of the M16C/R8C Debugger
- 282 12.3.1 Map of stack area used by the emulator
- 282 12.3.2 Options for compiler, assembler, and linker
- 282 12.3.3 TASKING C Compiler
- 282 12.3.4 Target MCU HOLD terminal
- 283 12.3.5 Hardware Event
- 283 12.3.6 Operating frequency of MCU
- 283 12.3.7 The correspondence OS version of task pause function
- 284 12.3.8 Memory Space Expansion
- 284 12.3.9 Watch dog timer
- 284 12.3.10 CPU rewrite
- 284 12.3.11 MR STK script command
- 285 12.4 Attention of the 740 Debugger
- 285 12.4.1 Setting of Memory Map
- 285 12.4.2 Emulation Pod M37515T-RPD
- 285 12.4.3 Stack area used by the emulator
- 285 12.4.4 Specify the Clock
- 285 12.4.5 Watch dog timer
- 285 12.4.6 Option of C Compiler/Assembler/Linker
- 286 area of the mcu
- 286 12.4.8 Debugging in the 16-Timer functions
- 286 12.4.9 Hardware Event
- 286 12.4.10 Operating frequency of MCU
- 287 12.5 Option of C Compiler/Assembler/Linker
- 287 12.5.1 When Using NCxx
- 287 12.5.2 When Using the Assembler Package for 740 Family
- 288 12.5.3 When Using the IAR C Compiler (EW)
- 289 12.5.4 When Using the IAR C Compiler (ICC)
- 290 12.5.5 When Using the TASKING C Compiler (EDE)
- 290 12.5.6 When Using the TASKING C Compiler (CM)
- 291 12.5.7 When Using the IAR EC++ Compiler (EW)