Functions To Prevent Flash Memory From Rewriting; Id Code Check Function - Renesas M16C FAMILY Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY:
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group

17.3 Functions To Prevent Flash Memory from Rewriting

To prevent the flash memory from being read or rewritten easily, standard serial input/output mode has
an ID code check function.

17.3.1 ID Code Check Function

Use this function in standard serial input/output 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 00FFDF
00FFE3
, 00FFEB
16
the ID codes are preset at these addresses and write it in the flash memory.
Figure 17.2 Address for ID Code Stored
Rev.0.91
2003 Sep 08
, 00FFEF
, 00FFF3
16
16
Address
00FFDF
to 00FFDC
16
16
00FFE3
to 00FFE0
16
16
00FFE7
to 00FFE4
16
16
00FFEB
to 00FFE8
16
16
00FFEF
to 00FFEC
16
16
00FFF3
to 00FFF0
16
16
00FFF7
to 00FFF4
16
16
00FFFB
to 00FFF8
16
16
00FFFF
to 00FFFC
16
16
Notes:
1. When write to address 00FFFF
page 150 of 184
17.3 Functions To Prevent Flash Memory from Rewriting
17.3 Functions To Prevent Flash Memory from Rewriting
, 00FFF7
, and 00FFFB
16
16
ID1
Undefined instruction vector
ID2
Overflow vector
BRK instruction vector
ID3
Address match vector
ID4
Single step vector
Watchdog timer/Oscillation stop
ID5
detection/Voltage detection vector
ID6
(Reserved)
ID7
(Reserved)
Reset vector
(Note 1)
4 bytes
, write "FF
16
16
. Prepare a program in which
16
".
,
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents