iv
2.1.10.5 Searching Trace Data ............................................................................................................... 55
2.1.10.6 Saving Trace Data .................................................................................................................... 56
2.1.10.7 Clearing Trace Data ................................................................................................................. 57
2.1.11 Measuring Coverage ................................................................................................................... 58
2.1.11.1 Coverage Measurement Procedures ........................................................................................ 59
2.1.12 Checking Debugger Status .......................................................................................................... 62
2.2 Emulator Debugger (MB2197) .......................................................................................................... 65
2.2.1 Setting Operating Environment ................................................................................................... 66
2.2.1.1 MCU Operation Mode ............................................................................................................... 67
2.2.1.2 DRAM Refresh Control ............................................................................................................. 68
2.2.1.3 Cache Flush Control ................................................................................................................. 69
2.2.1.4 Operating Frequency ................................................................................................................ 70
2.2.2 Notes on Executing Program ....................................................................................................... 71
2.2.3 Commands Available during Execution of User Program ........................................................... 72
2.2.4 Break ........................................................................................................................................... 73
2.2.4.1 Code Break ............................................................................................................................... 74
2.2.4.2 Code Event Break .................................................................................................................... 76
2.2.4.3 Data Event Break ..................................................................................................................... 77
2.2.4.4 Trace Buffer-full Break .............................................................................................................. 78
2.2.4.5 Alignment Error Break .............................................................................................................. 79
2.2.4.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 Inaccessible Area ........................................................................................................................ 94
2.2.8 Checking Debugger Status .......................................................................................................... 95
2.3 Emulator Debugger (MB2198) .......................................................................................................... 98
2.3.1 Setting Operating Environment ................................................................................................. 100
2.3.1.1 Monitoring Program Automatic Loading ................................................................................. 101
2.3.1.2 MCU Operation Mode ............................................................................................................. 102
2.3.1.3 Cache Flush Control ............................................................................................................... 103
2.3.1.4 Operating Frequency .............................................................................................................. 104
2.3.1.5 External Memory Emulation ................................................................................................... 105
2.3.1.6 Debug mode ........................................................................................................................... 106
2.3.2 Notes on Executing Program ..................................................................................................... 107
2.3.3 Commands Available during Execution of User Program ......................................................... 108
2.3.4 Break ......................................................................................................................................... 110
2.3.4.1 Code Break ............................................................................................................................. 111