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.

Debugging the DSP side of a CE application using CCS

I have read the article Davinci Wiki about debugging codec in CCS  and I do as follows according the article.

 

  1. Start CCS.
  2. Select Debug->connect
  3. Select File->load symbols->load symbols only, and choose your DSP server executable as input file (typically a .x64P or .x674 file extension).
  4. Set your breakpoints. Open other source files in CCS as needed to accomplish this.
  5. Run the DSP (Press F5) to continue execution. Happy debugging!

 

when I Run the Dsp(Press F5),it returns as follows. I don't know why  and I'm using video_copy.

 


 


 

  • Make sure there's no gel file that's corrupting the DDR or something like that.  Are you executing your ARM application with CE_DSPDEBUG=1 set on the command line?  Like this:

    CE_DSPDEBUG=1 ./myapp

     

  • Thank you for replying me.

    I changed the gel file and executed my ARM application with CE_DSPDEBUG=1.It works well,but when I want to input  a char after  Hit enter to continue:”.I can't input.What should I do?

  • First try using it that way without actually connecting to the DSP.  See if you can continue.

    Are you sure the gel files are monkeying with the state of things?

    Is the device completely hung?  In other words, can you hit Ctrl-C and get back to your prompt or is the board locked up at that point?