Restrictions And Cautions On On-Chip Debug Function - NEC V850ES/F 3-L Series User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 23
23.5 Restrictions and Cautions on On-Chip Debug
Caution
734
Function
• Do not mount a device that was used for debugging on a mass-produced
product (this is because the code flash memory was rewritten during
debugging and the number of rewrites of the code flash memory cannot be
guaranteed).
• If a reset signal (reset input from the target system or reset by an internal
reset source) is input during RUN (program execution), the break function
may malfunction.
• Even if reset is masked by using a mask function, the I/O buffer (port pin,
etc.) is reset when a pin reset signal is input.
• With a debugger that can set software breakpoints in the internal code flash
memory, the breakpoints temporarily become invalid when pin reset or
internal reset is effected. The breakpoints become valid again if a break
such as a hardware break or forced break is executed. Until then, no
software break occurs.
• The RESET signal input is masked during a break.
• The POC reset operation cannot be emulated.
• The on-chip debugging unit uses the exception vector address 60
software breakpoint (DBTRAP, refer to "Interrupt Controller (INTC)" on
page 221). Thus the debugger takes over control when one of the following
exceptions occur:
– debug trap (DBTRAP)
– illegal op-code detection (ILGOP)
– ROM Correction
The debugger executes its own exception handler. Therefore, the user's
exception handler at address 60
• When executing on-chip debugging, pin reset must be input to set the
OCDM0 bit of the OCDM register to 1.
For details, refer to 23.2"Controlling the N-Wire Interface" on page 726.
• When the break command is started in on-chip debug (OCD) mode and the
application software accesses to the UARTD/CSIB/CAN peripheral I/O
registers, CSIB, UARTD and CAN do not operate normally if on-chip
debugging is restarted without executing reset.
If the flash memory is programmed during a debug session and the options
bytes have been changed, a target reset command has to be issued in order to
make the new option byte settings effective.
User's Manual U18743EE1V2UM00
will not be executed.
H
On-Chip Debug Unit
for
H

Advertisement

Table of Contents
loading

Table of Contents