Download Print this page

Hitachi H8S/2633 Hardware Manual page 821

Advertisement

Normal mode
*1
FWE = 1
FWE = 0
On-board
programming mode
Software programming
disable state
Notes: In order to perform a normal read of flash memory, SWE must be cleared to 0. Also note that verify-reads
can be performed during the programming/erasing process.
1.
: Normal mode
2. Do not make a state transition by setting or clearing multiple bits simultaneously.
3. After a transition from erase mode to the erase setup state, do not enter erase mode without passing
through the software programming enable state.
4. After a transition from program mode to the program setup state, do not enter program mode without
passing through the software programming enable state.
Figure 22-10 FLMCR1 Bit Settings and State Transitions
22.7.1
Program Mode
When writing data or programs to flash memory, the program/program-verify flowchart shown in
figure 22-11 should be followed. Performing program operations according to this flowchart will
enable data or programs to be written to flash memory without subjecting the device to voltage
stress or sacrificing program data reliability. Programming should be carried out 128 bytes at a
time.
The wait times after bits are set or cleared in the flash memory control register 1 (FLMCR1) and
the maximum number of programming operations (N) are shown in table 25-14 in section 25.6,
Flash Memory Characteristics.
806
ESU1 = 1
*2
SWE1 = 1
Software
programming
enable
SWE1 = 0
state
PV1 = 0
: On-board programming mode
*3
Erase setup
state
ESU1 = 0
Erase-verify
EV1 = 1
mode
EV1 = 0
PSU1 = 1
*4
Program
PSU1 = 0
setup state
PV1 = 1
Program-verify
mode
E1 = 1
Erase mode
E1 = 0
P1 = 1
Program mode
P1 = 0

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631