M30621ECGP MITSUBISHI [Mitsubishi Electric Semiconductor], M30621ECGP Datasheet - Page 217

no-image

M30621ECGP

Manufacturer Part Number
M30621ECGP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Appendix Standard Serial I/O Mode
Figure 1.25.8. Timing for the lock bit program
Figure 1.25.7. 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
to
D0
16
A
A
16
23
to
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
D0
16
M16C / 62 Group (80-pin)
Mitsubishi microcomputers
217

Related parts for M30621ECGP