English
Language : 

M16C28 Datasheet, PDF (334/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
18. Flash Memory Version
18.7 Software Commands
Read or write 16-bit commands and data from or to even addresses in the user ROM area. When writing
a command code, 8 high-order bits (D15–D8) are ignored.
Table 18.5 Software Commands
Command
Read array
Read status register
Clear status register
Program
Block erase
Mode
Write
Write
Write
Write
Write
First bus cycle
Data
Address (D15 to D0)
X
xxFF16
X
xx7016
X
xx5016
WA
xx4016
X
xx2016
SRD: Status register data (D7 to D0)
WA : Write address (However,even address)
WD : Write data (16 bits)
BA : Highest-order block address (However,even address)
X : Any even address in the user ROM area
xx : 8 high-order bits of command code (ignored)
Second bus cycle
Mode
Data
Address (D15 to D0)
Read
X
SRD
Write
Write
WA
WD
BA
xxD016
18.7.1 Read Array Command (FF16)
The read array command reads the flash memory.
Read array mode is entered by writing command code ‘xxFF16’ in the first bus cycle. Content of a speci-
fied address can be read in 16-bit unit after the next bus cycle. The microcomputer remains in read array
mode until an another command is written. Therefore, contents of multiple addresses can be read con-
secutively.
18.7.2 Read Status Register Command (7016)
The read status register command reads the status register.
By writing command code ‘xx7016’ in the first bus cycle, the status register can be read in the second bus
cycle (Refer to 18.8 Status Register). Read an even address in the user ROM area. Do not execute this
command in EW mode 1.
Rev. 2.00 Jan. 31, 2007 page 314 of 385
REJ09B0047-0200