English
Language : 

M16C29 Datasheet, PDF (15/499 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
20.4 CPU Rewrite Mode ..................................................................................................... 337
20.4.1 EW Mode 0 .......................................................................................................... 338
20.4.2 EW Mode 1 .......................................................................................................... 338
20.5 Register Description ................................................................................................... 339
20.5.1 Flash Memory Control Register 0 (FMR0) ........................................................... 339
20.5.2 Flash Memory Control Register 1 (FMR1) ........................................................... 340
20.5.3 Flash Memory Control Register 4 (FMR4) ........................................................... 340
20.6 Precautions in CPU Rewrite Mode ............................................................................. 345
20.6.1 Operation Speed .................................................................................................. 345
20.6.2 Prohibited Instructions .......................................................................................... 345
20.6.3 Interrupts .............................................................................................................. 345
20.6.4 How to Access ...................................................................................................... 345
20.6.5 Writing in the User ROM Area .............................................................................. 345
20.6.6 DMA Transfer ....................................................................................................... 346
20.6.7 Writing Command and Data ................................................................................. 346
20.6.8 Wait Mode ............................................................................................................ 346
20.6.9 Stop Mode ............................................................................................................ 346
20.6.10 Low Power Consumption Mode and On-Chip Oscillator-Low Power Consumption Mode ... 346
20.7 Software Commands .................................................................................................. 347
20.7.1 Read Array Command (FF16)............................................................................... 347
20.7.2 Read Status Register Command (7016) ............................................................... 347
20.7.3 Clear Status Register Command (5016) ............................................................... 347
20.7.4 Program Command (4016) ................................................................................... 348
20.7.5 Block Erase .......................................................................................................... 349
20.8 Status Register ........................................................................................................... 351
20.8.1 Sequence Status (SR7 and FMR00 Bits ) ............................................................ 351
20.8.2 Erase Status (SR5 and FMR07 Bits) ................................................................... 351
20.8.3 Program Status (SR4 and FMR06 Bits) ............................................................... 351
20.8.4 Full Status Check ................................................................................................. 352
20.9 Standard Serial I/O Mode ........................................................................................... 354
20.9.1 ID Code Check Function ...................................................................................... 354
20.9.2 Example of Circuit Application in Standard Serial I/O Mode ................................ 358
20.10 Parallel I/O Mode ...................................................................................................... 360
20.10.1 ROM Code Protect Function .............................................................................. 360
20.11 CAN I/O Mode .......................................................................................................... 361
20.11.1 ID code check function ....................................................................................... 361
20.11.2 Example of Circuit Application in CAN I/O Mode ................................................ 365
A-8