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.

How to use printf in DSP side?

Hi,

I am a beginner of 8168.

I want to debug my codec. How can I use printf to print debug information?

use GT_Trace?

I know it will show lots of debug information when I use CE_CHECK and CE_DEBUG options to run the ARM APP.(Honestly, I cannot understand that debug information.)

But there isn't any thing I want to print out in DSP side.

Can I just use stdio.h, and printf function to print out something?

Is there any options I need when I compile the codec?

 

In this URL http://processors.wiki.ti.com/index.php?title=Debugging_the_DSP_side_of_a_CE_application_on_DaVinci_using_CCS,

it mentioned a method about how to debug the DSP side.

I don't know whether I really understand that method or not.

I think it means that, use a getch() to stop ARM application,

and load the x674 file which can be compiled by the DSP server project as a symbol to DSP core using CCS and set some breakpoints.

Then, hit any key let ARM core run again.

Is that mean I should make the codec and DSP server project using CCS software?

Now I just studied the examples in codec engine. So I can only make these under linux using EZSDK.

How can I import the examples (codec and server) into CCS as a project?

 

Can someone help me? 

Thanks.

 

yours

wang