Datasheet

Section 7 ROM
Page 226 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
@MOV.W #H'2020,R0
@MOV.W #H'D0D0,R1
@MOV.W R0,@H'00F00000
@MOV.W R1,@H'00F00000
@MOV.B #H'20, R0L
@MOV.B #H'D0, R0H
@MOV.B R0L,@H'00F00000
@MOV.B R0H,@H'00F00000
H'F00000 H'F00000
H'2020 H'D0D0
H'F00000 H'F00000
H'20 H'D0
Issuing of first
command
Prefetching and other
internal processing
Issuing of second
command
Programming of flash
ROM starts
Using word-length instructions to issue erasure commands (FMWUS = 1)
Using byte-length instructions to issue erasure commands (FMWUS = 0)
[Erasure Setting]
Erasure block = Data flash A
[Erasure Setting]
Erasure block = Data flash A
[Programming Example]
[Programming Example]
; Erasure command
; Erasure command
; First command
; Second command
; Erasure command
; Erasure command
; First command
; Second command
Issuing of first
command
Prefetching and other
internal processing
Issuing of second
command
Programming of flash
ROM starts
Internal address bus
Internal data bus
Internal address bus
Internal data bus
Figure 7.21 Examples of Issuing Erasure Commands