Chapter 20 Debug (S12XDBGV2)
MC9S12XDP512 Data Sheet, Rev. 2.11
830 Freescale Semiconductor
When program control returns from a tagged breakpoint using an RTI or BDM GO command without
program counter modification it will return to the instruction whose tag generated the breakpoint. Thus
care must be taken to avoid re triggering a breakpoint at the same location. This can be done by
reconfiguring the DBG module in the SWI routine, (SWI configuration), or by executing a TRACE
command before the GO (BDM configuration) to increment the program flow past the tagged instruction.
Comparators should not be configured for the vector address range while tagging, since these addresses
are not opcode addresses