EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1707 background imageLoading...
Page #1707 background image
R01UH0823EJ0100 Rev.1.00 Page 1707 of 1823
Jul 31, 2019
RX23W Group 50. Flash Memory (FLASH)
50.9 Flash Memory Protection
Flash memory protection prevents the flash memory from being read or rewritten by the third party.
The boot mode ID code protection is for connecting the serial programmer, and the on-chip debugging emulator ID code
protection is for connecting the on-chip debugging emulator. ROM code protection is for connecting the parallel
programmer.
50.9.1 ID Code Protection
There are two types of ID code protection: Boot mode ID code protection for connecting the serial programmer and on-
chip debugging emulator ID code protection is for connecting the on-chip debugging emulator. The same ID codes are
used for both functions, but operations differ.
ID codes consist of the control code and ID code 1 to ID code 15. Set ID codes to four 32-bit data in 32-bit units.
Figure
50.28
shows the ID Code Configuration.
Figure 50.28 ID Code Configuration
The following shows a program example for setting ID codes.
This is an example when setting the control code to 45h and setting ID codes to 01h, 02h, 03h, 04h, 05h, 06h, 07h, 08h,
09h, 0Ah, 0Bh, 0Ch, 0Dh, 0Eh, and 0Fh (from the ID code 1 field to the ID code 15 field).
C language:
#pragma address ID_CODE = 0xFFFFFFA0
const unsigned long ID_CODE [4] = {0x45010203, 0x04050607,0x08090A0B, 0x0C0D0E0F};
Assembly language:
.SECTION ID_CODE,CODE
.ORG 0FFFFFFA0h
.LWORD 45010203h
.LWORD 04050607h
.LWORD 08090A0Bh
.LWORD 0C0D0E0Fh
Control code ID code 1 ID code 2 ID code 3
ID code 4 ID code 5 ID code 6 ID code 7
ID code 8 ID code 9 ID code 10 ID code 11
ID code 12 ID code 13 ID code 14 ID code 15
FFFF FFA0h
FFFF FFA4h
FFFF FFA8h
FFFF FFACh
31 24 23 16 15 8 7 0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals