19.22.3 Programmer Mode Operation - Renesas H8S Series Hardware Manual

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

Advertisement

19.22.3 Programmer Mode Operation

Table 19-40 shows how the different operating modes are set when using programmer mode, and table 19-41 lists the
commands used in programmer mode. Details of each mode are given below.
Memory Read Mode: Memory read mode supports byte reads.
Auto-Program Mode: Auto-program mode supports programming of 128 bytes at a time. Status polling is used to
confirm the end of auto-programming.
Auto-Erase Mode: Auto-erase mode supports automatic erasing of the entire flash memory. Status polling is used to
confirm the end of auto-erasing.
Status Read Mode: Status polling is used for auto-programming and auto-erasing, and normal termination can be
confirmed by reading the I/O
Table 19-40 Settings for Each Operating Mode in Programmer Mode
Mode
Read
Output disable
Command write
Chip disable*
Legend:
H:
High level
L:
Low level
Hi-Z: High impedance
×:
Don't care
Notes: 1. Chip disable is not a standby state; internally, it is an operation state.
2. Ain indicates that there is also address input in auto-program mode.
Table 19-41 Programmer Mode Commands
Command Name
Memory read mode
Auto-program mode
Auto-erase mode
Status read mode
Legend:
RA: Read address
PA:
Program address
×:
Don't care
Notes: 1. In auto-program mode, 129 cycles are required for command writing by a simultaneous 128-byte write.
2. In memory read mode, the number of cycles depends on the number of address write cycles (n).
Rev.6.00 Oct.28.2004 page 650 of 1016
REJ09B0138-0600H
signal. In status read mode, error information is output if an error occurs.
6
CE
L
L
L
1
H
Number
of Cycles
Mode
1 + n
Write
129
Write
2
Write
2
Write
Pin Names
OE
WE
L
H
H
H
H
L
×
×
1st Cycle
Address Data
×
H'00
×
H'40
×
H'20
×
H'71
I/O
to I/O
A
to A
7
0
18
Data output
Ain
×
Hi-Z
2
Data input
Ain*
×
Hi-Z
2nd Cycle
Mode
Address Data
Read
RA
Dout
Write
PA
Din
×
Write
H'20
×
Write
H'71
0

Advertisement

Table of Contents
loading

Table of Contents