I'm using a rabbit rcm5750 with 512K ram and 1M flash. I have separate
instruction and data space selected. Compiling to flash.
I'm now getting and "Out of constant data space" message when I try to
compile. Searching the web it looks like I need to change the DATAORG define to
allow more data space, but I cant find this in any of the bios /library files.
Is this no longer supported with DC10.62 and RCM 5750?
How can I increase the amount of constant data space?
Where can I find some documentation about the different data sections and
setting their size? I found it described in the rabbit 5000 user manual that
there is root, data, stack and xmem, and that their sizes could be changed, but
no real explanation on how to do this.
Can anyone shed some light on this and help me understand how I can change the
amount of constant data space?
rcm5750 - Out of constant data space
Started by ●July 29, 2010
Reply by ●July 29, 20102010-07-29
With separate instruction and data space enabled, the macro
ROOT_SIZE_4K=0x## defines the size of root constant space allocated and root
data space allocated. So if you have ROOT_SIZE_4K=0x06, you would split the
combined data space and constant space down the middle. If you have
ROOT_SIZE_4K=0x07, you would have 4K more constant space and 4K less data
space. So you can play around with 0x## until you get the thing to
compile. maybe start at 0x04 and work your way up.
Here is a tech note that describes a few things.
http://www.rabbit.com/support/ask_larry/2009/1208.shtml
hope this helps,
Matt
On Thu, Jul 29, 2010 at 7:13 AM, tash_neo wrote:
> I'm using a rabbit rcm5750 with 512K ram and 1M flash. I have separate
> instruction and data space selected. Compiling to flash.
>
> I'm now getting and "Out of constant data space" message when I try to
> compile. Searching the web it looks like I need to change the DATAORG define
> to allow more data space, but I cant find this in any of the bios /library
> files. Is this no longer supported with DC10.62 and RCM 5750?
>
> How can I increase the amount of constant data space?
>
> Where can I find some documentation about the different data sections and
> setting their size? I found it described in the rabbit 5000 user manual that
> there is root, data, stack and xmem, and that their sizes could be changed,
> but no real explanation on how to do this.
>
> Can anyone shed some light on this and help me understand how I can change
> the amount of constant data space?
>
>
>
ROOT_SIZE_4K=0x## defines the size of root constant space allocated and root
data space allocated. So if you have ROOT_SIZE_4K=0x06, you would split the
combined data space and constant space down the middle. If you have
ROOT_SIZE_4K=0x07, you would have 4K more constant space and 4K less data
space. So you can play around with 0x## until you get the thing to
compile. maybe start at 0x04 and work your way up.
Here is a tech note that describes a few things.
http://www.rabbit.com/support/ask_larry/2009/1208.shtml
hope this helps,
Matt
On Thu, Jul 29, 2010 at 7:13 AM, tash_neo wrote:
> I'm using a rabbit rcm5750 with 512K ram and 1M flash. I have separate
> instruction and data space selected. Compiling to flash.
>
> I'm now getting and "Out of constant data space" message when I try to
> compile. Searching the web it looks like I need to change the DATAORG define
> to allow more data space, but I cant find this in any of the bios /library
> files. Is this no longer supported with DC10.62 and RCM 5750?
>
> How can I increase the amount of constant data space?
>
> Where can I find some documentation about the different data sections and
> setting their size? I found it described in the rabbit 5000 user manual that
> there is root, data, stack and xmem, and that their sizes could be changed,
> but no real explanation on how to do this.
>
> Can anyone shed some light on this and help me understand how I can change
> the amount of constant data space?
>
>
>
Reply by ●July 29, 20102010-07-29
Thanks! This was very helpful.
--- In r..., Matt Gauthier wrote:
>
> With separate instruction and data space enabled, the macro
> ROOT_SIZE_4K=0x## defines the size of root constant space allocated and root
> data space allocated. So if you have ROOT_SIZE_4K=0x06, you would split the
> combined data space and constant space down the middle. If you have
> ROOT_SIZE_4K=0x07, you would have 4K more constant space and 4K less data
> space. So you can play around with 0x## until you get the thing to
> compile. maybe start at 0x04 and work your way up.
>
> Here is a tech note that describes a few things.
> http://www.rabbit.com/support/ask_larry/2009/1208.shtml
> hope this helps,
> Matt
> On Thu, Jul 29, 2010 at 7:13 AM, tash_neo wrote:
>
> >
> >
> > I'm using a rabbit rcm5750 with 512K ram and 1M flash. I have separate
> > instruction and data space selected. Compiling to flash.
> >
> > I'm now getting and "Out of constant data space" message when I try to
> > compile. Searching the web it looks like I need to change the DATAORG define
> > to allow more data space, but I cant find this in any of the bios /library
> > files. Is this no longer supported with DC10.62 and RCM 5750?
> >
> > How can I increase the amount of constant data space?
> >
> > Where can I find some documentation about the different data sections and
> > setting their size? I found it described in the rabbit 5000 user manual that
> > there is root, data, stack and xmem, and that their sizes could be changed,
> > but no real explanation on how to do this.
> >
> > Can anyone shed some light on this and help me understand how I can change
> > the amount of constant data space?
> >
> >
>
--- In r..., Matt Gauthier wrote:
>
> With separate instruction and data space enabled, the macro
> ROOT_SIZE_4K=0x## defines the size of root constant space allocated and root
> data space allocated. So if you have ROOT_SIZE_4K=0x06, you would split the
> combined data space and constant space down the middle. If you have
> ROOT_SIZE_4K=0x07, you would have 4K more constant space and 4K less data
> space. So you can play around with 0x## until you get the thing to
> compile. maybe start at 0x04 and work your way up.
>
> Here is a tech note that describes a few things.
> http://www.rabbit.com/support/ask_larry/2009/1208.shtml
> hope this helps,
> Matt
> On Thu, Jul 29, 2010 at 7:13 AM, tash_neo wrote:
>
> >
> >
> > I'm using a rabbit rcm5750 with 512K ram and 1M flash. I have separate
> > instruction and data space selected. Compiling to flash.
> >
> > I'm now getting and "Out of constant data space" message when I try to
> > compile. Searching the web it looks like I need to change the DATAORG define
> > to allow more data space, but I cant find this in any of the bios /library
> > files. Is this no longer supported with DC10.62 and RCM 5750?
> >
> > How can I increase the amount of constant data space?
> >
> > Where can I find some documentation about the different data sections and
> > setting their size? I found it described in the rabbit 5000 user manual that
> > there is root, data, stack and xmem, and that their sizes could be changed,
> > but no real explanation on how to do this.
> >
> > Can anyone shed some light on this and help me understand how I can change
> > the amount of constant data space?
> >
> >
>