M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 276

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Appendix Standard Serial I/O Mode (Flash Memory Version)
Figure 1.31.9. Timing for the lock bit program
Figure 1.31.8. Timing for erasing all unlocked blocks
Erase All Unlocked Blocks Command
Lock Bit Program Command
This command erases the content of all blocks. Execute the erase all unlocked blocks command as
explained here following.
When block erasing ends, the RTS
erase operation can be known by reading the status register. Each block can be erase-protected with the
lock bit. For more information, see the section on the data protection function.
This command writes “0” (lock) for the lock bit of the specified block. Execute the lock bit program
command as explained here following.
When writing ends, the RTS
be read with the read lock bit status command. For information on the lock bit function, reset proce-
dure and so on, see the section on the data protection function.
(1) Send the “A7
(2) Send the verify command code “D0
(1) Send the “77
(2) Send addresses A
(3) Send the verify command code “D0
mand code, the erase operation will start and continue for all blocks in the flash memory.
mand code, “0” is written for the lock bit of the specified block. Write the highest address of the
specified block for addresses A
(M16C reception data)
(M16C transmit data)
(M16C reception data)
(M16C transmit data)
16
16
” command code in the 1st byte of the transmission.
” command code in the 1st byte of the transmission.
RTS1(BUSY)
8
RTS1(BUSY)
to A
CLK1
RxD1
1
TxD1
15
(BUSY) signal changes from the “H” to the “L” level. Lock bit status can
CLK1
RxD1
TxD1
and A
1
(BUSY) signal changes from the “H” to the “L” level. The result of the
8
16
to A
to A
77
16
16
23
16
” in the 2nd byte of the transmission. With the verify com-
A7
” in the 4th byte of the transmission. With the verify com-
23
.
16
in the 2nd and 3rd bytes of the transmission respectively.
A
A
8
15
D0
to
16
A
A
16
23
to
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
D0
16
Mitsubishi microcomputers
M16C / 62 Group
261

Related parts for M30622MA-XXXFP