This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCSv4 - printf logs not shown - bug?

Expert 6635 points


Dear champs,

I am using the following Configuration: CCS 4.0.0.16000, BIOS 4.41.02.14

In the attached project, a very simple "hello world" LOG within a task:

the project works fine, I can see in the ROV the logs being generated under ti.bios.rov.LOG

but in CCS v4 there is nothing displayed in the printf logs, although the log trace is enabled in the RTA control panel

same for raw logs


I reproduced this on both simulators and evm. Is there anything I am missing or is this an IDE bug?

(the same program loaded in CCS 3.3 shows the logs on the BIOS log panel, even though I have to stop the target to see them)

 

Thanks for your feedback

Giancarlo

 

 

hello.zip
  • Giancarlo,

    Is your BIOS version 4.41.02.14 or 5.41.02.14?

    CCSv4.0 only supports run mode RTA (data retrieved while target is running) for BIOS5 & BIOS6. ROV has to be used when the target is halted.

    CCSv4.02 adds stop mode RTA for BIOS6 (not BIOS5).

    Regards,

    Imtaz.

     

  • Champs,


    I'm not able to make RTA work with CCS 4.1.1.00014 and DSP/BIOS 5.41.2.14

    It's a simple example, RTDX JTAG and RTA are enabled in the tcf file.  I can read the LOG_printf messages only using ROV in stop mode.
    But the LOG RTA windows are not updated even in stop mode.


      

    I went through the CCS 3.3. checklist on http://tiexpressdsp.com/wiki/index.php?title=DSP/BIOS_Real-time_Analysis_%28RTA%29_troubleshooting but it didn't help.

    Where can I look at? Is there any example that can be taken as reference?


    Thanks, best regards

    Massimo

  • Massimo,

    This issue looks related to this other thread:

    http://e2e.ti.com/support/embedded/f/355/p/30936/127222.aspx#127222

    Unfortunately looks like the issue is still mostly unresolved

    As I mentioned in that thread, with my simple hello world BIOS example, in v4, I only get Log_printf() output in the printf logs view after it exits main and drops into the idle loop for a bit. I'm not sure if that is expected behavior or not...

    ki