1.3 Real-Time Trace Function
This function records a target program execution history.
Up to 32K cycles of execution history can be recorded. This record allows inspecting the bus
information, executed instructions, and source program execution path for each cycle.
The real-time trace function records the execution history of the target program.
The execution history is referred to in the tracing window.
The execution history can be referred to in the following mode.
•
BUS mode
This mode allows you to inspect cycle-by-cycle bus information. The display content depends on
the MCU and emulator system used. In addition to bus information, this mode allows
disassemble, source line or data access information to be displayed in combination.
•
Disassemble mode
This mode allows you to inspect the executed instructions. In addition to disassemble information,
this mode allows source line or data access information to be displayed in combination.
•
Data access mode
This mode allows you to inspect the data read/write cycles. In addition to data access information,
this mode allows source line information to be displayed in combination.
•
Source mode
This mode allows you to inspect the program execution path in the source program.
1.3.1 Trace Area
The 32K cycles execution history can be referred to with this debugger.
The trace area of the following 5 mode is being supported.
•
Break
32K cycles before target program stops
•
Before
32K cycles before trace point
•
About
16K cycles either side of trace point
•
After
32K cycles after trace point
•
Full
Until 32K cycles are written in the trace memory
"Break" is set by default. To refer the execution history before stopping the target program, use
"Break" (designation of trace event is not required).
To refer the execution history at any position, or to continue execution of the target program, specify
the trace event and change the trance range.
6
Summary of Contents for Emulator Debugger M16C PC4701
Page 13: ...Setup of Debugger 1...
Page 14: ...Blank Page 2...
Page 73: ...Tutorial 59...
Page 74: ...Blank Page 60...
Page 95: ...Reference 81...
Page 96: ...Blank Page 82...
Page 128: ...Example Writing byte length data 32h to even address 400h 114...
Page 130: ...16 bits bus width 116...
Page 132: ...2nd point 118...
Page 133: ...7 Windows Dialogs 16 bits bus width 119...
Page 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Page 138: ...Example Writing byte length data 32h to even address 400h 124...
Page 140: ...16 bits bus width 126...
Page 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Page 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Page 146: ...Example Writing byte length data 32h to even address 400h 132...
Page 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Page 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Page 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Page 294: ...MEMO 280...