Hello...
try to change your CMD-file like this:
see especially " .text :> SDRAM "
because by default there is IRAM....and there is not so much space as in
external RAM
hope this helps,
Marko
*************************************************************
/*C6xdsk.cmd Generic Linker command file*/
MEMORY { VECS: org
= 0h, len
= 0x220
IRAM: org = 0x00000220, len = 0x0000FDC0
/*internal memory*/ SDRAM: org =
0x80000000, len = 0x01000000 /*external memory*/
FLASH: org = 0x90000000, len = 0x00020000 /*flash
memory*/ }
SECTIONS {
vectors :> VECS .text :>
SDRAM .bss :> IRAM
.cinit :> IRAM .stack :> IRAM .sysmem :> SDRAM .const :> IRAM .switch :> IRAM .far :>
SDRAM .cio :> SDRAM } ******************************************************
> -----Original Message----- > From: Yash Bhawsar
[mailto:y...@yahoo.com] > Sent: Sunday, March 23, 2003 9:19 PM > To: c...@yahoogroups.com; C...@yahoogroups.com > Subject: [c6x]
Problem in CMD File Creation for Large Memory > Model (C6701)> Hello
All, > I am trying to open a file using fopen(),fscanf() etc. >
on a project developed for C6701 EVM. > However it seems that the
memory model is small. The > error I get is "error: can't allocate
'.text'" > Can anyone specify what is the linker command file
for > large memory model ? > The file I am trying to open has a
size of 686kb. I > tried with running with a smaller size as well. It
is > included in project. > I really appreciate if someone can
help me out. > Thanks in advance > Yash > >
FYI: > I am attaching the project folder for reference. > > _____________________________________ > 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 c...@yahoogroups.com > > To Post: Send an email to c...@yahoogroups.com > > To
Leave: Send an email to c...@yahoogroups.com > > Archives:
http://www.yahoogroups.com/group/c6x > > Other Groups:
http://www.dsprelated.com> _____________________________________ 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 c...@yahoogroups.com
To Post: Send
an email to c...@yahoogroups.com
To Leave: Send an email to
c...@yahoogroups.com
Archives:
http://www.yahoogroups.com/group/c6x
Other Groups:
http://www.dsprelated.com
Gesendet von
http://mail.yahoo.de.
250 Visitenkarten GRATIS! Erstellen Sie Ihre eigenen vollfarbigen
Profi-Visitenkarten einfach Online. Nur bei www.vistaprint.de.
|