User`s guide

2–28 Getting Started
Sample Session on the AlphaPC 164
2.10 Sample Session on the AlphaPC 164
To run the mini-debugger as a standalone program on the AlphaPC 164, the
following setup needs to be performed. The mini-debugger performs minimal
initialization of the CPU and the user must initialize the rest of the board.
To initialize the AlphaPC 164, follow these steps:
1. Flush the secondary cache (L2) and turn on only one set. The reason to flush the
secondary cache is to prevent any type of parity errors; only one set is turned on
to facilitate read operations that need to go all the way out to memory and not be
cached.
2. Turn off the Bcache to facilitate read operations that need to go all the way out to
memory and not be cached. The Bcache configuration register must have the
Read and Write speeds set to the ratio of the sysclock to CPU. Refer to the
chapter on configuration jumpers in the board’s users guide to determine this
ratio.
Depending on the CPU speed, select the appropriate value for the BC_CONFIG
and BC_CONTROL registers from the following table. If the Bcache is to be
turned off, the read and write fields must be set to the cpu-to-sys clock ratio in
BC_CONFIG and have the low bit cleared in BC_CONTROL.
Chip Speed BC_CONFIG BC_CONTROL
300 MHz 00000000001F21571 0000000444068051
333 MHz 00000000001F21581 00000004C4008051
366 MHz 00000000001F21691 00000004C4008051
400 MHz 00000000001F31691 00000004C4008051
433 MHz 00000000001F317A1 00000004C4008051
466 MHz 00000000003F318B1 0000000444068051
500 MHz 00000000003F418B1 0000000444068051