viii
2.4.1 Setting Operating Environment ................................................................................................. 203
2.4.1.1 Monitoring Program Automatic Loading ................................................................................. 204
2.4.1.2 MCU Operation Mode ............................................................................................................. 205
2.4.1.3 Debug Area ............................................................................................................................ 206
2.4.1.4 Memory Area Types ............................................................................................................... 207
2.4.1.5 Memory Mapping .................................................................................................................... 209
2.4.2 Notes on Commands for Executing Program ............................................................................ 211
2.4.3 Commands Available during Execution of User Program ......................................................... 213
2.4.4 Break ......................................................................................................................................... 214
2.4.4.1 Code Break ............................................................................................................................. 215
2.4.4.2 Data Break .............................................................................................................................. 217
2.4.4.3 Guarded Access Break ........................................................................................................... 218
2.4.4.4 Trace-Buffer-Full Break .......................................................................................................... 219
2.4.4.5 Forced Break .......................................................................................................................... 220
2.4.5 Real-time Trace ......................................................................................................................... 221
2.4.5.1 Setting Trace .......................................................................................................................... 223
2.4.5.2 Displaying Trace Data Storage Status ................................................................................... 224
2.4.5.3 Specifying Displaying Trace Data Start .................................................................................. 225
2.4.5.4 Display Format of Trace Data ................................................................................................. 226
2.4.5.5 Reading Trace Data On-the-fly ............................................................................................... 230
2.4.5.6 Saving Trace Data .................................................................................................................. 231
2.4.6 Measuring Execution Cycle Count ............................................................................................ 232
2.5 Emulator Debugger (MB2198) ........................................................................................................ 233
2.5.1 Setting Operating Environment ................................................................................................. 234
2.5.1.1 Monitoring Program Automatic Loading ................................................................................. 235
2.5.1.2 Boot ROM File Automatic Execution ...................................................................................... 236
2.5.1.3 MCU Operation Mode ............................................................................................................. 237
2.5.1.4 Operation Frequency Control ................................................................................................. 238
2.5.2 Notes on Commands for Executing Program ............................................................................ 239
2.5.3 Commands Available during Execution of User Program ......................................................... 240
2.5.4 Break ......................................................................................................................................... 242
2.5.4.1 Code Break ............................................................................................................................. 243
2.5.4.2 Data Break .............................................................................................................................. 245
2.5.4.3 Guarded Access Break ........................................................................................................... 246
2.5.4.4 Sequential Break .................................................................................................................... 247
2.5.4.5 Trace-Buffer-Full Break .......................................................................................................... 248
2.5.4.6 Performance-Buffer-Full Break ............................................................................................... 249
2.5.4.7 External Trigger Break ............................................................................................................ 250
2.5.4.8 Forced Break .......................................................................................................................... 251
2.5.5 Control by Sequencer ................................................................................................................ 252
2.5.5.1 Operating of sequencer .......................................................................................................... 254
2.5.6 Real-time Trace ......................................................................................................................... 256
2.5.6.1 Setting Trace .......................................................................................................................... 258
2.5.6.2 Displaying Trace Data Storage Status ................................................................................... 260
2.5.6.3 Specifying Displaying Trace Data Start .................................................................................. 261
2.5.6.4 Display Format of Trace Data ................................................................................................. 262
2.5.6.5 Saving Trace Data .................................................................................................................. 265