r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 677

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
Figure 32.4
Figure 32.5
32.4.8
EW0 Mode Execution Procedure
(When Rewriting User ROM)
Figure 32.4 shows How to Set and Exit EW0 Mode and Figure 32.5 shows How to Set and Exit EW0 Mode
(When Rewriting Data Flash) and EW1 Mode.
FMR01: Bit in FMR0 register
Note:
Transfer the rewrite control program that uses
CPU rewrite mode to the RAM
Jump to the rewrite control program transferred
to the RAM
(The subsequent process is executed by the
rewrite control program in the RAM)
Writing to the FMR01 bit must be performed in the RAM.
To set the FMR01 bit to 1, first write 0 and then 1 immediately. Disable interrupts and DTC activation between writing 0 and writing 1.
How to Set and Exit Each Mode
How to Set and Exit EW0 Mode
How to Set and Exit EW0 Mode (When Rewriting Data Flash) and EW1 Mode
EW0 Mode Execution Procedure (When Rewriting Data Flash)
EW1 Mode Execution Procedure
FMR01, FMR02: Bits in FMR0 register
Notes:
1. To set the FMR01 bit to 1, first write 0 and then 1 immediately.
2. Not required when rewriting the data flash in EW0 mode.
Disable interrupts and DTC activation between writing 0 and writing 1.
After writing 0 to the FMR01 bit,
write 1 (CPU rewrite mode enabled)
After writing 0 to the FMR02 bit,
write 1 (EW1 mode)
Write 0 (CPU rewrite mode disabled) to
the FMR01 bit
Execute software commands
Program in ROM
Rewrite control program
(2)
Jump to the specified address in the flash memory
After writing 0 to the FMR01 bit,
write 1 (CPU rewrite mode enabled)
Write 0 (CPU rewrite mode disabled) to
the FMR01 bit
Execute software commands
(1)
32. Flash Memory
Page 645 of 740
(1)

Related parts for r5f21346mnfp