MOTOROLA
Chapter 8. Instruction and Data Caches
8-29
Part II. PowerPC Microprocessor Module
If the memory region is marked caching-inhibited or the cache is locked, and the access
misses, then the lwarx instruction appears on the bus as a single-beat load with the
reservation.
lwarx and stwcx. accesses to write-through memory regions do not generate DSI
exceptions. The MPC860Õs data cache treats all stwcx. operations as write-through
independent of the memory/cache access attributes. When the write-through operation
completes successfully on the external bus, then the data cache entry is updated (assuming
it hits), and CR0[EQ] is modiÞed to reßect the success of the operation. If the reservation
is not intact, the stwcx. cancels the external bus transaction, and the cache block is not
altered.
8.7 Cache Initialization after Reset
At power-on and hard reset, both caches are disabled. Although disabled, the cache state is
preserved to enable the user to investigate the exact state of the cache prior to the event that
caused the reset. To ensure proper operation after reset, initialize the instruction cache by
performing the following:
1. Write the unlock all command (IC_CST[CMD] = 0b101) to the IC_CST register
2. Write the invalidate all command (IC_CST[CMD] = 0b110) to the IC_CST register
3. Write the cache enable command (IC_CST[CMD] = 0b001) to the IC_CST register
Similarly, to ensure proper operation after reset, initialize the data cache by performing the
following:
1. Write the unlock all command (DC_CST[CMD] = 0b1010) to the DC_CST register
2. Write the invalidate all command (DC_CST[CMD] = 0b1100) to the DC_CST
register
3. Write the cache enable command (DC_CST[CMD] = 0b0010) to the DC_CST
register
After the caches are initialized, all the cache blocks are invalidated, and the LRU bits point
to way 0 of each set.
8.8 Debug Support
The MPC860 can be debugged either in debug mode or by a software monitor debugger. In
both cases the core of the MPC860 asserts the internal freeze signal. See Chapter 37,
ÒSystem Development and Debugging,Ó for a detailed description of the MPC860 debug
support.
8.8.1 Instruction and Data Cache Operation in Debug Mode
The development system interface of the MPC860 uses the development port, which is a
dedicated serial port. The development port is a relatively inexpensive interface that allows
Содержание 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: ......