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.

Traces on UART when debugging with CCS

When I am debugging Ducati on OMAP4 in system mode using CCSv4, will the traces still be routed to UART or should I use CTools/STM to get these traces.

Will the traces be printed immediately the trace statement is executed or will there be a delay as the traces are buffered and flushed in a burst.

 

 

  • So to be clear if you are asking if the data exported from the STM can be routed to the UART the answer is no. You can use CCS 4.2.3 or 5.1 and an XDS560v2 STM emulator to capture the trace data exported from the pins of the device or you can use either CCS versions with any XDS and the ETB (Embedded Trace Buffer).

    There are instructions for both CCS cases at:

    http://processors.wiki.ti.com/index.php/Using_System_Trace_%28STM%29

    There is also a lot of general OMAP4 information at (including the previous link).

    http://processors.wiki.ti.com/index.php/OMAP4_Debug_and_Trace_Tools

    Using CCS the data is not streamed to the display. It is captured first and you can then either halt your application in which cases the trace display will be updated automatically if you have the Trace Control sync execution option enabled OR if you can't stop you app you can manually stop recording from the display which will cause it to be updated.

    Regards,

    Doug Deao