Rev. 5.00, 12/03, page 709 of 1088
(4) Erasing and Programming Procedure in User Program Mode
By changing the on-chip RAM address of the download destination in FTDAR, the erasing
program and programming program can be downloaded to separate on-chip RAM areas.
Figure 17-72 shows an example of repetitively executing RAM emulation, erasing, and
programming.
Start procedure program
Erasing program
download
Programming program
download
Emulation/Erasing/Programming
Set FTDAR to H'00
(Specify H'FFBC00 as
download destination)
Set FTDAR to H'01
(Specify H'FFCC00 as
download destination)
Download erasing program
Initialize erasing program
Initialize programming
program
Download programming
program
1
End procedure program
Enter RAM emulation mode
and tune data
in on-chip RAM
Set FMPDR to H'FFDC00 to
program relevant block
(execute programming
program)
Cancel RAM emulation mode
Confirm operation
1
Erase relevant block
(execute erasing program)
End ?
Yes
No
Figure 17-72 Sample Procedure of Repeating RAM Emulation, Erasing, and Programming
(Overview)
In the above example, the erasing program and programming program are downloaded to areas
excluding the 4 kbytes (H'FFDC00 to H'FFEC00) from H'FFDC00.
Download and initialization are performed only once at the beginning.
Содержание H8S/2318 series
Страница 2: ......
Страница 6: ...Rev 5 00 12 03 page vi of xxx...
Страница 12: ...Rev 5 00 12 03 page xii of xxx...
Страница 30: ...Rev 5 00 12 03 page xxx of xxx...
Страница 54: ...Rev 5 00 12 03 page 24 of 1088...
Страница 98: ...Rev 5 00 12 03 page 68 of 1088...
Страница 128: ...Rev 5 00 12 03 page 98 of 1088...
Страница 138: ...Rev 5 00 12 03 page 108 of 1088...
Страница 168: ...Rev 5 00 12 03 page 138 of 1088...
Страница 212: ...Rev 5 00 12 03 page 182 of 1088...
Страница 324: ...Rev 5 00 12 03 page 294 of 1088...
Страница 436: ...Rev 5 00 12 03 page 406 of 1088...
Страница 546: ...Rev 5 00 12 03 page 516 of 1088...
Страница 580: ...Rev 5 00 12 03 page 550 of 1088...
Страница 822: ...Rev 5 00 12 03 page 792 of 1088...
Страница 876: ...Rev 5 00 12 03 page 846 of 1088...
Страница 901: ...Rev 5 00 12 03 page 871 of 1088 A 2 Instruction Codes Table A 2 shows the instruction codes...
Страница 1121: ...H8S 2319 Group H8S 2318 Group Hardware Manual REJ09B0089 0500O...