Renesas M16C/6NK Technical Information Seite 290

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 412
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 289
Rev.2.10 Apr 14, 2006 page 266 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 21. Flash Memory Version
Figure 21.4 Registers FMR0 and FMR1
Flash Memory Control Register 0
Symbol Address After Reset
FMR0 01B7h 00000001b
b7 b6 b5 b4 b3 b2 b1 b0
0
RY/BY status flag
FMR00
0 : Busy (being written or erased)
(1)
1 : Ready
CPU rewrite mode
select bit
(2)
0 : CPU rewrite mode disabled
1 : CPU rewrite mode enabled
FMR01
0 : Boot ROM area is accessed
1 : User ROM area is accessed
Lock bit disable select
bit
(3)
0: Lock bit enabled
1: Lock bit disabled
Flash memory stop
bit
(4) (5)
0 Flash memory operation enabled
1: Flash memory operation stops
(placed in low power dissipation mode,
flash memory initialized)
User ROM area select
bit
(4)
(Effective in only boot mode)
FMR02
FMSTP
FMR05
Set to 0Reserved bit
Program status flag
(6)
FMR06
Erase status flag
(6)
FMR07
0 : Terminated normally
1 : Terminated in error
0 : Terminated normally
1 : Terminated in error
RW
RW
RW
RW
RW
RO
RO
-
(b4)
RW
RO
NOTES:
1.This status includes writing or reading with the lock bit program or read lock bit status command.
2. To set this bit to 1, write 0 and then 1 in succession. Make sure no interrupts or no DMA transfers will occur before
writing 1 after writing 0.
Write to this bit when the NMI pin is in the high state. Also, while in EW0 mode, write to this bit from a program in
other than the flash memory.
Enter read array mode and set this bit to 0.
3. To set this bit to 1, write 0 and then 1 in succession when the FMR01 bit = 1. Make sure no interrupts or no DMA
transfers will occur before writing 1 after writing 0.
4. Write to this bit from a program in other than the flash memory.
5. Effective when the FMR01 bit = 1 (CPU rewrite mode). If the FMR01 bit = 0, although the FMSTP bit can be set to
1 by writing 1 in a program, the flash memory is neither placed in low power dissipation state nor initialized.
6. This bit is set to 0 by executing the clear status command.
Bit Symbol
Bit Name Function
Flash Memory Control Register 1
Symbol Address After Reset
FMR1 01B5h 0X00XX0Xb
b7 b6 b5 b4 b3 b2 b1 b0
000
EW1 mode select bit
(1)
0 : EW0 mode
1 : EW1 mode
FMR11
Lock bit status flag
FMR16
0 : Lock
1 : Unlock
RW
RO
Set to 0Reserved bit
RW
-
(b7)
Set to 0Reserved bits
RW
-
(b5-b4)
When read, the content is undefined.Reserved bits
RO
-
(b3-b2)
When read, the content is undefined.Reserved bit
-
(b0)
RW
RO
NOTE:
1. To set this bit to 1, write 0 and then 1 in succession when the FMR01 bit in the FMR0 register = 1. Make sure no
interrupts or no DMA transfers will occur before writing 1 after writing 0.
Write to this bit when the NMI pin is in the high state.
Both the FMR01 and FMR11 bits are set to 0 by setting the FMR01 bit to 0.
Bit Symbol
Bit Name Function
21.3.3 Registers FMR0 and FMR1
Figure 21.4 shows Registers FMR0 and FMR1.
Seitenansicht 289
1 2 ... 285 286 287 288 289 290 291 292 293 294 295 ... 411 412

Kommentare zu diesen Handbüchern

Keine Kommentare