99
7.2.2
On-board Programming Mode
For flash memory program/erase mode, boot mode and user program mode, in which on-board
program/erase is performed, and programmer mode, in which program/erase is performed using a
PROM programmer, are available. When the HD64F3664 is activated from the reset state, the
HD64F3664 enters different operating modes, depending on the state of the TEST pin, the
NMI
pin, and the port input level as shown in figure 7.2.
The input level of the TEST pin and
NMI
pin must be stabilized at least four states before reset
cancellation.
Boot mode
On-board programming mode
User
program mode
User mode
Reset state
Programmer
mode
RES
= 0
SWE = 1
SWE = 0
Note:
Only make a transition between user mode and user program mode when the CPU is
not accessing the flash memory.
RES
= 0
TEST = 0,
NMI
= 0,
P85 = 1
TEST = 1,
PB
0
= PB
1
=
PB
2
= 0
RES
= 0
RES
= 0
TEST = 0,
NMI
= 1
Figure 7.2 Flash Memory State Transitions
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...