DSPRelated.com
Forums

(No Subject)

Started by Chirag Dadlani July 9, 2004

 
Hello !!
I want to load a program whose .text section is 109184 hex words long.
The load is failing and the error msg tells me to check the linker tab and memory map. How do i change the memory map and allocate sufficient memory for all sections of my program,
Urgent help needed,
Chirag

Please take time off to read my resume.
http://www.geocities.com/cdad1984


Chirag-

Is your linker command (*.cmd) file properly configured?

Just check where is your .text section allocated and wht is the size
of that memory.
Also remember, considering the size of your .text section, you mite
have to assign .text section to external memory and set the length to
greater than 109184 hex words .

Hope this helps.
-Tarang On 9 Jul 2004 07:11:56 -0000, Chirag Dadlani <> wrote:
>
> Hello !!
> I want to load a program whose .text section is 109184 hex words long.
> The load is failing and the error msg tells me to check the linker tab and
memory map. How do i change the memory map and allocate sufficient memory for
all sections of my program,
> Urgent help needed,
> Chirag
>
> Please take time off to read my resume.
> http://www.geocities.com/cdad1984




Hi Chirag,

What are using. Simulator or emulator?
In case of simulator, go to Options->memory map and
allocate the entire range as RAM.

In case of emulator(board), you would need to study
the memory map of the specific board (provided in
accompanying documentation) and modify the linker
command file accordingly. Since your text segment
seems to be too large, my guess is that it might not
be fitting in your internal Ram, and you might need to
partition it and place some of it in external memory. Regards
Piyush

--- Chirag Dadlani <> wrote:
>
> Hello !!
> I want to load a program whose .text section is
> 109184 hex words long.
> The load is failing and the error msg tells me to
> check the linker tab and memory map. How do i change
> the memory map and allocate sufficient memory for
> all sections of my program,
> Urgent help needed,
> Chirag
>
> Please take time off to read my resume.
> http://www.geocities.com/cdad1984


=====
**************************************
And---"A blind Understanding!" Heav'n replied.

Piyush Kaul
http://www.geocities.com/piyushkaul
__________________________________



Chirag-

Follow what Piyush has told and determine the memory map. Then
determine how much you can allocate and where post that details with
ur version of cmd file and someone from the group mite b able to
comment on that.

Hope this helps
-Tarang On Fri, 9 Jul 2004 22:06:10 -0700 (PDT), piyush kaul
<> wrote:
> Hi Chirag,
>
> What are using. Simulator or emulator?
> In case of simulator, go to Options->memory map and
> allocate the entire range as RAM.
>
> In case of emulator(board), you would need to study
> the memory map of the specific board (provided in
> accompanying documentation) and modify the linker
> command file accordingly. Since your text segment
> seems to be too large, my guess is that it might not
> be fitting in your internal Ram, and you might need to
> partition it and place some of it in external memory.
>
> Regards
> Piyush
>
> --- Chirag Dadlani <> wrote:
> >
> > Hello !!
> > I want to load a program whose .text section is
> > 109184 hex words long.
> > The load is failing and the error msg tells me to
> > check the linker tab and memory map. How do i change
> > the memory map and allocate sufficient memory for
> > all sections of my program,
> > Urgent help needed,
> > Chirag
> >
> > Please take time off to read my resume.
> > http://www.geocities.com/cdad1984 > =====
> **************************************
> And---"A blind Understanding!" Heav'n replied.
>
> Piyush Kaul
> http://www.geocities.com/piyushkaul
>
> __________________________________
>
> _____________________________________
> 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/c6x
>
> Other Groups: http://www.dsprelated.com
>
> Yahoo! Groups Links