Renesas M32R/ECU Series User Manual page 156

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

6
(8) Read Lock Bit Status command
The Read Lock Bit Status command is provided for checking whether a flash memory block is protected
against programming/erase operation. Write the Read Lock Bit Status command (H'7171) to any address of
the internal flash memory. Next, read the last even address of the flash memory block to be checked (see
Table 6.5.3, "M32180F8 Target Blocks and Specified Addresses"), and the read data shows whether the
target block is protected.
If the FLBST0 (lock bit 0) and FLBST1 (lock bit 1) in the read data both are "0", it means that the target
memory block is protected. If the FLBST0 (lock bit 0) and FLBST1 (lock bit 1) both are "1", it means that the
target memory block is not protected.
Figure 6.5.14 Read Lock Bit Status Command
6.5 Programming the Internal Flash Memory
START
Write the Read Lock Bit Status command
(H'7171) to any address of the
internal flash memory
Read the last even address of the
flash memory block to be checked
END
6-27
INTERNAL MEMORY
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents