Chirag- My two cents. Looks like you are trying to load a 100 kb code, like g729a into the internal memory of a processor like 6711. If thats the case then your problem figures: 1]Optimze your code size vs execution speed: weight it more towards code size, if the mips requirement allows that liberty 2] Eliminate all unnecessary printf's and other File I/O kind of functions(they consume a lot of memory and MIPS too) 3]Put all un-eliminatable(?) rts functions into external memory instead of internal memory by saying: .rtstext >SDRAM .rtsbss > SDRAM .rtsdata > SDRAM in your linker command file. 4] Avoid functions calls to basic_op by making inlining them, optimsed with intrinsics 5]Dont use -O3 -bhooshan >From: Tarang Dadia <> >To: piyush kaul <> >CC: Chirag Dadlani <>, , > >Subject: Re: [c6x] (unknown) >Date: Sun, 11 Jul 2004 00:56:30 -0700 > >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 > > > > > > > > > > >_____________________________________ >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 _________________________________________________________________ Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/46246.asp Post your CV on naukri.com today. |
|