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. | |||
| |||
|
Problem in CMD File Creation for Large Memory Model (C6701)
The error usually means that you have run out of memory to store your
code. Try looking at your .map file to see what is taking up so much space. Bill > -----Original Message----- > From: Yash Bhawsar [mailto:] > Sent: Sunday, March 23, 2003 9:19 PM > To: ; > 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 > > 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 > ">http://docs.yahoo.com/info/terms/ |
|
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 SECTIONS Gesendet von http://mail.yahoo.de. 250 Visitenkarten GRATIS! Erstellen Sie Ihre eigenen vollfarbigen Profi-Visitenkarten einfach Online. Nur bei www.vistaprint.de. |