System Development and Debugging
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Freescale Semiconductor
53-7
53.1.5.4
Detecting the Assertion/Negation of VSYNC
Since the VF pins are used for reporting both instruction type and queue flush information, the external
hardware must take special care when trying to detect entry and exit of the VSYNC state. When VF =
0b011, it is a VSYNC entry or exit report only if the prior value of VF was 0b000, 0b001, or 0b010.
53.1.5.5
Detecting the Trace Window End Address
The information on the status pins that describes the last fetched instruction and last queue/history buffer
flush, changes every clock. Cycles marked as program trace cycle are generated on the external bus only
when the system interface unit (SIU) arbitrates over the external bus. Therefore, there is a delay between
when a program trace cycle is reported as performed and the time that this cycle can be detected on the
external bus.
When the user exits VSYNC state (through the serial interface of the development port), the core delays
the report of VSYNC occurring on the VF pins until all addresses marked with the program trace cycle
attribute are externally visible. Therefore, the external hardware should stop sampling VF, VFLS, and the
address of the cycles marked as program trace cycle immediately after VF = VSYNC. The last two
instructions reported on the VF pins are not always valid and should be ignored.
53.1.5.6
Efficient Trace Information Capture
To store all information generated on the pins during program trace (5 bits per clock + 30 bits per show
cycle) a large memory buffer is required. However, because this information includes events that were
canceled, some of this information can be discarded. External hardware can be added to eliminate all
canceled instructions and report only on taken/not taken branches, indirect flow change, and the number
of sequential instructions after the last flow change.
53.2
Watchpoints and Breakpoints Support
Watchpoints, when detected, are reported to the external world (on dedicated pins), but do not change the
timing and flow of the machine. Breakpoints, when detected, force the machine to branch to the
appropriate exception handler. The core supports watchpoints generated inside the core and breakpoints
generated inside and outside the core.
Internal watchpoints are generated when a user-programmable set of conditions are met. Internal
breakpoints can be programmed to be generated either as an immediate result of the assertion of one of the
internal watchpoints or after an internal watchpoint is asserted for user-programmable times.
Table 53-5. Detecting the Trace Buffer Start Point
VF1
VF2
Starting Point
Description
011
VSYNC
001
Sequential
T1
VSYNC asserted. Followed by a sequential instruction.
The start address is T1.
011
VSYNC
110
Branch direct taken
T1 – 4 +
Offset(T1 – 4)
VSYNC asserted. Followed by a taken direct branch.
The start address is the target of the direct branch.
011
VSYNC
101
Branch indirect taken
T2
VSYNC asserted. Followed by a taken indirect branch.
The start address is the target of the indirect branch.
Содержание PowerQUICC MPC870
Страница 1: ...MPC885 PowerQUICC Family Reference Manual Supports MPC885 MPC880 MPC875 MPC870 MPC885RM Rev 2 04 2006 ...
Страница 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Страница 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Страница 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Страница 192: ...MPC885 Instruction Set MPC885 PowerQUICC Family Reference Manual Rev 2 5 22 Freescale Semiconductor ...
Страница 242: ...Instruction and Data Caches MPC885 PowerQUICC Family Reference Manual Rev 2 7 30 Freescale Semiconductor ...
Страница 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Страница 416: ...External Bus Interface MPC885 PowerQUICC Family Reference Manual Rev 2 13 42 Freescale Semiconductor ...
Страница 440: ...Clocks and Power Control MPC885 PowerQUICC Family Reference Manual Rev 2 14 24 Freescale Semiconductor ...
Страница 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Страница 606: ...SDMA Channels and IDMA Emulation MPC885 PowerQUICC Family Reference Manual Rev 2 19 20 Freescale Semiconductor ...
Страница 738: ...SCC Asynchronous HDLC Mode and IrDA MPC885 PowerQUICC Family Reference Manual Rev 2 25 16 Freescale Semiconductor ...
Страница 780: ...SCC Ethernet Mode MPC885 PowerQUICC Family Reference Manual Rev 2 27 24 Freescale Semiconductor ...
Страница 794: ...SCC Transparent Mode MPC885 PowerQUICC Family Reference Manual Rev 2 28 14 Freescale Semiconductor ...
Страница 848: ...Serial Peripheral Interface SPI MPC885 PowerQUICC Family Reference Manual Rev 2 30 18 Freescale Semiconductor ...
Страница 882: ...Universal Serial Bus USB MPC885 PowerQUICC Family Reference Manual Rev 2 31 34 Freescale Semiconductor ...
Страница 944: ...Parallel I O Ports MPC885 PowerQUICC Family Reference Manual Rev 2 34 26 Freescale Semiconductor ...
Страница 956: ...CPM Interrupt Controller MPC885 PowerQUICC Family Reference Manual Rev 2 35 12 Freescale Semiconductor ...
Страница 1004: ...Buffer Descriptors and Connection Tables MPC885 PowerQUICC Family Reference Manual Rev 2 37 30 Freescale Semiconductor ...
Страница 1022: ...ATM Parameter RAM MPC885 PowerQUICC Family Reference Manual Rev 2 38 18 Freescale Semiconductor ...
Страница 1068: ...ATM Pace Control MPC885 PowerQUICC Family Reference Manual Rev 2 40 22 Freescale Semiconductor ...
Страница 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Страница 1120: ...AAL2 Implementation MPC885 PowerQUICC Family Reference Manual Rev 2 44 30 Freescale Semiconductor ...
Страница 1162: ...Fast Ethernet Controller FEC MPC885 PowerQUICC Family Reference Manual Rev 2 45 40 Freescale Semiconductor ...
Страница 1172: ...SEC Lite Overview MPC885 PowerQUICC Family Reference Manual Rev 2 46 8 Freescale Semiconductor ...
Страница 1176: ...SEC Lite Address Map MPC885 PowerQUICC Family Reference Manual Rev 2 47 4 Freescale Semiconductor ...
Страница 1214: ...SEC Lite Execution Units MPC885 PowerQUICC Family Reference Manual Rev 2 48 38 Freescale Semiconductor ...
Страница 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Страница 1313: ...MPC885 PowerQUICC Family Reference Manual Rev 2 Freescale Semiconductor B 1 Appendix B Serial Communications Performance TBD ...
Страница 1314: ...Serial Communications Performance MPC885 PowerQUICC Family Reference Manual Rev 2 B 2 Freescale Semiconductor ...
Страница 1320: ...Register Quick Reference Guide MPC885 PowerQUICC Family Reference Manual Rev 2 C 6 Freescale Semiconductor ...
Страница 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Страница 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Страница 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Страница 1384: ...Serial ATM Scrambling Reception and SI Programming MPC885 PowerQUICC Family Reference Manual Rev 2 H 6 Freescale Semiconductor ...
Страница 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...