878
Chapter 28
On-Chip Debug Unit
Preliminary User’s Manual U17566EE1V2UM00
(8)
Debug monitor function
A memory space for debugging that is different from the user memory space is
used during debugging (background monitor mode). The user program can be
executed starting from any address.
While execution of the user program is aborted, the user resources (such as
memory and I/O) can be read and written, and the user program can be
downloaded.
(9)
Mask function
Each of the following signals can be masked. That means these signals will not
be effective during debugging.
The correspondence with the mask functions of the debugger (ID850NWC) for
the N-Wire emulator (IE-V850E1-CD-NW) of NEC Electronics is shown below.
(10)
Timer function
The execution time of the user program can be measured.
(11)
Peripheral macro operation/stop selection function during break
Depending on the debugger to be used, certain peripheral macros can be
configured to continue or to stop operation upon a breakpoint hit.
• Functions that are always stopped during break
– Watchdog Timer
• Functions that can operate or be stopped during break (however, each
function cannot be selected individually)
– A/D Converter
– all timers P
– all timers Z
– Watch Timer
• Peripheral functions that continue operating during break (functions that
cannot be stopped)
– Peripheral functions other than above
(12)
Function during power saving modes
When the device is set into a power saving mode, debug operation is not
possible. When exiting the power save mode, the on-chip debug unit continues
operation.
The N-Wire interface is still accessible during power saving modes:
• N-Wire emulator can get status information from the on-chip debug unit.
• Stop mode can be released by the N-Wire emulator.
– NMI0 mask function:
NMI pin
– NMIWDT mask function:
Watchdog Timer interrupt NMIWDT
– Reset mask function:
all reset sources
electronic components distributor