Software Commands; Read Array Command (Ff ); Read Status Register Command - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

21.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 (D
Table 21.7.1. Software Commands
Command
Read array
Read status register
Clear status register
Program
Block erase
SRD: Status register data (D
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)
21.7.1 Read Array Command (FF
This command reads the flash memory.
By writing command code 'xxFF
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.

21.7.2 Read Status Register Command (70

This command reads the status register.
By writing command code 'xx70
cycle (Refer to "Status Register"). Read an even address in the user ROM area. Do not execute this
command in EW1 mode.
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
–D
15
First bus cycle
Mode
Write
Write
Write
Write
Write
to D
)
7
0
16
' in the first bus cycle, read array mode is entered. Content of a speci-
16
' in the first bus cycle, the status register can be read in the second bus
16
page 382 of 402
) are ignored.
8
Data
Address
(D
to D
)
15
0
X
xxFF
16
X
xx70
16
X
xx50
16
WA
xx40
16
X
xx20
16
)
)
16
21. Flash Memory Version
Second bus cycle
Mode
Address
X
Read
WA
Write
BA
Write
Data
(D
to D
)
15
0
SRD
WD
xxD0
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents