English
Language : 

M16C28 Datasheet, PDF (14/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
18.4 CPU Rewrite Mode ..................................................................................................... 304
18.4.1 EW Mode 0 .......................................................................................................... 305
18.4.2 EW Mode 1 .......................................................................................................... 305
18.5 Register Description ................................................................................................... 306
18.5.1 Flash Memory Control Register 0 (FMR0) ........................................................... 306
18.5.2 Flash Memory Control Register 1 (FMR1) ........................................................... 307
18.5.3 Flash Memory Control Register 4 (FMR4) ........................................................... 307
18.6 Precautions in CPU Rewrite Mode ............................................................................. 312
18.6.1 Operation Speed .................................................................................................. 312
18.6.2 Prohibited Instructions .......................................................................................... 312
18.6.3 Interrupts .............................................................................................................. 312
18.6.4 How to Access ...................................................................................................... 312
18.6.5 Writing in the User ROM Area .............................................................................. 312
18.6.6 DMA Transfer ....................................................................................................... 313
18.6.7 Writing Command and Data ................................................................................. 313
18.6.8 Wait Mode ............................................................................................................ 313
18.6.9 Stop Mode ............................................................................................................ 313
18.6.10 Low Power Consumption Mode and On-Chip Oscillator-Low Power Consumption Mode ... 313
18.7 Software Commands .................................................................................................. 314
18.7.1 Read Array Command (FF16)............................................................................... 314
18.7.2 Read Status Register Command (7016) ............................................................... 314
18.7.3 Clear Status Register Command (5016) ............................................................... 315
18.7.4 Program Command (4016) ................................................................................... 315
18.7.5 Block Erase .......................................................................................................... 316
18.8 Status Register ........................................................................................................... 318
18.8.1 Sequence Status (SR7 and FMR00 Bits ) ............................................................ 318
18.8.2 Erase Status (SR5 and FMR07 Bits) ................................................................... 318
18.8.3 Program Status (SR4 and FMR06 Bits) ............................................................... 318
18.8.4 Full Status Check ................................................................................................. 319
18.9 Standard Serial I/O Mode ........................................................................................... 321
18.9.1 ID Code Check Function ...................................................................................... 321
18.9.2 Example of Circuit Application in Standard Serial I/O Mode ................................ 325
18.10 Parallel I/O Mode ...................................................................................................... 327
18.10.1 ROM Code Protect Function .............................................................................. 327
19. Electrical Characteristics ............................................................................328
A-7