r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 762

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
Table 35.4
FMR21, FMR22: Bits in FMR2 register
Note:
EW1
Mode
1. Do not use a non-maskable interrupt while block 0 is being auto-erased because the fixed vector is allocated in block 0.
Data flash During auto-erasure
Program
ROM
Erase/
Target
Write
CPU Rewrite Mode Interrupts (3)
(suspend enabled)
During auto-erasure
(suspend disabled
or FMR22 = 0)
During
auto-programming
During auto-erasure
(suspend enabled)
During auto-erasure
(suspend disabled
or FMR22 = 0)
During
auto-programming
Status
• Watchdog Timer
• Oscillation Stop Detection
• Voltage Monitor 2
• Voltage Monitor 1
When an interrupt request is acknowledged,
interrupt handling is executed.
If the FMR22 bit is set to 1, the FMR21 bit is
automatically set to 1. The flash memory
suspends auto-erasure after td(SR-SUS).
If erase-suspend is required while the FMR22 bit
is set to 0, set the FMR21 bit to 1 during interrupt
handling. The flash memory suspends auto-
programming after td(SR-SUS).
While auto-erasure is being suspended, any
block other than the block during auto-erasure
execution can be read or written. Auto-erasure
can be restarted by setting the FMR21 bit is set
to 0.
Interrupt handling is executed while auto-erasure or auto-programming is being
performed.
When an interrupt request is acknowledged,
auto-erasure or auto-programming is forcibly
stopped immediately and the flash memory is
reset. Interrupt handling starts when the flash
memory restarts after the fixed period.
Since the block during auto-erasure or the
address during auto-programming is forcibly
stopped, the normal value may not be read. After
the flash memory restarts, execute auto-erasure
again and ensure it completes normally.
The watchdog timer does not stop during the
command operation, so interrupt requests may
be generated. Initialize the watchdog timer
regularly using the erase-suspend function.
(Note 1)
• Undefined Instruction
• INTO Instruction
• BRK Instruction
• Single Step
• Address Match
• Address Break
When an interrupt request is
acknowledged, interrupt handling
is executed.
If erase-suspend is required, set
the FMR21 bit to 1 during interrupt
handling. The flash memory
suspends auto-erasure after
td(SR-SUS).
While auto-erasure is being
suspended, any block other than
the block during auto-erasure
execution can be read or written.
Auto-erasure can be restarted by
setting the FMR21 bit in the FMR2
register is set to 0 (erase restart).
Not usable during auto-erasure or
auto-programming.
35. Usage Notes
Page 730 of 740
(Note 1)

Related parts for r5f21346mnfp