English
Language : 

HD6473032F16 Datasheet, PDF (616/847 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Section 18 ROM
program/program-verify procedure is completed. In the H8/3052BF, the number of loops
in reprogramming processing is guaranteed not to exceed the maximum programming
count (N).
b. After write pulse application, a verify-read is performed in program-verify mode, and
programming is judged to have been completed for bits read as 0. The following
processing is necessary for programmed bits.
When programming is completed at an early stage in the program/program-verify
procedure:
If programming is completed in the 1st to 6th reprogramming processing loop,
additional programming should be performed on the relevant bits. Additional
programming should only be performed on bits which first return 0 in a verify-read
in certain reprogramming processing.
When programming is completed at a late stage in the program/program-verify procedure:
If programming is completed in the 7th or later reprogramming processing loop, additional
programming is not necessary for the relevant bits.
c. If programming of other bits is incomplete in the 128 bytes, reprogramming process should
be executed. If a bit for which programming has been judged to be completed is read as 1
in a subsequent verify-read, a write pulse should again be applied to that bit.
5. The period for which the P1 bit in FLMCR1 or the P2 bit in FLMCR2 is set (the write
pulse width) should be changed according to the degree of progress through the
program/program-verify procedure. For detailed wait time specifications, see section
21.2.5, Flash Memory Characteristics.
Table 18.7 Wait Time after P Bit Setting
Item
Symbol Conditions
Symbol
Wait time after P tsp
bit setting
When reprogramming loop count (n) is 1 to 6
When reprogramming loop count (n) is 7 or more
tsp30
tsp200
In case of additional programming processing*
tsp10
Note: * Additional programming processing is necessary only when the reprogramming loop count
(n) is 1 to 6.
6. The program/program-verify flowchart for the H8/3052BF is shown in figure 18.12.
To cover the points noted above, bits on which reprogramming processing is to be executed,
and bits on which additional programming is to be executed, must be determined as shown in
tables 18.8 and 18.9.
Since reprogram data and additional-programming data vary according to the progress of the
programming procedure, it is recommended that the following data storage areas (128 bytes
each) be provided in RAM.
Rev. 3.00 Mar 21, 2006 page 586 of 814
REJ09B0302-0300