English
Language : 

M16C Datasheet, PDF (236/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
Parallel I/O Mode
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Page Program Command (4116)
Page programming enables high-speed programming in blocks of 256 bytes. The page programming
operation is started when the "4116" command code is written for the first bus cycle. Write data are then
written sequentially from the second bus cycle to the 129th bus cycle. In this case, when the byte pin is
"H" level, the address must be odd and increased by two from "0016" to "FF16". When the byte pin is "L"
level, the address must increase from "0016" to "FF16". When data loading ends, the auto write (data
program and verify) operation starts.
Auto Write end can be verified by reading the status register or the status of the RY/BY signal. At the
start of the auto write operation, the read status register mode is automatically engaged, so the contents
of the status register can be read from the data I/O pins (D0 – D7). Status register bit 7 (SR7) becomes
"0" when the auto write operation starts and returns to "1" when it ends. In this way, the read status
register mode is maintained until the next read array command (FF16) or read lock bit status command
(7116) is written.
Similar to the status register bit 7, the RY/BY pin is "L" level during the auto write period and becomes
"H" level when auto write ends.
After the auto write operation ends, the result of the operation can be known by reading the status
register. For more information, see the section on the status register.
Figure 24-3 shows a flowchart of the page program. For the operation timing of the page program, see
the time chart in the section on electric characteristics.
Each block can be write-protected with the lock bit. For more information, see the section on the data
protection. Additional writing is not allowed with already programmed pages.
Start
Write 4116
n=0
Write address n and
data n
n=FF16 NO
n=FE16
YES
Read status register
n=n+1/n=n+2
SR7=1? NO
YES
Run full status check if
needed
Page program end
Figure 24-3. Page program flowchart
236