h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 677

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
23.8
A software method, using the CPU, is employed to program and erase flash memory in the on-
board programming modes. Depending on the FLMCR1 and FLMCR2 settings, the flash memory
operates in one of the following four modes: program mode, program-verify mode, erase mode,
and erase-verify mode. The programming control program in boot mode and the user
program/erase control program in user program mode use these operating modes in combination to
perform programming/erasing. Flash memory programming and erasing should be performed in
accordance with the descriptions in section 23.8.1, Program/Program-Verify and section 23.8.2,
Erase/Erase-Verify, respectively.
Figure 23.10 Programming/Erasing Flowchart Example in User Program Mode
Flash Memory Programming/Erasing
Execute user program/erase control
program (flash memory rewrite)
erase control program to RAM
erase control program in RAM
Branch to user program/
Branch to flash memory
Transfer user program/
application program
Program/erase?
Reset-start
Yes
No
Branch to flash memory
Rev. 3.00 Mar 21, 2006 page 623 of 788
application program
REJ09B0300-0300
Section 23 ROM

Related parts for h8s-2161b