Datasheet

Rev. 8.00 Mar. 09, 2010 Page xii of xx
REJ09B0042-0800
Section 6 ROM..................................................................................................145
6.1 Overview............................................................................................................................145
6.1.1 Block Diagram......................................................................................................145
6.2 H8/38024 PROM Mode..................................................................................................... 146
6.2.1 Setting to PROM Mode ........................................................................................146
6.2.2 Socket Adapter Pin Arrangement and Memory Map............................................ 146
6.3 H8/38024 Programming..................................................................................................... 149
6.3.1 Writing and Verifying...........................................................................................149
6.3.2 Programming Precautions.....................................................................................154
6.4 Reliability of Programmed Data ........................................................................................ 155
6.5 Flash Memory Overview ...................................................................................................156
6.5.1 Features................................................................................................................. 156
6.5.2 Block Diagram......................................................................................................157
6.5.3 Block Configuration..............................................................................................158
6.5.4 Register Configuration..........................................................................................160
6.6 Descriptions of Registers of the Flash Memory................................................................. 160
6.6.1 Flash Memory Control Register 1 (FLMCR1)...................................................... 160
6.6.2 Flash Memory Control Register 2 (FLMCR2)...................................................... 163
6.6.3 Erase Block Register (EBR) ................................................................................. 164
6.6.4 Flash Memory Power Control Register (FLPWCR).............................................164
6.6.5 Flash Memory Enable Register (FENR)...............................................................165
6.7 On-Board Programming Modes......................................................................................... 166
6.7.1 Boot Mode ............................................................................................................ 166
6.7.2 Programming/Erasing in User Program Mode...................................................... 169
6.7.3 Notes on On-Board Programming ........................................................................170
6.8 Flash Memory Programming/Erasing................................................................................170
6.8.1 Program/Program-Verify...................................................................................... 170
6.8.2 Erase/Erase-Verify................................................................................................ 174
6.8.3 Interrupt Handling when Programming/Erasing Flash Memory...........................174
6.9 Program/Erase Protection ..................................................................................................176
6.9.1 Hardware Protection ............................................................................................. 176
6.9.2 Software Protection............................................................................................... 176
6.9.3 Error Protection.....................................................................................................177
6.10 Programmer Mode ............................................................................................................. 177
6.10.1 Socket Adapter...................................................................................................... 177
6.10.2 Programmer Mode Commands .............................................................................178
6.10.3 Memory Read Mode .............................................................................................181
6.10.4 Auto-Program Mode.............................................................................................184
6.10.5 Auto-Erase Mode.................................................................................................. 186
6.10.6 Status Read Mode .................................................................................................187