English
Language : 

UPD78F9500MA-CAC-A Datasheet, PDF (240/342 Pages) Renesas Technology Corp – 8-Bit Single-Chip Microcontrollers
CHAPTER 16 FLASH MEMORY
This register is set with an 8-bit memory manipulation instruction.
Reset signal generation makes the contents of this register undefined.
Figure 16-10. Format of Flash Programming Mode Control Register (FLPMC)
Address: FFA2H
After reset: UndefinedNote 1
R/WNote 2
Symbol
7
6
5
4
3
2
1
FLPMC
0
PRSELF4 PRSELF3 PRSELF2 PRSELF1 PRSELF0
0
0
FLSPM
FLSPM
0
1
Selection of operation mode during self-programming mode
Normal mode
This is the normal operation status. Executing the HALT instruction sets
standby status.
Self-programming mode
Self programming commands can be executed by executing the specific
sequence to change modes while in normal mode.
Set a command, an address, and data to be written, then execute the HALT
instruction to execute self programming.
PRSELF4 PRSELF3 PRSELF2 PRSELF1 PRSELF0 The set value of the protect byte
is read to these bits.
Notes 1. Bit 0 (FLSPM) is cleared to 0 when reset is released. The set value of the protect
byte is read to bits 2 to 6 (PRSELF0 to PRSELF4) after reset is released.
2. Bits 2 to 6 (PRSELF0 to PRSELF4) are read-only.
Cautions 1. Cautions in the case of setting the self programming mode, refer to 16.8.2
Cautions on self programming function.
2. Set the CPU clock so that it is 1 MHz or more during self programming.
3. Execute the NOP and HALT instructions immediately after executing a
specific sequence to set self-programming mode, then execute self
programming. At this time, the HALT instruction is automatically released
after 10 μs (MAX.) + 2 CPU clocks (fCPU).
4. If the clock of the oscillator or an external clock is selected as the system
clock, execute the NOP and HALT instructions immediately after executing a
specific sequence to set self-programming mode, wait for 8 µs after
releasing the HALT status, and then execute self programming.
5. Clear the value of the FLCMD register to 00H immediately before setting self-
programming mode and normal operation mode.
238
User’s Manual U18172EJ3V0UD