12 Attention
269
12.2.5 Hardware Event
•
The debugger does not support a command fetch (Fetch) or an interrupt as a hardware event.
•
If you specify word-length (2-byte length) data from an odd address as an event in the following
data accesses, the event is not detected. Also, even when any other bit of the address that
contains a specified bit is accessed during bit access, the event may become effective.
-
Hardware Break Event
-
Real-time Trace Event
-
Time Measurement Event
•
In the PID setting, you can specify the access size (BYTE/WORD). However, if you specify an odd
address in the "Address:" field, you cannot specify the WORD size.
•
Examples to specify the event for data access with its value comparison.
Address
Access size
16bit data bus
8bit data bus
Even Address
WORD
ex.: mov.w #1234h, 8000h
Address: 8000h
Data: 1234h
Data Mask: Don't care
<-
Even Address
BYTE
ex.: mov.b #34h, 8000h
Address: 8000h
Data: 34h
Data Mask: 00FFh
<-
Odd Address
WORD
ex.: mov.w #1234h, 8001h
Not supported
<-
Odd Address
BYTE
ex.: mov.b #34h, 8001h
Address: 8001h
Data: 3400h
Data Mask: FF00h
Address: 8001h
Data: 34h
Data Mask: 00FFh
12.2.6 Time Measurement Resource
You need to specify the operating frequency of mcu for debugger to calculate the time for Trace
window, Time measurement window, or other functions.
You can set it in MCU tab of INIT dialog box. If you use the mcu at 10MHz div 8, please enter 10 and
8 to edit boxes.
12.2.7 CPU rewrite
You can not debug the program using CPU rewrite.
12.2.8 MR STK script command
•
The MR STK BASE command automatically sets the area where the stack consumption can be
measured. The area set by this command is range of 256KB including the start address of the
system stack. If you want to set other area, please use not the MR STK BASE script command
but the CoVerage BASE script command.
Содержание Emulator Debugger M16C PC4701
Страница 13: ...Setup of Debugger 1...
Страница 14: ...Blank Page 2...
Страница 73: ...Tutorial 59...
Страница 74: ...Blank Page 60...
Страница 95: ...Reference 81...
Страница 96: ...Blank Page 82...
Страница 119: ...7 Windows Dialogs When TRIGGER is selected Breaks for the status of signal input from external trace cable 105...
Страница 127: ...7 Windows Dialogs 7 7 6 1 1 Writing Reading a Specified Address Set as below Example Writing to even address 400h 113...
Страница 128: ...Example Writing byte length data 32h to even address 400h 114...
Страница 130: ...16 bits bus width 116...
Страница 132: ...2nd point 118...
Страница 133: ...7 Windows Dialogs 16 bits bus width 119...
Страница 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Страница 138: ...Example Writing byte length data 32h to even address 400h 124...
Страница 140: ...16 bits bus width 126...
Страница 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Страница 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Страница 146: ...Example Writing byte length data 32h to even address 400h 132...
Страница 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Страница 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Страница 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Страница 177: ...7 Windows Dialogs When TRIGGER is selected Measures for the status of signal input from external trace cable 163...
Страница 294: ...MEMO 280...