8-30
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part II. PowerPC Microprocessor Module
a development system to operate in a lower frequency than the coreÕs frequency and
controls system activity when the core is in debug mode. See Section 37.3, ÒDevelopment
System Interface,Ó for more information.
When the MPC860 is in debug mode, all instructions are fetched from the development
port, regardless of the address generated by the MPC860 core. Therefore, the instruction
cache is bypassed when the MPC860 is in debug mode. In addition, the data cache is frozen
in debug mode. Loads and stores in debug mode always target system memory, regardless
of whether the accessed data is resident in the data cache. The only way to access the
contents of the instruction or data cache in debug mode is by using the IC_DAT or DC_DAT
registers.
8.8.2 Instruction and Data Cache Operation with a Software Monitor
Debugger
With debug mode disabled, a software monitor debugger can use the development support
registers to assert the internal freeze signal during run-time. See Section 37.4, ÒSoftware
Monitor Debugger Support,Ó for more information.
When the internal freeze signal is asserted during run-time, the instruction cache treats all
misses as if they were from cache-inhibited regions. Misses are loaded only into the burst
buffer; hits are loaded from the cache array and the LRU bits are updated. If the debug
routine is not in the instruction cache, it is loaded from memory like any other miss and the
cache state remains the same as before the freeze signal was asserted.
For performance reasons, it may be preferable to run the debug routine from the cache. To
load the debug routine into the instruction cache before entering debug mode, perform the
following procedure:
1. Save both ways of the sets that are needed for the debug routine by reading the tag,
the LRU, valid, and lock bit states
2. Unlock the locked ways in the selected sets
3. Use the load & lock cache block command to load the debug routine into the
instruction cache and lock the cache blocks containing the debug routine.
4. Run the debug routine, all accesses to it will result in hits.
To restore the state of the instruction cache after the debug routine is Þnished, perform the
following procedure:
1. Unlock any ways in any sets that are used by the debug routine
1. Invalidate any ways in any sets that are used by the debug routine
2. Use the load & lock cache block command to restore the old sets in the cache array
3. Unlock any ways of the original sets that were not previously locked
4. To restore the old state of the LRU bits make sure that the last access (load& lock
cache block or unlock cache block command) is performed on the most-recently
used way (not the LRU way).
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......