Renesas R8C/Tiny Series Manual Página 152

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 199
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 151
R8C/10 Group
Rev.1.20 Jan 27, 2006 page 142 of 180
REJ09B0019-0120
17.3 Functions To Prevent Flash Memory from Rewriting
To prevent the flash memory from being read or rewritten easily, standard serial I/O mode has an ID code
check function.
17.3.1 ID Code Check Function
Use this function in standard serial I/O mode. Unless the flash memory is blank, the ID codes sent
from the programmer and the ID codes written in the flash memory are compared to see if they match.
If the ID codes do not match, the commands sent from the programmer are not accepted. The ID code
consists of 8-bit data, the areas of which, beginning with the first byte, are 00FFDF16, 00FFE316,
00FFEB16, 00FFEF16, 00FFF316, 00FFF716, and 00FFFB16. Prepare a program in which the ID
codes are preset at these addresses and write it in the flash memory.
Figure 17.2 Address for ID Code Stored
Reset vector
Oscillation stop detection
/
watchdog timer vector/
Single step vector
Address match vector
BRK instruction vector
Overflow vecto
r
Undefined instruction vector
ID7
ID6
ID5
ID4
ID3
ID2
ID1
(Reserved)
(
R
e
s
e
r
v
e
d
)
0
0
F
F
F
F
1
6
t
o
0
0
F
F
F
C
1
6
0
0
F
F
F
B
1
6
t
o
0
0
F
F
F
8
1
6
0
0
F
F
F
7
1
6
t
o
0
0
F
F
F
4
1
6
0
0
F
F
F
3
1
6
t
o
0
0
F
F
F
0
1
6
0
0
F
F
E
F
1
6
t
o
0
0
F
F
E
C
1
6
0
0
F
F
E
B
1
6
t
o
0
0
F
F
E
8
1
6
0
0
F
F
E
7
1
6
t
o
0
0
F
F
E
4
1
6
00FFE3
16
to 00FFE0
16
00FFDF
16
to 00FFDC
16
4 bytes
Address
(N
ote 1
)
N
O
T
E
S
:
1
.
W
h
e
n
w
r
i
t
e
t
o
a
d
d
r
e
s
s
0
0
F
F
F
F
1
6
,
w
r
i
t
e
F
F
1
6
.
17.3 Functions to Prevent Flash Memory from Rewriting
Vista de página 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 198 199

Comentários a estes Manuais

Sem comentários