Format Of On-Chip Debug Option Byte - NEC 78K0R/KE3 User Manual

16-bit single-chip microcontrollers
Table of Contents

Advertisement

Note
Address: 000C2H/010C2H
7
1
Note Be sure to set FFH to 000C2H, as these addresses are reserved areas. Also set FFH to 010C2H when the
boot swap operation is used because 000C2H is replaced by 010C2H.

22.3 Format of On-chip Debug Option Byte

The format of on-chip debug option byte is shown below.
Figure 22-4. Format of On-chip Debug Option Byte (000C3H/010C3H)
Note
Address: 000C3H/010C3H
7
OCDENSET
OCDENSET
0
0
1
1
Note Set the same value as 000C3H to 010C3H when the boot swap operation is used because 000C3H is
replaced by 010C3H.
Caution Bits 7 and 0 (OCDENSET and OCDERSD) can only be specified a value.
Be sure to set 000010B to bits 6 to 1.
Remark
The value on bits 3 to 1 will be written over when the on-chip debug function is in use and thus it will
become unstable after the setting.
However, be sure to set the default values (0, 1, and 0) to bits 3 to 1 at setting.
658
CHAPTER 22 OPTION BYTE
Figure 22-3. Format of Option Byte (000C2H/010C2H)
6
5
1
1
6
5
0
0
OCDERSD
0
Disables on-chip debug operation.
1
Setting prohibited
0
Enables on-chip debugging.
Erases data of flash memory in case of failures in authenticating on-chip debug
security ID.
1
Enables on-chip debugging.
Does not erases data of flash memory in case of failures in authenticating on-chip
debug security ID.
User's Manual U17854EJ9V0UD
4
3
2
1
1
1
4
3
2
0
0
1
Control of on-chip debug operation
1
0
1
1
1
0
0
OCDERSD

Advertisement

Table of Contents
loading

Table of Contents