977
User’s Manual U16580EE3V1UD00
Chapter 23
On-Chip Debug Function (OCD)
An on-chip debug unit is provided in the V850E/PH2 microcontroller and realizes stand-alone on-chip
debugging of the V850E/PH2 microcontroller by connecting a N-Wire type emulator.
Caution:
The debug function explained in this chapter is the function that can be realized by
using the V850E/PH2 microcontroller, the NEC Electronics' IE-V850E1-CD-NW
(N-Wire type emulator). When using a third-party N-Wire type emulator, refer to the
manual for the debugger used.
23.1 Function
Overview
23.1.1 On-chip debug unit type
The on-chip debug unit incorporated in the V850E/PH2 microcontroller is RCU1 (run control unit 1).
The on-chip unit incorporated differs depending on the microcontroller, and also features different func-
tions.
23.1.2 Debug
function
For details of the debug function, refer to the corresponding debugger operation user's manual.
(1)
Debug interface
This interface establishes communication with the host machine by using the DRST, DCK, DMS,
DDI, and DDO signals, via a N-Wire type emulator. The communication specifications of N-Wire
are used for this interface. It does not support a boundary scan function.
(2)
On-chip debug
On-chip debugging can be performed by providing wiring and connectors for debugging on the
target system.
Connect a N-Wire type emulator to the emulator connector.
(3)
Forced reset function
The V850E/PH2 can be forcibly reset.
(4)
Break reset function
The CPU can be started in the debug mode immediately after resetting the CPU has been
cleared.
(5)
Forced break function
Execution of the user program can be forcibly stopped (however, the handler of the illegal
instruction code exception (first address: 00000060H) cannot be used).
(6)
Hardware break function
Two common instruction fetch/access breakpoints can be used. By using the instruction
breakpoint, program execution can be suspended at an arbitrary address. By using the access
breakpoint, program execution can be suspended by data-accessing an arbitrary address.
Summary of Contents for V850E/PH2
Page 6: ...6 Preface User s Manual U16580EE3V1UD00...
Page 16: ...16 User s Manual U16580EE3V1UD00...
Page 28: ...28 User s Manual U16580EE3V1UD00...
Page 32: ...32 User s Manual U16580EE3V1UD00...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Page 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Page 1052: ...1052 User s Manual U16580EE3V1UD00...
Page 1053: ......