hi,
is there any limitation on the size of the stcak on 6X EVM. Can I have a
stack size of as high as 15kB? what is the effect of putting the stack on SDRAM
apart from slowing down the execution of the code?
Rajesh
Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.
Download now. |
|
stack size
Rajesh, I fairly sure that a large stack will work fine. I haven't tried it, but I do know that the stack pointer is 32bits, so you should be ok. Having the stack in SDRAM will slow down the code - you are correct. I think you would want to turn on L2 cache if you are planning to do this. - Andrew E. At 04:56 AM 1/22/2004 +0000, Raj wrote: >hi, >is there any limitation on the size of the stcak on 6X EVM. Can I have a stack size of as high as 15kB? what is the effect of putting the stack on SDRAM apart from slowing down the execution of the code? >Rajesh > ><http://in.mobile.yahoo.com>Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more. Download <http://in.mobile.yahoo.com>now. > >_____________________________________ >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" target="_blank" rel="nofollow">http://www.yahoogroups.com/group/c6x>http://www.yahoogroups.com/group/c6x > >Other Groups: <http://www.dsprelated.com" target="_blank" rel="nofollow">http://www.dsprelated.com>http://www.dsprelated.com > > >---------- >Yahoo! Groups Links > * To |
Hello Rajesh,
Andrew is correct, the c6x devices can handle large stacks.
I will offer a couple of comments:
If your board is a TI 6201 or 6701 EVM, you have three logical places to
put the stack
1. SDRAM - the largest and slowest 2. SBSRAM - faster but smaller
3. Internal Data RAM - 64KBytes, the smallest and fastest
I would suggest using SBSRAM [unless you can squeeze into the internal data
RAM].
Any external RAM will add some latency for every stack access. After
you get your app running, you can rearrange where your stack lands in memory and
measure the results.
mikedunn
Raj <r...@yahoo.co.in> wrote:
|