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

Discussion Groups

Discussion Groups | TMS320C6x | stack monitor utilities

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

  

Post a new Thread

stack monitor utilities - shiv...@yahoo.com - Jan 31 8:28:37 2008



Hi guys,

This is a querry related to the STACK monitoring on 62x DSP. 

DSP system running perfectly with a DSP BIOS. It has a PRD defined to run at 10 ms. I would
like to know, how I can monitor the STACK and find if it is getting corrupted/overflowing
anytime. 

Please help me find the solutions for the following:

1) How can I read the stack content?
2) How can I check if stack is corrupted?

regards,
Shiva

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution
for Commercial & Consumer End Equipment: www.ti.com/dm6467



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

Re: stack monitor utilities - Andrew Elder - Jan 31 11:39:15 2008

You could look for the .stack section in the map file and then view that area of memory using
CCS. Tasks can use TSK_stat() to retrieve stack utilization, but I'm fairly sure that a PRD
function uses the system stack.

- Andrew E.

----- Original Message ----
From: "s...@yahoo.com" <s...@yahoo.com>
To: c...@yahoogroups.com
Sent: Thursday, January 31, 2008 2:07:56 AM
Subject: [c6x] stack monitor utilities

Hi 
guys,

This 
is 
a 
querry 
related 
to 
the 
STACK 
monitoring 
on 
62x 
DSP. 

DSP 
system 
running 
perfectly 
with 
a 
DSP 
BIOS. 
It 
has 
a 
PRD 
defined 
to 
run 
at 
10 
ms. 
I 
would 
like 
to 
know, 
how 
I 
can 
monitor 
the 
STACK 
and 
find 
if 
it 
is 
getting 
corrupted/overflowing 
anytime. 

Please 
help 
me 
find 
the 
solutions 
for 
the 
following:

1) 
How 
can 
I 
read 
the 
stack 
content?
2) 
How 
can 
I 
check 
if 
stack 
is 
corrupted?

regards,
Shiva

Check 
Out 
Industry's 
First 
Single-Chip, 
Multi-Format, 
Real-Time 
HD 
Video 
Transcoding 
Solution 
for 
Commercial 
& 
Consumer 
End 
Equipment: 
www.ti.com/dm6467



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