I created project with 5510 working with simulator (CCS 3.3 - tools 4.2)
Linker is informing me that my code "spans page boundary" (warning).
I tried not to pay attention.
But simulator stops with error.
I y\tried to define target -v55xx:3.0 but compiler does not recognize
such target type.
Thanks a lot in advance for all possible suggestions,
Rubi
page boundary crossing - linker & simulator
Started by ●October 29, 2008
Reply by ●October 31, 20082008-10-31
I think this usually happens when an array overlaps a page boundary.
I've gotten around page boundaries before by finding the offending
code section and splitting it into sections the size of memory pages,
then allocating my arrays into those. using the code section
allocation pragma diective (beware it is slightly different for C and C
++).
If your arrays are bigger than page size (which i think is 0x2000
words - [a word is 16 bits] - but correct me if I am wrong - I am not
in front of my development machine with all the docs), then you need
to do some voodoo to split them into sub-arrays that will fit.
cheers,
Arvid
Arvid Tomayko-Peters
WEB: http://arvidtp.net
BAND: http://metropoliscares.com
PHONE: (401) 490-1320
AIM: arvthecarve
On Oct 29, 2008, at 5:19 AM, rubi.mesh wrote:
> I created project with 5510 working with simulator (CCS 3.3 - tools
> 4.2)
> Linker is informing me that my code "spans page boundary" (warning).
> I tried not to pay attention.
> But simulator stops with error.
> I y\tried to define target -v55xx:3.0 but compiler does not recognize
> such target type.
>
> Thanks a lot in advance for all possible suggestions,
> Rubi
>
I've gotten around page boundaries before by finding the offending
code section and splitting it into sections the size of memory pages,
then allocating my arrays into those. using the code section
allocation pragma diective (beware it is slightly different for C and C
++).
If your arrays are bigger than page size (which i think is 0x2000
words - [a word is 16 bits] - but correct me if I am wrong - I am not
in front of my development machine with all the docs), then you need
to do some voodoo to split them into sub-arrays that will fit.
cheers,
Arvid
Arvid Tomayko-Peters
WEB: http://arvidtp.net
BAND: http://metropoliscares.com
PHONE: (401) 490-1320
AIM: arvthecarve
On Oct 29, 2008, at 5:19 AM, rubi.mesh wrote:
> I created project with 5510 working with simulator (CCS 3.3 - tools
> 4.2)
> Linker is informing me that my code "spans page boundary" (warning).
> I tried not to pay attention.
> But simulator stops with error.
> I y\tried to define target -v55xx:3.0 but compiler does not recognize
> such target type.
>
> Thanks a lot in advance for all possible suggestions,
> Rubi
>