Download BDM Debugger and Trace for MPC555/8xx

Transcript
Example: Stop the program execution if func5 writes to flags[3].
Var.Break.Set func5 /Alpha
;Set an Alpha breakpoint to the
;complete range of func5
Var.Break.Set flags[3] /Beta
;Set a Beta breakpoint to flags[3]
TrOnchip.RESet
;Reset onchip trigger unit
TrOnchip.LW0.Ibus Alpha
;The addresses marked with Alpha
;breakpoints define the instruction
;address for LW0
TrOnchip.LW0.Lbus /Beta
;The addresses marked with Beta
;breakpoints define the data
;address for LW0
TrOnchip.LW0.CYcle Write
;The data cycle is write
TrOnchip.LW0.Lbus
Data address for the L-Bus watchpoint
Format:
TrOnchip.LW0.Lbus <selector>
TrOnchip.LW1.Lbus <selector>
<selector>:
OFF
Alpha
Beta
Charly
Delta
Echo
Defines on which data address for the L-Bus watchpoint.
BDM Debugger and Trace for MPC555/8xx
45
CPU specific TrOnchip Commands