I use a MPC560xB with a JTAG sensor and I need to know what is the software instruction sending to the CPU to halt it when, in debug mode on CodeWarrior, we halt the target to access to memory and registers.
My goal is to write this instruction in my application and when it read it it "waits" and it starts after when I click on Run button of my debugger.
it is not clear to me - do you want to develop own JTAG interface? Or do you use JTAG probe from PEmicro together with CodeWarrior?
If you want to develop own JTAG interface, it is not so easy. Take a look at this application note for more details:
If you want to use some kind of JTAG interface (like from PEmicro), which one? And which SW/debugger do you use?