h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 446

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
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 14.13 shows a repeating procedure of erasing and programming.
In the above procedure, download and initialization are performed only once at the beginning.
In this kind of operation, note the following:
Rev. 2.00, 03/04, page 414 of 534
 Be careful not to damage on-chip RAM with overlapped settings.
 Be sure to initialize both the erasing program and programming program.
In addition to the erasing program area and programming program area, areas for the user
procedure programs, work area, and stack area are reserved in on-chip RAM. Do not make
settings that will overwrite data in these areas.
Initialization by setting the FPEFEQ parameter must be performed for both the erasing
program and the programming program. Initialization must be executed for both entry
addresses: (download start address for erasing program) + 32 bytes and (download start
address for programming program) + 32 bytes.
destination of programming
Download erasing program
Figure 14.13 Repeating Procedure of Erasing and Programming
Initialize erasing program
Start procedure program
Download programming
Initialize programming
destination of erasing
Specify a download
program by FTDAR
Specify a download
program by FTDAR
program
program
1
(execute erasing program)
End procedure program
(execute programming
program relevant block
Erase relevant block
Confirm operation
Set FMPDR to
program)
End ?
1
Yes
No

Related parts for h8s-2172