English
Language : 

M16C26A Datasheet, PDF (12/352 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
17.2 Memory Map ........................................................................................................... 232
17.3 Functions To Prevent Flash Memory from Rewriting............................................... 235
17.3.1 ROM Code Protect Function ............................................................................ 235
17.3.2 ID Code Check Function .................................................................................. 235
17.4 CPU Rewrite Mode ................................................................................................. 237
17.4.1 EW0 Mode ....................................................................................................... 238
17.4.2 EW1 Mode ....................................................................................................... 238
17.5 Register Description ................................................................................................ 239
17.5.1 Flash memory control register 0 (FMR0) ......................................................... 239
17.5.2 Flash memory control register 1 (FMR1) ......................................................... 240
17.5.3 Flash memory control register 4 (FMR4) ......................................................... 240
17.6 Precautions in CPU Rewrite Mode .......................................................................... 245
17.6.1 Operation Speed .............................................................................................. 245
17.6.2 Prohibited Instructions ..................................................................................... 245
17.6.3 Interrupts .......................................................................................................... 245
17.6.4 How to Access ................................................................................................. 245
17.6.5 Writing in the User ROM Space ....................................................................... 245
17.6.6 DMA Transfer ................................................................................................... 246
17.6.7 Writing Command and Data ............................................................................. 246
17.6.8 Wait Mode ........................................................................................................ 246
17.6.9 Stop Mode ........................................................................................................ 246
17.6.10 Low Power Consumption Mode and On-chip Oscillator-Low Power Consumption Mode ... 246
17.7 Software Commands ............................................................................................... 247
17.7.1 Read Array Command (FF16) .......................................................................... 247
17.7.2 Read Status Register Command (7016)........................................................... 247
17.7.3 Clear Status Register Command (5016)........................................................... 248
17.7.4 Program Command (4016) ............................................................................... 248
17.7.5 Block Erase ...................................................................................................... 249
17.8 Status Register ........................................................................................................ 251
17.8.1 Sequence Status (SR7 and FMR00 Bits ) ....................................................... 251
17.8.2 Erase Status (SR5 and FMR07 Bits) ............................................................... 251
17.8.3 Program Status (SR4 and FMR06 Bits) ........................................................... 251
17.8.4 Full Status Check ............................................................................................. 252
17.9 Standard Serial I/O Mode ........................................................................................ 254
17.9.1 ID Code Check Function .................................................................................. 254
17.9.2 Example of Circuit Application in Standard Serial I/O Mode ............................ 258
17.10 Parallel I/O Mode .................................................................................................. 260
17.10.1 ROM Code Protect Function .......................................................................... 260
A-5