Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | DSP/BIOS stack doubts

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

DSP/BIOS stack doubts - Giovanni Parodi - Nov 28 8:21:40 2006

Hello everybody,
I have a doubt about stack in DSP/BIOS tasks.
In fact I'm currently using a DM642 based platform and I have these doubts:
1)    the stack size of task seems to be limited to about 32 KB. Is this
correct? Why is used this threshold?
2)    how is allocated the stack? It seems that there is some hole in stack, but
I don't know which alignment strategies are adopted by the DSP/BIOS. 
Is there someone that can provide me some more info and may be some document
that explain these concerns?
Thanks a lot Gio

______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: DSP/BIOS stack doubts - tien vuong - Nov 29 9:28:44 2006

Hello, Gio

--- Giovanni Parodi <g...@yahoo.it> wrote:

> Hello everybody,
> I have a doubt about stack in DSP/BIOS tasks.
> In fact I'm currently using a DM642 based platform
> and I have these doubts:
> 1)    the stack size of task seems to be limited to
> about 32 KB. Is this correct? Why is used this
> threshold?
> 2)    how is allocated the stack? It seems that
> there is some hole in stack, but I don't know which
> alignment strategies are adopted by the DSP/BIOS. 
> Is there someone that can provide me some more info
> and may be some document that explain these
> concerns?

If DSP/BIOS for DM642 is same with DSP/BIOS for C6711,
in which I am working, you will find stack setting for
TSK object in its Properties page (right mouse over
your TSK object and select Properties). Documents:
DSP/BIOS API Reference Guide and DSP/BIOS User's Guide.





(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: DSP/BIOS stack doubts - greg...@yahoo.com - Dec 11 8:16:46 2006

 Today my program on C6713 wasn't working when I INCREASED task stack size
( from 4k to 16k ) !! 

Anyone met/solved such problem ?

The reason is very difficult to trace because it somehow spoils UART
communication, but I can't find how. I checked map files for projects with
different stacks sizes - they are exactly the same except the stack size and all
stuff placed after the stack which is moved forward. 

And related question - if each task has its own stack, what is than
"run-time stack" ?

   Gregor

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )