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.

OMAPL138 and dsplink debugging problem

Other Parts Discussed in Thread: OMAPL138

I am currently running the dsplink message app on an OMAPL138 based processor running the Angstrom Linux distribution.

The message app works exactly as desired when invoked from the linux command line.

I wanted to use gdbserver and eclipse to perform arm side debugging and have found a problem which I need some assistance on.

Debugging works fine and I can step through the message application code and set breakpoints inside of Eclipse until I reach the initial call to PROC_attach();

If I set a breakpoint to the statement immediately after the call to PROC_attach() as shown in the snippet below, the processor appears to stop, but Eclipse does not get control and I'm unable to issue any further debugging commands. As I said everything appears to be fine and breakpoints and single stepping work fine up until the point that the call to PROC_attach is made.

.
.
.
   if (DSP_SUCCEEDED (status)) {
        status = PROC_attach (processorId, NULL) ;
        if (DSP_FAILED (status)) {                 // <----------   breakpoint set here, never returns
            MESSAGE_1Print ("PROC_attach () failed. Status = [0x%x]\n",
                            status) ;
        }

 

Thanks

Rich Bagdazian