Debug MPC560xB - halt instruction

cancel
Showing results for 
Search instead for 
Did you mean: 

Debug MPC560xB - halt instruction

196 Views
romainbenet
Contributor III

Hi,

 

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.

 

Best regards,

Romain

Labels (1)
0 Kudos
1 Reply

104 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

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:

http://www.nxp.com/files/32bit/doc/app_note/AN4365.pdf

If you want to use some kind of JTAG interface (like from PEmicro), which one? And which SW/debugger do you use?

Regards,

Lukas

0 Kudos