Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
Post a new Thread
LOG_printf - Nir Drang - Dec 7 15:47:00 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.
|
|
______________________________
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 )
Re: LOG_printf - Mike Dunn - Dec 7 16:32:00 2004
|
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.
_____________________________________
|
______________________________
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 )
RE: LOG_printf - Nir Drang - Dec 7 16:36:00 2004
|
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.
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.
_____________________________________
_____________________________________
|
|
______________________________
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: LOG_printf - Mike Dunn - Dec 8 5:51:00 2004
|
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.
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.
_____________________________________
_____________________________________
_____________________________________
|
______________________________
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 )
RE: LOG_printf - Pablo Fraile - Dec 9 7:57:00 2004
|
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
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.
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.
_____________________________________
_____________________________________
_____________________________________
|
______________________________
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 )