|
SH7059 Datasheet, PDF (827/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer | |||
|
◁ |
25. ROM (SH7059)
For interrupts during download, see section 25.8.2, Interrupts during Programming/Erasing. For the download time, see
section 25.8.3, Other Notes.
Since this bit is cleared to 0 when download is completed, this bit cannot be read as 1.
Download by setting the SCO bit to 1 requires a special interrupt processing that performs bank switching to the on-chip
program storage area. Therefore, before issuing a download request (SCO = 1), set VBR to H'00000000. Otherwise, the
CPU gets out of control. Once download end is confirmed, VBR can be changed to any other value.
Bit 0
SCO
0
1
Description
Download of the on-chip programming/erasing program to the on-chip RAM is not executed
(Initial value)
[Clearing condition] When download is completed
Request that the on-chip programming/erasing program is downloaded to the on-chip RAM is
generated
[Clearing conditions] When all of the following conditions are satisfied and 1 is written to this bit
⢠FKEY is written to H'A5
⢠During execution in the on-chip RAM
⢠Not in RAM emulation mode (RAMS in RAMCR = 0)
(2) Flash Program Code Select Register (FPCS)
FPCS selects the on-chip programming program to be downloaded.
Bit :
7
6
5
4
3
2
1
â
â
â
â
â
â
â
Initial value :
0
0
0
0
0
0
0
R/W :
R
R
R
R
R
R
R
⢠Bits 7 to 1âReserved: These bits are always read as 0. The write value should always be 0.
⢠Bit 0âProgram Pulse Single (PPVS): Selects the programming program.
Bit 0
PPVS
Description
0
On-chip programming program is not selected
[Clearing condition] When transfer is completed
1
On-chip programming program is selected
0
PPVS
0
R/W
(Initial value)
(3) Flash Erase Code Select Register (FECS)
FECS selects download of the on-chip erasing program.
Bit :
7
6
5
4
3
2
1
â
â
â
â
â
â
â
Initial value :
0
0
0
0
0
0
0
R/W :
R
R
R
R
R
R
R
⢠Bits 7 to 1âReserved: These bits are always read as 0. The write value should always be 0.
⢠Bit 0âErase Pulse Verify Block (EPVB): Selects the erasing program.
0
EPVB
0
R/W
Rev.3.00 Mar. 12, 2008 Page 737 of 948
REJ09B0177-0300
|
▷ |