Hi,
I am using C5510 with large memory model.
In couple of places manual states that in this model the heap size
is limited only by the amount of memory in the system.
BUT: it also states that linker can not create data section
larger than 64K words.
So - I can not create .sysmem section larger than 64K !!
Did anybody have experiece with this thing?
Thanks,
Duke S.
|
|
0
|
|
|
|
Reply
|
emdezpk (3)
|
5/18/2004 5:03:59 PM |
|
>>>>> "Duke" == Duke Skylurker <no-spam!emdezpk@yahoo.ca> writes:
Duke> Hi,
Duke> I am using C5510 with large memory model.
Duke> In couple of places manual states that in this model the heap size
Duke> is limited only by the amount of memory in the system.
Duke> BUT: it also states that linker can not create data section
Duke> larger than 64K words.
Duke> So - I can not create .sysmem section larger than 64K !!
Is this not an artifact of the 5510 architecture? The XAR registers
are 23 (or 24) bits long, but arithmetic on them only operates on the
low 16 bits. Hence, the most you can (easily) access is 64K words.
Ray
|
|
0
|
|
|
|
Reply
|
toy (99)
|
5/18/2004 9:29:09 PM
|
|
Duke Skylurker <no-spam!emdezpk@yahoo.ca> wrote:
>Hi,
>
>I am using C5510 with large memory model.
>In couple of places manual states that in this model the heap size
>is limited only by the amount of memory in the system.
>
>BUT: it also states that linker can not create data section
>larger than 64K words.
>So - I can not create .sysmem section larger than 64K !!
>
>Did anybody have experiece with this thing?
Yes, and I could not create a section larger than 64K.
Regards,
Robert
www.gldsp.com
( modify address for return email )
www.numbersusa.com
www.americanpatrol.com
|
|
0
|
|
|
|
Reply
|
r_obert (100)
|
5/19/2004 12:05:47 AM
|
|
You can't. I remember facing the same problem and using static
allocation instead.
One more way I can think of is using DSP/BIOS and allocating heaps in
muliple sections.
Regards
Piyush
Duke Skylurker <no-spam!emdezpk@yahoo.ca> wrote in message news:<dcgka09qr3as6321llcr3h3qg7isd0kg5c@4ax.com>...
> Hi,
>
> I am using C5510 with large memory model.
> In couple of places manual states that in this model the heap size
> is limited only by the amount of memory in the system.
>
> BUT: it also states that linker can not create data section
> larger than 64K words.
> So - I can not create .sysmem section larger than 64K !!
>
> Did anybody have experiece with this thing?
>
>
> Thanks,
> Duke S.
|
|
0
|
|
|
|
Reply
|
piyushkaul636 (17)
|
5/20/2004 9:53:56 AM
|
|