DSPRelated.com
Forums

LOG_printf

Started by Nir Drang December 7, 2004
LOG_printf

Hi,

maybe someone can help me on this one.

i call the LOG_printf every ~30ms .

all works fine , after a while (could be even 1 hour) i can't see any more

LOG_printf in the RTA Msg log panel.

i placed a breakpoint in the IDL function and it is running.

any explenation?

Thanks,

Nir.




Hello Nir,
 
Your problem may not be this easy, but...
 
Are you set up for a circular buffer?? If your buffer is 'fixed', logging will terminate when it is full.
 
mikedunn

Nir Drang <n...@scopus.net> wrote:

Hi,

maybe someone can help me on this one.

i call the LOG_printf every ~30ms .

all works fine , after a while (could be even 1 hour) i can't see any more

LOG_printf in the RTA Msg log panel.

i placed a breakpoint in the IDL function and it is running.

any explenation?

Thanks,

Nir.



_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com




Hi Mike,
yeah i do set up for circular.
when i halt the processor i can see the LOG_printfs that i couldn't see in runtime.
again IDL loop is called.
Nir.
-----Original Message-----
From: Mike Dunn [mailto:m...@sbcglobal.net]
Sent: Tuesday, December 07, 2004 18:33
To: Nir Drang; 'C6x' (E-mail)
Subject: Re: [c6x] LOG_printf

Hello Nir,
 
Your problem may not be this easy, but...
 
Are you set up for a circular buffer?? If your buffer is 'fixed', logging will terminate when it is full.
 
mikedunn

Nir Drang <n...@scopus.net> wrote:

Hi,

maybe someone can help me on this one.

i call the LOG_printf every ~30ms .

all works fine , after a while (could be even 1 hour) i can't see any more

LOG_printf in the RTA Msg log panel.

i placed a breakpoint in the IDL function and it is running.

any explenation?

Thanks,

Nir.



_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com




_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com


Nir,
 
I am not sure what the problem is - if the data is in the buffer CCS 'should' read it.  The info below may help to change the symptom or give a clue.
 
You are calling LOG_printf every 30 secs - do you log a single entry at this time??  [ie, If the log fails to update after an hour, there would only be 120 entries logged]
 
Have you slowed down the host refresh rate??
 
Do some of the TI examples run and update continuously?? [like the volume4 tutorial]
 
Do you have any "stdio printf's" in your code?? [the answer should be no]
 
Which c6x processor and version of CCS are you using??
 
mikedunn

Nir Drang <n...@scopus.net> wrote:
Hi Mike,
yeah i do set up for circular.
when i halt the processor i can see the LOG_printfs that i couldn't see in runtime.
again IDL loop is called.
Nir.
-----Original Message-----
From: Mike Dunn [mailto:m...@sbcglobal.net]
Sent: Tuesday, December 07, 2004 18:33
To: Nir Drang; 'C6x' (E-mail)
Subject: Re: [c6x] LOG_printf

Hello Nir,
 
Your problem may not be this easy, but...
 
Are you set up for a circular buffer?? If your buffer is 'fixed', logging will terminate when it is full.
 
mikedunn

Nir Drang <n...@scopus.net> wrote:

Hi,

maybe someone can help me on this one.

i call the LOG_printf every ~30ms .

all works fine , after a while (could be even 1 hour) i can't see any more

LOG_printf in the RTA Msg log panel.

i placed a breakpoint in the IDL function and it is running.

any explenation?

Thanks,

Nir.



_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com




_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com

_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com




Usually the LOG messages, as well as the CPU performance graph and other RTDX stop showing when the DSP is close to 100% utilization. Check if the CPU graph is still working or not when the problem appears.
 
Pablo
-----Mensaje original-----
De: Nir Drang [mailto:n...@scopus.net]
Enviado el: martes, 07 de diciembre de 2004 17:37
Para: Mike Dunn; 'C6x' (E-mail)
Asunto: RE: [c6x] LOG_printf

Hi Mike,
yeah i do set up for circular.
when i halt the processor i can see the LOG_printfs that i couldn't see in runtime.
again IDL loop is called.
Nir.
-----Original Message-----
From: Mike Dunn [mailto:m...@sbcglobal.net]
Sent: Tuesday, December 07, 2004 18:33
To: Nir Drang; 'C6x' (E-mail)
Subject: Re: [c6x] LOG_printf

Hello Nir,
 
Your problem may not be this easy, but...
 
Are you set up for a circular buffer?? If your buffer is 'fixed', logging will terminate when it is full.
 
mikedunn

Nir Drang <n...@scopus.net> wrote:

Hi,

maybe someone can help me on this one.

i call the LOG_printf every ~30ms .

all works fine , after a while (could be even 1 hour) i can't see any more

LOG_printf in the RTA Msg log panel.

i placed a breakpoint in the IDL function and it is running.

any explenation?

Thanks,

Nir.



_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com




_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com

_____________________________________
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 c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com