EmbeddedRelated.com
Forums

Out of xmem code space

Started by Steve September 23, 2003
What now?

Using RCM3000 (512k code, 512k ram), DC 8.20P. I can compile without
debug enabled and it compiles fine. THe map file reads:

Root code: 4c0b (19467)
Root data: 3f26 (16166)
Xmem code: 2c5e6 (181734)

Since I'm not using even half of the code space (512k) why can't I
compile with debug on? And is there anything I can do?

Steve


The RCM3000 has 2*256KB flashes instead of a single 512KB flash. Have you
edited RabbitBios.c to uncomment the "#define USE_2NDFLASH_CODE" line? (If
you do so, you will not be able to use a second flash file system.)

At 12:59 PM 9/23/03, you wrote:
>What now?
>
>Using RCM3000 (512k code, 512k ram), DC 8.20P. I can compile without
>debug enabled and it compiles fine. THe map file reads:
>
>Root code: 4c0b (19467)
>Root data: 3f26 (16166)
>Xmem code: 2c5e6 (181734)
>
>Since I'm not using even half of the code space (512k) why can't I
>compile with debug on? And is there anything I can do?
>
>Steve >
>
>To unsubscribe from this group, send an email to:
>rabbit-semi-unsubscribe@rabb... >
>">http://docs.yahoo.com/info/terms/


--- In rabbit-semi@rabb..., "Steve" <seecwriter@y...> wrote:
> What now?
>
> Using RCM3000 (512k code, 512k ram), DC 8.20P. I can compile without
> debug enabled and it compiles fine. THe map file reads:
>
> Root code: 4c0b (19467)
> Root data: 3f26 (16166)
> Xmem code: 2c5e6 (181734)
>
> Since I'm not using even half of the code space (512k) why can't I
> compile with debug on? And is there anything I can do?
>
> Steve

The RCM3000 has two 256k flash chips. To use the second you need to
define:

USE_2NDFLASH_CODE

To enable code in the second flash.

I think with newer versions yo can define it in your project settings.
Otherwise un-comment out the line in the bios.



Thanks, that was it. I forgot about the 2 flash deal. Is there
disadvantage to having both flash devices enabled, even if you don't
use both? I would think that that would be the default.
--- In rabbit-semi@rabb..., "shdesigns2003" <nospam@s...>
wrote:
> --- In rabbit-semi@rabb..., "Steve" <seecwriter@y...> wrote:
> > What now?
> >
> > Using RCM3000 (512k code, 512k ram), DC 8.20P. I can compile
without
> > debug enabled and it compiles fine. THe map file reads:
> >
> > Root code: 4c0b (19467)
> > Root data: 3f26 (16166)
> > Xmem code: 2c5e6 (181734)
> >
> > Since I'm not using even half of the code space (512k) why can't
I
> > compile with debug on? And is there anything I can do?
> >
> > Steve
>
> The RCM3000 has two 256k flash chips. To use the second you need to
> define:
>
> USE_2NDFLASH_CODE
>
> To enable code in the second flash.
>
> I think with newer versions yo can define it in your project
settings.
> Otherwise un-comment out the line in the bios.