Download USER`S MANUAL

Transcript
ADDRESS SPACE
S3F80P9_UM_ REV1.00
PROGRAM MEMORY
Program memory stores program code or table data. The S3F80P9 has 32-Kbyte of internal programmable Flash
memory and 1-Kbyte of executable RAM. The program memory address range is therefore 0000H–FFFFH of
Flash memory (See Figure 2-1).
The first 256 bytes of the program memory (0H−0FFH) are reserved for interrupt vector addresses. Unused
locations (0000H − 00FFH except 03CH, 03DH, 03EH and 03FH) in this address range can be used as normal
program memory. The location 03CH, 03DH, 03EH and 03FH is used as smart option ROM cell. If you use the
vector address area to store program code, be careful to avoid overwriting vector addresses stored in these
locations.
The program memory address at which program execution starts after reset is 0100H(default). If you use ISPTM
sectors as the ISPTM software storage, the reset vector address can be changed by setting the Smart Option.
(Refer to Figure 2-2).
Figure 2-1. Program Memory Address Space
NOTES:
1. The size of ISPTM sector can be varied by Smart Option. (Refer to Figure 2-2). According to the smart option setting
related to the ISP, ISP reset vector address can be changed one of addresses to be select (200H, 300H, 500H or
900H).
2. ISPTM sector can store On Board Program Software (Refer to chapter 13. Embedded Flash Memory Interface).
2-2