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 | LOG_printf

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.






(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.



_____________________________________







(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.
-----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.



_____________________________________





_____________________________________





(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.
-----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.



_____________________________________





_____________________________________


_____________________________________







(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
-----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.



_____________________________________





_____________________________________


_____________________________________







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