![Lauterbach M32R Manual Download Page 21](http://html1.mh-extra.com/html/lauterbach/m32r/m32r_manual_3879251021.webp)
M32R Debugger and Trace | 21
©
1989-2023
Lauterbach
TrOnchip
The OCE unit of the M32R allows to set on-chip breakpoints. The registers are controlled by TRACE32.
TRACE32 uses the on-chip trigger registers to perform on-chip breakpoints, which can be set in the
Data.List window or in the dialog Breakpoint.Set. The current user interface of TRACE32 offers many
possible configurations of the OCE unit. However the usable number of breakpoints is depending on the
device.
•
Up to 32 program address breakpoints
(M32192: 4 program breakpoints)
•
Up to 4 data address breakpoints
(M32192 : 4 data breakpoints)
The amount of range breakpoints is limited that’s why it is sometimes useful to set the
option. When enabled, this option let transform range breakpoints into
normal, if necessary. The OCE can perform more operations than TRACE32 offers with it’s user interface
e.g. build a chain of breakpoints.
The on-chip trigger unit events can be also used to control the trace. The possible actions can be defined in
the
Break.Set
dialog. To control the trace unit an appropriate action has to be chosen for the
command.
On-chip Breakpoints can stimulate the EVENT0 … 2 pins. These signals can be used as input events for the
Simple Trigger Unit (STU).
TrOnchip.RESet
Resets all TO settings
Resets the trigger system to the default state.
b.s flags /TraceData
; Set up a filter for Data Trace
b.s flags /TraceEnable
; Set up a filter for Program Trace
b.s main /TraceTrigger
; Set Watchpoint message to generate
; Trigger for the Trace analyzer
b.s main /BusTrigger
; Set Watchpoint message to generate a
; trigger pulse on the PodBus
b.s main /BusCount
; Set Watchpoint message to allow
; frequency counter feature
Format:
TrOnchip.RESet