Renesas RL78/G1P Hardware User Manual page 685

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
22.3 Format of On-chip Debug Option Byte
The format of on-chip debug option byte is shown below.
Address: 000C3H
7
OCDENSET
OCDENSET
0
0
1
1
Caution Values can only be specified for bits 7 and 0 (OCDENSET and OCDERSD).
When writing, be sure to write 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.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 22-4. Format of On-chip Debug Option Byte (000C3H)
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.
4
3
0
0
Control of on-chip debug operation
CHAPTER 22 OPTION BYTE
2
1
1
0
OCDERSD
0
666

Advertisement

Table of Contents
loading

Table of Contents