Reply by aman_jpn October 19, 20022002-10-19
Hi Quang

Get the address of the variable [Will be on stack as
this is a local variable]

Check that memory location in memory window. Never
worked on C6x but had same problem on C55.

Problem was the watch window always try to locate data
on the first page of C55 memory.

Hope this helps.

Aman --- In code-comp@y..., Quang Thai <quang_l_thai@y...> wrote:
> Hi everyone,
>
> My name is Quang and I've just subscribed recently to
> this list. I'm a student at the University of
> Technology, Sydney.
>
> I was wondering if anyone is aware of any known
> problems or issues with regards to using the Watch
> Window to monitor local variables in a DSP program
> that is running? I'm using CCS v1.23, and a C6711
> DSK.
>
> There's this variable that I am trying to monitor that
> should only ever have two values - 0 or 1. When this
> variable is local, I often see strange values appear
> for this variable when I refresh the Watch Window
> (e.g. xxxx). If however, I make the variable GLOBAL
> instead, then I don't seem to have this problem.
>
> Do I have to do anything special in order to Watch
> local variables correctly? It seems pretty pointless
> to me if it can only be used to monitor global
> variables.
>
> Thanks,
> Quang


Reply by Quang Thai October 18, 20022002-10-18
Hi everyone,

My name is Quang and I've just subscribed recently to
this list. I'm a student at the University of
Technology, Sydney.

I was wondering if anyone is aware of any known
problems or issues with regards to using the Watch
Window to monitor local variables in a DSP program
that is running? I'm using CCS v1.23, and a C6711
DSK.

There's this variable that I am trying to monitor that
should only ever have two values - 0 or 1. When this
variable is local, I often see strange values appear
for this variable when I refresh the Watch Window
(e.g. xxxx). If however, I make the variable GLOBAL
instead, then I don't seem to have this problem.

Do I have to do anything special in order to Watch
local variables correctly? It seems pretty pointless
to me if it can only be used to monitor global
variables.

Thanks,
Quang