
87
Chapter 3
CPU Function
User’s Manual U16702EE3V2UD00
(b) On-chip debug mode register (OCDM)
This register is used to switch between the normal operation mode and the on-chip debug mode.
The OCDM register is a special register (refer to 3.2.3 ”Special registers” on page 70). Writing is
possible only using a specific sequence so that its contents cannot be rewritten by mistake in case
of inadvertent program loops.
When OCDM0 bit is set to 1 and DRST pin input is high level, the on-chip debug mode is selected.
Since after reset the initial value of OCDM0 bit is 1, when not using the on-chip debug function, it
is necessary to clear the OCDM0 bit and maintain the DRST pin at low level until the OCDM0 bit is
cleared.
This register can be read and written in 8-bit or 1-bit units.
Figure 3-26:
On-Chip Debug Mode Register (OCDM) Format
Notes: 1.
On input to RESET pin (external reset): OCDM0 = 1
On power-on reset: OCDM0 = 0
On occurrence of internal reset (other than power-on clear): OCDM register holds the value
before occurrence of reset.
2.
P97/SIB1/{DDI}
P98/SOB1/{DCK}
P99/SCKB1/{DMS}
P910/CS301/{DDO}
P911/{DRST}
Caution:
A pull-down resistor function is also associated with the OCDM register setting.
When OCDM0=1, the port pull-down resistor is enabled, likewise when OCDM0=0 the
pull-down is disabled. Refer to Chapter 4
”Port Functions” on page 105 for more
information.
Symbol
7
6
5
4
3
2
1
0
Address
After reset
OCDM
0
0
0
0
0
0
0
OCDM0 FFFFF9FCH
01H
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
OCDM0
Operation mode
0
Normal operation mode
1
DRST pin = low level: Normal operation mode
DRST pin = high level: On-chip debug mode
electronic components distributor
Содержание V850E/RS1
Страница 6: ...6 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 206: ...206 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 232: ...232 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 366: ...366 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 402: ...402 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 684: ...684 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 766: ...766 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 798: ...798 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 832: ...832 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 834: ...834 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 848: ...848 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 852: ...Downloaded from Elcodis com electronic components distributor...