Reply by lax man July 31, 20032003-07-31
hello all

i need some help on c5416 memory map.

my cmd file look something like this.

MEMORY {

PAGE 0: /* program space */
DARAM0 (RWX) : o0080h l3f80h
VECS0 (RWX) : o7f80h l0080h

EXT (RWX) : o8000h l4000h
ROM (R ) : oc000h l3f00h
RSV1 (R ) : off00h l0080h
VECS1 (RWX) : off80h l0080h

SARAM03 (RWX) : o8000h l8000h
SARAM47 (RWX) : o8000h l8000h

PAGE 1: /* Data Space */

DARAM2 (RWX) : o4000h l3f80h
DARAM47 (RWX) : o8000h l8000h
}

SECTIONS
{
.intvecs : > VECS0 PAGE 0
.text : > SARAM47 PAGE 0
.cinit : > SARAM47 PAGE 0
.pinit : > SARAM47 PAGE 0
.switch : > SARAM47 PAGE 0
.sysmem : > DARAM47 PAGE 1
.stack : > DARAM47 PAGE 1
.const : > DARAM47 PAGE 1
.cio : > DARAM47 PAGE 1
.bss : > DARAM47 PAGE 1
.data : > DARAM47 PAGE 1
}

1) In c5416 we have 128 pages each of size 64k
(program space),how will i address SARAM03,SARAM47.if
i do as shown above, CCS will give an error.
if i use page0 program & data memory than there is no
problem.

2) i set PMST in GEL file to 0x2c...Even, i used
DSP/BIOS too for placing the compiler sections...there
also it's giving the same error.
3) since there are 23 address lines, i can address
upto 8M words, if so, what modifications must be done
in my CMD file.
4) since XPC register determines the page no,how can
i set xpc reg to point to two different pages @ the
same time.

Thanks in advance
-Lakshman __________________________________