TMS320VC5416
Fixed-Point Digital Signal Processor
www.ti.com
SPRS095O–MARCH 1999–REVISED JANUARY 2005
The extended program memory map is shown in Figure 3-3. Address ranges for on-chip DARAM in data
memory are:
•
•
•
•
DARAM4: 018000h-019FFFh
DARAM5: 01A000h-01BFFFh
DARAM6: 01C000h-01DFFFh
DARAM7: 01E000h-01FFFFh
Address ranges for on-chip SARAM in program memory are:
•
•
•
•
•
•
•
•
SARAM0: 028000h-029FFFh
SARAM1: 02A000h-02BFFFh
SARAM2: 02C000h-02DFFFh
SARAM3: 02E000h-02FFFFh
SARAM4: 038000h-039FFFh
SARAM5: 03A000h-03BFFFh
SARAM6: 03C000h-03DFFFh
SARAM7: 03E000h-03FFFFh
Hex
7F0000
Hex
010000
Program
Program
Hex
020000
Hex
030000
Hex
040000
Program
Program
Program
On-Chip
DARAM0−3
(OVLY=1)
External
On-Chip
DARAM0−3
(OVLY=1)
External
On-Chip
DARAM0−3
(OVLY=1)
External
On-Chip
DARAM0−3
(OVLY=1)
External
On-Chip
DARAM0−3
(OVLY=1)
External
(OVLY=0)
(OVLY=0)
(OVLY=0)
(OVLY=0)
(OVLY=0)
7F7FFF
7F8000
017FFF
018000
027FFF
028000
037FFF
038000
047FFF
048000
......
On-Chip
DARAM4−7
(MP/MC=0)
External
On-Chip
SARAM0−3
(MP/MC=0)
External
On-Chip
SARAM4−7
(MP/MC=0)
External
External
External
(MP/MC=1)
(MP/MC=1)
(MP/MC=1)
7FFFFF
01FFFF
02FFFF
03FFFF
04FFFF
Page 1
XPC=1
Page 2
XPC=2
Page 127
XPC=7Fh
Page 3
XPC=3
Page 4
XPC=4
Figure 3-3. Extended Program Memory Map
3.5.1 Relocatable Interrupt Vector Table
The reset, interrupt, and trap vectors are addressed in program space. These vectors are soft — meaning
that the processor, when taking the trap, loads the program counter (PC) with the trap address and
executes the code at the vector location. Four words, either two 1-word instructions or one 2-word
instruction, are reserved at each vector location to accommodate a delayed branch instruction which
allows branching to the appropriate interrupt service routine without the overhead.
At device reset, the reset, interrupt, and trap vectors are mapped to address FF80h in program space.
However, these vectors can be remapped to the beginning of any 128-word page in program space after
device reset. This is done by loading the interrupt vector pointer (IPTR) bits in the PMST register with the
appropriate 128-word page boundary address. After loading IPTR, any user interrupt or trap vector is
mapped to the new 128-word page.
NOTE
The hardware reset (RS) vector cannot be remapped because the hardware reset loads
the IPTR with 1s. Therefore, the reset vector is always fetched at location FF80h in
program space.
Functional Overview
21