Datasheet

Rev.7.00 Feb. 14, 2007 page xxvi of xxxii
REJ09B0089-0700
17.1.2 Register Configuration.........................................................................................566
17.2 Register Descriptions........................................................................................................566
17.2.1 Mode Control Register (MDCR) .........................................................................566
17.2.2 Bus Control Register L (BCRL) ..........................................................................567
17.3 Operation...........................................................................................................................567
17.4 Overview of Flash Memory (H8S/2318 F-ZTAT, H8S/2317 F-ZTAT,
H8S/2315 F-ZTAT, H8S/2314 F-ZTAT)..........................................................................571
17.4.1 Features................................................................................................................571
17.4.2 Overview..............................................................................................................572
17.4.3 Flash Memory Operating Modes .........................................................................573
17.4.4 On-Board Programming Modes...........................................................................574
17.4.5 Flash Memory Emulation in RAM ......................................................................576
17.4.6 Differences between Boot Mode and User Program Mode .................................577
17.4.7 Block Configuration.............................................................................................578
17.4.8 Pin Configuration.................................................................................................579
17.4.9 Register Configuration.........................................................................................580
17.5 Register Descriptions........................................................................................................581
17.5.1 Flash Memory Control Register 1 (FLMCR1).....................................................581
17.5.2 Flash Memory Control Register 2 (FLMCR2).....................................................584
17.5.3 Erase Block Register 1 (EBR1) ...........................................................................585
17.5.4 Erase Block Register 2 (EBR2) ...........................................................................585
17.5.5 System Control Register 2 (SYSCR2).................................................................586
17.5.6 RAM Emulation Register (RAMER)...................................................................587
17.6 On-Board Programming Modes........................................................................................589
17.6.1 Boot Mode ...........................................................................................................590
17.6.2 User Program Mode.............................................................................................595
17.7 Programming/Erasing Flash Memory...............................................................................597
17.7.1 Program Mode .....................................................................................................597
17.7.2 Program-Verify Mode..........................................................................................598
17.7.3 Erase Mode ..........................................................................................................600
17.7.4 Erase-Verify Mode...............................................................................................600
17.8 Flash Memory Protection..................................................................................................602
17.8.1 Hardware Protection ............................................................................................602
17.8.2 Software Protection..............................................................................................602
17.8.3 Error Protection....................................................................................................603
17.9 Flash Memory Emulation in RAM ...................................................................................605
17.9.1 Emulation in RAM...............................................................................................605
17.9.2 RAM Overlap ......................................................................................................606
17.10 Interrupt Handling when Programming/Erasing Flash Memory.......................................607
17.11 Flash Memory Programmer Mode....................................................................................608