Cheers. I pushed some strings to xdata and obtained sufficient
space. Yes, Robert I pushed a few functions to root and reduced the
size of my bin file. Thanks for the tip.
I did see your previous posting about the IRQ overwrite bug. I use
8.3 and looking at 9.10 now.
Regards
--- In rabbit-semi@rabb..., "Robert" <robertr@h...> wrote: > If you are using separate I&D, don't
forget to make a few functions root or > you will lose all that code space. Beware doing
this on older versions of > DC; I was playing this game and overran the IRQ
table and had a major > frustration. DC8.01 still has the IRQ table
overrun bug, but when I > upgraded to DC8.61, it was gone.
> -----Original Message-----
> From: aintnoprobs [mailto:nilkamal@h...]
> Sent: Thursday, November 18, 2004 3:05 PM
> To: rabbit-semi@rabb...
> Subject: [rabbit-semi] Re: Out of constant data space
>
> Hi all,
>
> I have enabled "Seperate Instruction & Data". I tried
increasing the > DATAORG, then I get "Out of Xmem space, user
larger RAM/ROM" error. >
> Currently my bin file is at 462KB. (Yeah, lots in it)
> There's a bit of XMEM RAM left though.
>
> If I push the strings literals to xstring, that should give me enuf > constant space i hope. I shall try.
> Nil
>
> --- In rabbit-semi@rabb..., "mlinder" <mlinder@m...> wrote: > > I'd use xdata, xsting, ximport. Some of
these may help you out.
> >
> > I am nearing the end of a project where the binary is 200k
> > and I still have...
> >
> > 2636 Free root code space
> > 9767 Free root data space
> > 186552 Free XRAM space for xalloc
> > 262144 Free XRAM space for xalloc
> >
> > I'm not using seperate I&D or anything special other than
> > make use of xdata, xstring. I'm not serving web pages,
> > but I am using ethernet on a 512k RCM3010
> >
> > Matt
> >
> >
> > On Thu, 18 Nov 2004 05:13:59 -0000, aintnoprobs wrote:
> > >
> > >
> > >Hi all,
> > >
> > >I use a RCM3700 with 512K flash and 512K SRAM.
> > >While adding lines to the following function I got this error.
> > >
> > >"Out of constant data space"
> > >
> > >const HttpSpec http_flashspec[] =
> > >{
> > > { HTTPSPEC_FILE, "/",index_html,NULL, 0, NULL,
NULL},
> > > { HTTPSPEC_FILE, "/index.html",index_html,NULL, 0,
NULL,
> NULL},
> > > { HTTPSPEC_VARIABLE, "v1_1", 0,value[0][0],
PTR16,"%
> s",NULL}
> > >}
> > >
> > >What steps are there to increase this amount of constant data
> space?
> > >
> > >Cheers
> > >Nil
>
>
> Yahoo! Groups Sponsor
>
> Get unlimited calls to
>
> U.S./Canada
>
>
> ------------------------------- --------- > --
> Yahoo! Groups Links
>
> a.. To
Reply by Robert●November 18, 20042004-11-18
If you are using separate I&D, don't forget to make a few
functions root or you will lose all that code space. Beware doing this on
older versions of DC; I was playing this game and overran the IRQ table and had
a major frustration. DC8.01 still has the IRQ table overrun bug, but when
I upgraded to DC8.61, it was gone.
-----Original Message----- From: aintnoprobs
[mailto:n...@hotmail.com] Sent: Thursday, November 18, 2004 3:05
PM To: r...@yahoogroups.com Subject: [rabbit-semi] Re:
Out of constant data space
Hi all,
I have enabled "Seperate Instruction & Data". I tried increasing the DATAORG, then I get "Out of Xmem space, user larger RAM/ROM" error.
Currently my bin file is at 462KB. (Yeah, lots in it) There's a bit
of XMEM RAM left though.
If I push the strings literals to xstring,
that should give me enuf constant space i hope. I shall try. Nil
--- In r...@yahoogroups.com, "mlinder" <mlinder@m...> wrote: > I'd use xdata, xsting, ximport. Some of these may help you out. > > I am nearing the end of a project where the binary is 200k > and I still have... > >
2636 Free root code space >
9767 Free root data space >
186552 Free XRAM space for xalloc >
262144 Free XRAM space for xalloc > >
I'm not using seperate I&D or anything special other than >
make use of xdata, xstring. I'm not serving web pages, > but I am
using ethernet on a 512k RCM3010 > > Matt> On Thu, 18 Nov
2004 05:13:59 -0000, aintnoprobs wrote: > > > > >
>Hi all, > > > >I use a RCM3700 with 512K flash and
512K SRAM. > >While adding lines to the following function I got this
error. > > > >"Out of constant data space" >
> > >const HttpSpec http_flashspec[] = > >{ >
> { HTTPSPEC_FILE, "/",index_html,NULL, 0, NULL, NULL}, > > { HTTPSPEC_FILE, "/index.html",index_html,NULL, 0,
NULL, NULL}, > > { HTTPSPEC_VARIABLE,
"v1_1", 0,value[0][0], PTR16,"% s",NULL} > >} > > > >What steps are there to increase this
amount of constant data space? > > > >Cheers > >Nil
Reply by aintnoprobs●November 18, 20042004-11-18
Hi all,
I have enabled "Seperate Instruction & Data". I tried increasing
the
DATAORG, then I get "Out of Xmem space, user larger RAM/ROM" error.
Currently my bin file is at 462KB. (Yeah, lots in it)
There's a bit of XMEM RAM left though.
If I push the strings literals to xstring, that should give me enuf
constant space i hope. I shall try.
Nil
--- In rabbit-semi@rabb..., "mlinder" <mlinder@m...> wrote: > I'd use xdata, xsting, ximport. Some of these
may help you out.
>
> I am nearing the end of a project where the binary is 200k
> and I still have...
>
> 2636 Free root code space
> 9767 Free root data space
> 186552 Free XRAM space for xalloc
> 262144 Free XRAM space for xalloc
>
> I'm not using seperate I&D or anything special other than
> make use of xdata, xstring. I'm not serving web pages,
> but I am using ethernet on a 512k RCM3010
>
> Matt
> On Thu, 18 Nov 2004 05:13:59 -0000, aintnoprobs wrote:
> >
> >
> >Hi all,
> >
> >I use a RCM3700 with 512K flash and 512K SRAM.
> >While adding lines to the following function I got this error.
> >
> >"Out of constant data space"
> >
> >const HttpSpec http_flashspec[] =
> >{
> > { HTTPSPEC_FILE, "/",index_html,NULL, 0, NULL, NULL},
> > { HTTPSPEC_FILE, "/index.html",index_html,NULL, 0, NULL, NULL}, > > { HTTPSPEC_VARIABLE,
"v1_1", 0,value[0][0], PTR16,"% s",NULL} > >}
> >
> >What steps are there to increase this amount of constant data space? > >
> >Cheers
> >Nil
Reply by mlinder●November 18, 20042004-11-18
I'd use xdata, xsting, ximport. Some of these may help you out.
I am nearing the end of a project where the binary is 200k
and I still have...
2636 Free root code space
9767 Free root data space
186552 Free XRAM space for xalloc
262144 Free XRAM space for xalloc
I'm not using seperate I&D or anything special other than
make use of xdata, xstring. I'm not serving web pages,
but I am using ethernet on a 512k RCM3010
Matt
On Thu, 18 Nov 2004 05:13:59 -0000, aintnoprobs wrote: >
>
>Hi all,
>
>I use a RCM3700 with 512K flash and 512K SRAM.
>While adding lines to the following function I got this error.
>
>"Out of constant data space"
>
>const HttpSpec http_flashspec[] =
>{
> { HTTPSPEC_FILE, "/",index_html,NULL, 0, NULL, NULL},
> { HTTPSPEC_FILE, "/index.html",index_html,NULL, 0, NULL,
NULL},
> { HTTPSPEC_VARIABLE, "v1_1", 0,value[0][0],
PTR16,"%s",NULL}
>}
>
>What steps are there to increase this amount of constant data space?
>
>Cheers
>Nil
Reply by bmurthazw●November 18, 20042004-11-18
--- In rabbit-semi@rabb..., "Robert" <robertr@h...> wrote: > Are you using separate I&D? If so, increase
DATAORG in increments of > 0x1000;
Make use of xdata, xstring constants for large tables if that
doesn't give you enough addtional constant space. See TN #238.
> -----Original Message-----
> From: aintnoprobs [mailto:nilkamal@h...]
> Sent: Wednesday, November 17, 2004 10:14 PM
> To: rabbit-semi@rabb...
> Subject: [rabbit-semi] Out of constant data space
>
> Hi all,
>
> I use a RCM3700 with 512K flash and 512K SRAM.
> While adding lines to the following function I got this error.
>
> "Out of constant data space"
>
> const HttpSpec http_flashspec[] =
> {
> { HTTPSPEC_FILE, "/",index_html,NULL, 0, NULL, NULL},
> { HTTPSPEC_FILE, "/index.html",index_html,NULL, 0, NULL, NULL}, > { HTTPSPEC_VARIABLE, "v1_1",
0,value[0][0], PTR16,"% s",NULL} > }
>
> What steps are there to increase this amount of constant data space? >
> Cheers
> Nil
> Yahoo! Groups Sponsor
>
> Get unlimited calls to
>
> U.S./Canada
>
>
> ------------------------------- --------- > --
> Yahoo! Groups Links
>
> a.. To
Reply by Robert●November 18, 20042004-11-18
Are you using separate I&D? If so, increase
DATAORG in increments of 0x1000;
-----Original Message----- From: aintnoprobs
[mailto:n...@hotmail.com] Sent: Wednesday, November 17, 2004 10:14
PM To: r...@yahoogroups.com Subject: [rabbit-semi] Out
of constant data space
Hi all,
I
use a RCM3700 with 512K flash and 512K SRAM. While adding lines to the
following function I got this error.