English
Language : 

M306H7MG-XXXFP Datasheet, PDF (293/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M306H7MG-XXXFP/MC-XXXFP/FGFP
17. FLASH MEMORY VERSION
17.5.4 Software Commands
Software commands are described below. The command code and data must be read and written in 16-bit units,
to and from even addresses in the user ROM area. When writing command code, the 8 high order bits (D1t−D8)
are ignored.
Table 17.4 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 (D0 to D15)
X
xxFF16
X
xx7016
X
xx5016
WA
xx4016
X
xx2016
Lock bit program
Read lock bit status
Write
Write
BA
xx7716
X
xx7116
Mode
Second bus cycle
Address
Data
(D0 to D7)
Read
X
SRD
Write
WA
WD
Write
BA
xxD016
Write
BA
xxD016
Write
BA
xxD016
SRD: Status register data (D7 to D0)
WA: Write address (Make sure the address value specified in the the first bus cycle is the same even address
as the write address specified in the second bus cycle.)
WD: Write data (16 bits)
BA: Uppermost block address (even address, however)
X: Any even address in the user ROM area
xx: High-order 8 bits of command code (ignored)
Read Array Command (FF16)
This command reads the flash memory.
Writing ‘exxFF16’ in the first bus cycle places the microcomputer in read array mode. Enter the read address in
the next or subsequent bus cycles, and the content of the specified address can be read in 16-bit units.
Because the microcomputer remains in read array mode until another command is written, the contents of
multiple addresses can be read in succession.
Read Status Register Command (7016)
This command reads the status register.
Write ‘exx7016’ in the first bus cycle, and the status register can be read in the second bus cycle. (Refer to
“Status Register.”) When reading the status register too, specify an even address in the user ROM area.
Do not execute this command in EW1 mode.
Rev.2.10 Oct 25, 2006 Page 293 of 326
REJ03B0152-0210