
CHAPTER 9 SHIFTING TO DEBUG MODE
191
User’s Manual U14559EJ3V1UM
Notes 1. The execution address indicates the address of an instruction fetch, and the access address
indicates the address at which an access occurs in accordance with instruction execution.
2. Set as follows.
√:
Set the break conditions.
<0>: Clear all bits to 0.
<1>: It is not necessary to set the conditions, but set all bits to 1 because the initial value is
undefined (bits 31 to 28 of the BPAVn and BPAMn registers are fixed to 0, and cannot
be set to 1).
For an execution trap or for an access trap that targets a 64 MB data area, bits 27 and 26 of
the BPAVn and BPAMn registers are ignored. However, set them to 1 because the initial
value is undefined.
3. Data write: Immediately after execution
Data read: After several instructions are executed (slip)
4. When the MD bit is set to 1, match judgment by the data comparator is ignored. Therefore,
the break latency is accelerated by 1 clock (a break occurs at the MEM stage when MD = 0,
and at the EX stage when MD = 1).
5. Always set to 0 (operation is not guaranteed when set to 1).
6. Set in accordance with the access type (read only, write only, or read/write)
Cautions 1. The match timing of break conditions differs between an execution trap and an
access trap (at the ID stage for an execution trap, and at the MEM stage for an
access trap). Therefore, even if the sequential break mode is set, the V850E1 CPU
may not operate normally when an execution trap occurs after an access trap.
2. In the range break mode, set either the execution trap or access trap to channels 0
and 1.
Remarks
1. n = 0, 1
2. When multiple break conditions are set, the debug mode is entered if at least one of them
is satisfied.
3. Channels 0 and 1 can be linked to perform the following two operations (however,
simultaneous operations are not possible).
(i)
Break by sequential execution (range break mode)
This break is set by setting the SQ bit of the debug interface register (DIR) to 1. The
debug mode is entered only when the break conditions of channels 0 and 1 match in
that order.
(ii) Break by simultaneous execution (range break mode)
This break is set by setting the RE bit of the debug interface register (DIR) to 1. The
debug mode is entered only when the break conditions of channels 0 and 1 match at
the same time.
(b) Break due to misalign access exception occurrence
This break is set by setting the MA bit of the debug interface register (DIR) to 1. The debug mode is
entered when a misalign access occurs during execution of the load and store instructions (independent
of the enable/disable setting of misaligned access to the CPU).