Programming Model
http://www.motorola.com/computer/literature 3-35
3
Chip Configuration
Some configuration options in the Hawk must be configured at power-up
reset time before software performs any accesses to it. The Hawk obtains
this information by latching the value on some of the upper RD signals just
after the rising edge of the PURST_ signal pin. The recommended way to
control the RD signals during reset is to place pull-up or pull-down
resistors on the RD bus. If there is a set of buffers between the RD bus and
the ROM/Flash devices, it is best to put the pull-up/pull-do wn resist ors o n
the far side of the buffers so that loading will be kept to a minimum. The
Hawk’s SDRAM buffer control signals cause the buffers to drive toward
the Hawk during power-up reset.
Other configuration information is neede d by software to properly
configure the Hawk’s control registers. This information can be obtained
from devices connected to the I2C bus.
Programming ModelCSR Architecture
The CSR (control and status register set) c on sists of the chip’s internal
register set and its external register set. The base ad dress of the CSR is hard
coded to the address $FEF80000 (or $FEF90000 if the RD[5] pin is high
at reset). To remain backwards compatib le with older Raven/Falcon
designs, Hawk offers two options:
RD[5]=0=>PHB is at 0xFEFF0000, SMC is at 0xFEF80000 (default)
RD[5]=1=>PHB is at 0xFEFE0000, SMC is at 0xFEF90000
Accesses to the CSR are performed on the upper 32 bits of the PPC60x data
bus. Unlike the internal register set, data for the external register set ca n be
writen and read on both the upper and lower halves of the PPC60x data bus.
CSR read accesses can have a size of 1, 2, 4, or 8 bytes with any alignment.
CSR write accesses are restricted to a size of 1 or 4 bytes and they must b e
aligned.