Hi, We are using, "44MHz RCM 3200, 256K+512K SRAM, 512K flash" with Dynamic C 9.21. At the time of compilation, it gives the error : "Out of root code space, try moving code to XMEM". So, it can be concluded that code size is more than 256k and therfore it gives above mentioned error. We have checked jumper setting for accessing 512k flash which is OK. Still it seems that we are unable to access 512k flash. Please let us know how to access this 512k flash. Are there any changes required in the specific library file so that we can access this 512k flash? Awaiting a early reply. Thanks & Regards, Sumeet Pawnikar
Query for accessing 512k flash memory of RCM 3200
Started by ●March 23, 2006
Reply by ●March 23, 20062006-03-23
Root code space is the bottom 64k - you're limited by the 16bit
address
space of the rabbit processor, not the 256k flash.
Try putting
#memmap xmem
at the top of your code and it will probably fix your problem.
Will
> -----Original Message-----
> From: rabbit-semi@rabb...
> [mailto:rabbit-semi@rabb...] On Behalf Of sumeet_srp
> Sent: Thursday, March 23, 2006 10:48
> To: rabbit-semi@rabb...
> Subject: [rabbit-semi] Query for accessing 512k flash memory
> of RCM 3200
>
> Hi,
>
> We are using, "44MHz RCM 3200, 256K+512K SRAM, 512K flash"
> with Dynamic C 9.21.
>
> At the time of compilation, it gives the error : "Out of root
> code space, try moving code to XMEM".
>
> So, it can be concluded that code size is more than 256k and
> therfore it gives above mentioned error.
>
> We have checked jumper setting for accessing 512k flash which is OK.
> Still it seems that we are unable to access 512k flash.
>
> Please let us know how to access this 512k flash.
>
> Are there any changes required in the specific library file
> so that we can access this 512k flash?
>
> Awaiting a early reply.
>
>
>
>
> Thanks & Regards,
>
> Sumeet Pawnikar
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
Reply by ●March 23, 20062006-03-23
Do a search on the Rabbit web knowledge base. There are a number of ways
to solve this problem including the #memmap xmem one already suggested.
sumeet_srp wrote:
> Hi,
>
> We are using, "44MHz RCM 3200, 256K+512K SRAM, 512K flash"
with
> Dynamic C 9.21.
>
> At the time of compilation, it gives the error : "Out of root code
> space, try moving code to XMEM".
>
> So, it can be concluded that code size is more than 256k and therfore
> it gives above mentioned error.
>
> We have checked jumper setting for accessing 512k flash which is OK.
> Still it seems that we are unable to access 512k flash.
>
> Please let us know how to access this 512k flash.
>
> Are there any changes required in the specific library file so that
> we can access this 512k flash?
>
> Awaiting a early reply.
>
>
>
>
> Thanks & Regards,
>
> Sumeet Pawnikar
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
Reply by ●March 27, 20062006-03-27
Hi,
Thanks for reply. I got the point you want to tell.
But I am not understanding why I can only use 50% out of the physical
memory.
RCM3200 has 512kb code memory and Dynamic C only allows 256kb only.
If it is problem of not using xmem, it would have been appear after
64kb
usage.
Please give more help and pointers to document if you have.
Mean while I will go through #memmap xmem.
Thanks in advance.
Regards,
Sumeet.
--- In r...@yahoogroups.com, Scott Morris
wrote:
>
> Do a search on the Rabbit web knowledge base. There are a number of
ways
> to solve this problem including the #memmap xmem one
already
suggested.
>
> sumeet_srp wrote:
> > Hi,
> >
> > We are using, "44MHz RCM 3200, 256K+512K SRAM, 512K flash" with
> > Dynamic C 9.21.
> >
> > At the time of compilation, it gives the error : "Out of root
code
> > space, try moving code to XMEM".
> >
> > So, it can be concluded that code size is more than 256k and
therfore
> > it gives above mentioned error.
> >
> > We have checked jumper setting for accessing 512k flash which is
OK.
> > Still it seems that we are unable to access 512k
flash.
> >
> > Please let us know how to access this 512k flash.
> >
> > Are there any changes required in the specific library file so
that
> > we can access this 512k flash?
> >
> > Awaiting a early reply.
> >
> >
> >
> >
> > Thanks & Regards,
> >
> > Sumeet Pawnikar
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
Yahoo! Groups Links
Reply by ●March 27, 20062006-03-27
Hi,
Thanks for reply. I got the point you want to tell.
But I am not understanding why I can only use 50% out of the physical
memory.
RCM3200 has 512kb code memory and Dynamic C only allows 256kb only.
If it is problem of not using xmem, it would have been appear after
64kb
usage.
Please give more help and pointers to document if you have.
Mean while I will go through #memmap xmem.
Thanks in advance.
Regards,
Sumeet.
--- In r...@yahoogroups.com, "Will Keogh" wrote:
>
> Root code space is the bottom 64k - you're limited by the 16bit
address
> space of the rabbit processor, not the 256k flash.
>
> Try putting
> #memmap xmem
> at the top of your code and it will probably fix your problem.
>
> Will
>
> > -----Original Message-----
> > From: r...@yahoogroups.com
> > [mailto:r...@yahoogroups.com] On Behalf Of sumeet_srp
> > Sent: Thursday, March 23, 2006 10:48
> > To: r...@yahoogroups.com
> > Subject: [rabbit-semi] Query for accessing 512k flash memory
> > of RCM 3200
> >
> > Hi,
> >
> > We are using, "44MHz RCM 3200, 256K+512K SRAM, 512K flash"
> > with Dynamic C 9.21.
> >
> > At the time of compilation, it gives the error : "Out of root
> > code space, try moving code to XMEM".
> >
> > So, it can be concluded that code size is more than 256k and
> > therfore it gives above mentioned error.
> >
> > We have checked jumper setting for accessing 512k flash which is
OK.
> > Still it seems that we are unable to access 512k
flash.
> >
> > Please let us know how to access this 512k flash.
> >
> > Are there any changes required in the specific library file
> > so that we can access this 512k flash?
> >
> > Awaiting a early reply.
> >
> >
> >
> >
> > Thanks & Regards,
> >
> > Sumeet Pawnikar
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
Yahoo! Groups Links
Reply by ●March 27, 20062006-03-27
It sounds to me like you have the wrong core and options selected in the
"Project Options->Targetless->Board Selection" field of Dynamic C. You
can change the RAM options under the Specify Parameters tab and then
define your own target if the target is not defined as you claim. My DC
(8.31) says the 3200 is only 256K RAM. It has 512K FLASH.
sumeet_srp wrote:
> Hi,
>
> Thanks for reply. I got the point you want to tell.
>
> But I am not understanding why I can only use 50% out of the physical
> memory.
> RCM3200 has 512kb code memory and Dynamic C only allows 256kb only.
> If it is problem of not using xmem, it would have been appear after
> 64kb
>
> usage.
>
> Please give more help and pointers to document if you have.
>
> Mean while I will go through #memmap xmem.
>
> Thanks in advance.
>
> Regards,
> Sumeet.
> --- In r...@yahoogroups.com, Scott Morris
> wrote:
>
>> Do a search on the Rabbit web knowledge base. There are a number of
>>
> ways
>
>> to solve this problem including the #memmap xmem one already
>>
> suggested.
>
>> sumeet_srp wrote:
>>
>>> Hi,
>>>
>>> We are using, "44MHz RCM 3200, 256K+512K SRAM, 512K flash" with
>>> Dynamic C 9.21.
>>>
>>> At the time of compilation, it gives the error : "Out of root
>>>
> code
>
>>> space, try moving code to XMEM".
>>>
>>> So, it can be concluded that code size is more than 256k and
>>>
> therfore
>
>>> it gives above mentioned error.
>>>
>>> We have checked jumper setting for accessing 512k flash which is
>>>
> OK.
>
>>> Still it seems that we are unable to access 512k flash.
>>>
>>> Please let us know how to access this 512k flash.
>>>
>>> Are there any changes required in the specific library file so
>>>
> that
>
>>> we can access this 512k flash?
>>>
>>> Awaiting a early reply.
>>>
>>>
>>>
>>>
>>> Thanks & Regards,
>>>
>>> Sumeet Pawnikar
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
> Yahoo! Groups Links
>
>
>
Yahoo! Groups Links
Reply by ●March 27, 20062006-03-27
Scott Morris wrote:
> It sounds to me like you have the wrong core and
options selected in the
> "Project Options->Targetless->Board Selection" field of Dynamic C. You
> can change the RAM options under the Specify Parameters tab and then
> define your own target if the target is not defined as you claim. My DC
> (8.31) says the 3200 is only 256K RAM. It has 512K FLASH.
>
The board selection is not really complete.The 3200 has 512k fast RAM,
256k BBRAM and 512k Flash.
The compile mode effects amount of RAM:
Compile to flash: 512k code + 256k RAM, 512k fast RAM not used.
Compile to RAM: 256k code+data max. (fast RAM not used.)
Compile to FLash, Run in RAM: code+data in 512k fast RAM. Reast of fast
RAM and 256k BBRAM available for xmem data.
Compile to flash, run in RAM is really the only mode you want to use, it
is the only one that maps all of RAM in the memory map and runs code 32%
faster than the other modes.
------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns | PGP Key 0xE98DDC48 |
| http://www.shdesigns.org |
------
today's fortune
If you notice that a person is deceiving you, they must not be
deceiving you very well.
Yahoo! Groups Links
Reply by ●March 27, 20062006-03-27
Hi, Thanks for reply. I got the point you want to tell. But I am not understanding why I can only use 50% out of the physical memory. RCM3200 has 512kb code memory and Dynamic C only allows 256kb only. If it is problem of not using xmem, it would have been appear after 64kb usage. Please give more help and pointers to document if you have. Mean while I will go through #memmap xmem. Thanks in advance. Regards, Sumeet. --- In rabbit-semi@rabb..., Scott Morris <scott.morris@...> wrote: > > Do a search on the Rabbit web knowledge base. There are a number of ways > to solve this problem including the #memmap xmem one already suggested. > > sumeet_srp wrote: > > Hi, > > > > We are using, "44MHz RCM 3200, 256K+512K SRAM, 512K flash" with > > Dynamic C 9.21. > > > > At the time of compilation, it gives the error : "Out of root code > > space, try moving code to XMEM". > > > > So, it can be concluded that code size is more than 256k and therfore > > it gives above mentioned error. > > > > We have checked jumper setting for accessing 512k flash which is OK. > > Still it seems that we are unable to access 512k flash. > > > > Please let us know how to access this 512k flash. > > > > Are there any changes required in the specific library file so that > > we can access this 512k flash? > > > > Awaiting a early reply. > > > > > > > > > > Thanks & Regards, > > > > Sumeet Pawnikar > > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > >
Reply by ●March 27, 20062006-03-27
If I am not wrong, you need to enable the second flash in bios. I
suspect thats
the problem you are facing.
Quoting sumeet_srp :
> Hi,
>
> Thanks for reply. I got the point you want to tell.
>
> But I am not understanding why I can only use 50% out of the physical
>
> memory.
> RCM3200 has 512kb code memory and Dynamic C only allows 256kb only.
> If it is problem of not using xmem, it would have been appear after
> 64kb
>
> usage.
>
> Please give more help and pointers to document if you have.
>
> Mean while I will go through #memmap xmem.
>
> Thanks in advance.
>
> Regards,
> Sumeet.
Yahoo! Groups Links
Reply by ●March 27, 20062006-03-27
k...@gmail.com wrote:
> If I am not wrong, you need to enable the second
flash in bios. I
> suspect thats
> the problem you are facing.
>
The 3200 has only one, 512k flash chip. Only boards with two 256k flash
chips need this option.
------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns | PGP Key 0xE98DDC48 |
| http://www.shdesigns.org |
------
today's fortune
Logic is the chastity belt of the mind!
Yahoo! Groups Links