S3F80JB

ADDRESS SPACES

 

 

PROGRAM MEMORY

Program memory (Flash memory) stores program code or table data. The S3F80JB has 64-Kbyte of internal programmable Flash memory. 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).

(Decimal)

65,536

Note 1

255

0

384(256+128)byte

Internal RAM

Internal

Program

Memory

(Flash)

ISP Sector

Interrupt Vector Area Smart Option Rom Cell

(HEX)

FFFFH

FE80H

S3F80JB(64Kbyte)

01FFH, 02FFH, 04FFH or 08FFH

0FFH

03FH

03CH

00H

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 15. Embedded Flash Memory Interface).

2-2

Page 34
Image 34
Samsung S3F80JB manual Program Memory Address Space