This example follows application notes AN3283 and AN4365. It is intended for users who develop own JTAG programmer.
It shows how to implement basic functions:
- enter debug mode during reset
- enable external debug mode
- OnCE access to GPR, SPR and memory
- Nexus access to memory
The example is written in PRACTICE script language using Trace32 debugger from Lauterbach (www.lauterbach.com). Low level functions for JTAG are used, so users can see sequences of ‘0’s and ‘1’s which are sent to JTAG interface. Used commands are described in this document:
www2.lauterbach.com/pdf/general_ref_j.pdf
This example was tested on MPC5607B device and VLE instruction set was used for OnCE access.