11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

the trace counter is decremented after each instruction execution. The completed execution<strong>of</strong> an instruction when the trace counter is zero will cause the chip to enter the debugmode.Note: Only instructions actually executed cause the trace counter to decrement, i.e. anaborted instruction will not decrement the trace counter and will not cause the chip to enterthe debug mode.10.6.7 Enabling Memory BreakpointsWhen the memory breakpoint mechanism is enabled with a breakpoint counter value <strong>of</strong>zero, the chip enters the debug mode after completing the execution <strong>of</strong> the instruction thatcaused the memory breakpoint to occur. In case <strong>of</strong> breakpoints on executed programmemory fetches, the breakpoint will be acknowledged immediately after the execution <strong>of</strong>the fetched instruction. In case <strong>of</strong> breakpoints on data memory addresses (accesses to X,Y or P memory spaces by MOVE instructions), the breakpoint will be acknowledged afterthe completion <strong>of</strong> the instruction following the instruction that accessed the specified address.10.7 PIPELINE INFORMATION AND GLOBAL DATA BUS REGISTERA number <strong>of</strong> on-chip registers store the chip pipeline status to restore the pipeline and resumenormal chip activity upon return from the debug mode. Figure 10-8 shows the blockdiagram <strong>of</strong> the pipeline information registers with the exception <strong>of</strong> the program addressbus (PAS) registers, which are shown in Figure 10-9.OSCK-OSIo SO... IGOB REGISTER (OGOBR)--.,J•IGOB~- POB REGISTER (OPOBR)I-- ...I+ ...- POBPIL REGISTER (OPILR)+ PILIFigure 10-8 OnCE Pipeline Information and GOB Registers

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!