h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 461

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
14.5.2
Software protection is set up in any of two ways: by disabling the downloading of on-chip
programs for programming and erasing and by means of a key code.
Table 14.11 Software Protection
14.5.3
Error protection is a mechanism for aborting programming or erasure when an error occurs, in the
form of the microcomputer entering runaway during programming/erasing of the flash memory or
operations that are not according to the established procedures for programming/erasing. Aborting
programming or erasure in such cases prevents damage to the flash memory due to excessive
programming or erasing.
If the microcomputer malfunctions during programming/erasing of the flash memory, the FLER
bit in the FCCS register is set to 1 and the error-protection state is entered, and this aborts the
programming or erasure.
The FLER bit is set in the following conditions:
1. When an interrupt such as NMI occurs during programming/erasing.
2. When the flash memory is read during programming/erasing (including a vector read or an
3. When a SLEEP instruction (including software-standby mode) is executed during
4. When a bus master other than the CPU, such as the DMAC, gets bus mastership during
Item
Protection by the
SCO bit
Protection by the
FKEY register
instruction fetch).
programming/erasing.
programming/erasing.
Software Protection
Error Protection
Description
The program/erase-protected state is
entered by clearing the SCO bit in
FCCS which disables the downloading
of the programming/erasing programs.
Downloading and
programming/erasing are disabled
unless the required key code is written
in FKEY. Different key codes are used
for downloading and for
programming/erasing.
Rev. 2.00, 03/04, page 429 of 534
Download
Function to be Protected
Program/Erase

Related parts for h8s-2172