Using CodeTap to debug PPC and DSP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using CodeTap to debug PPC and DSP

394 Views
chandramills
Contributor I

We bought a CodeTap JTAG debugger and we want to debug an application that is running on the PowerPC and communicating with DSP0.  When we hook up the Tap, the PowerPC appears to stop running.  We can debug the DSP but the PowerPC is dead.  We have an application that loads and runs code on the DSP from the PowerPC and moves messages between the powerpc and the DSP.  How can we debug this application and have both sides running?

0 Kudos
1 Reply

307 Views
Pavel
NXP Employee
NXP Employee

If breakpoint is set in your program on PowerPC core, PowerPC core stops code execution.

It produces a problem for DSP operations.

Use different methods for debugging DSP and PowerPC. Often semaphores or flags variables are used if a few cores communicate in the same time. Reading these flags/semaphores using communication channel, programmer can control communication process.

 

Debug TAP can be used if your communication protocol provides connection and working if other side of communication stops and runs.


Best regards,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos