DSPRelated.com
Forums

stack monitor utilities

Started by shiv...@yahoo.com January 31, 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 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"
To: c...
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