DSPRelated.com
Forums

5416 .text Memory Problems above 0x4000

Started by g_rossano123 July 10, 2003
I just went from a 5402 to a 5416 because the 5416 has more on chip
RAM.

I set the MP/MC=1 and OVLY=1. If my .text fits below 0x4000,
everything is fine. If .text grows so that some is below 0x4000 and
some is above 0x4000 (but below 0x5000) I keep getting runtime
errors. The linking is always OK no matter what.

Is there something special I need to do to use 0x4000 to 0x7FFF?
Can anyone suggest anything to help?

Thanks!



Gregory-

> I just went from a 5402 to a 5416 because the 5416 has more on chip
> RAM.
>
> I set the MP/MC=1 and OVLY=1. If my .text fits below 0x4000,
> everything is fine. If .text grows so that some is below 0x4000 and
> some is above 0x4000 (but below 0x5000) I keep getting runtime
> errors. The linking is always OK no matter what.
>
> Is there something special I need to do to use 0x4000 to 0x7FFF?
> Can anyone suggest anything to help?

With C5416 there should be no issues with prog mem until you hit 0x8000, then
you
have possible DROM and other data mem related considerations. My guess would be
that
you have some buffers or other memory usage made outside the scope of what the
CCS
linker knows, and there is a conflict. Please study the .map file carefully and
see
if you can get some clue as to what else might be using mem at 0x4000.

Jeff Brower
system engineer
Signalogic



Can you post your map file? It would help.

Carl Chipman
Nomadics, Inc.

http://www.nomadics.com -----Original Message-----
From: g_rossano123 [mailto:]
Sent: Thursday, July 10, 2003 7:58 AM
To:
Subject: [c54x] 5416 .text Memory Problems above 0x4000

I just went from a 5402 to a 5416 because the 5416 has more on chip
RAM.

I set the MP/MC=1 and OVLY=1. If my .text fits below 0x4000,
everything is fine. If .text grows so that some is below 0x4000 and
some is above 0x4000 (but below 0x5000) I keep getting runtime
errors. The linking is always OK no matter what.

Is there something special I need to do to use 0x4000 to 0x7FFF?
Can anyone suggest anything to help?

Thanks!
_____________________________________
Note: If you do a simple "reply" with your email client, only the author
of this message will receive your answer. You need to do a "reply all"
if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c54x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/