17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chip Configuration<br />

Programming Model<br />

Some configuration options in the Hawk must be configured at power-up<br />

reset time before software performs any accesses to it. The Hawk obtains<br />

this information by latching the value on some of the upper RD signals just<br />

after the rising edge of the PURST_ signal pin. The recommended way to<br />

control the RD signals during reset is to place pull-up or pull-down<br />

resistors on the RD bus. If there is a set of buffers between the RD bus and<br />

the ROM/Flash devices, it is best to put the pull-up/pull-down resistors on<br />

the far side of the buffers so that loading will be kept to a minimum. The<br />

Hawk’s SDRAM buffer control signals cause the buffers to drive toward<br />

the Hawk during power-up reset.<br />

Other configuration information is needed by software to properly<br />

configure the Hawk’s control registers. This information can be obtained<br />

from devices connected to the I 2 C bus.<br />

Programming Model<br />

CSR Architecture<br />

The CSR (control and status register set) consists of the chip’s internal<br />

register set and its external register set. The base address of the CSR is hard<br />

coded to the address $FEF80000 (or $FEF90000 if the RD[5] pin is high<br />

at reset). To remain backwards compatible with older Raven/Falcon<br />

designs, Hawk offers two options:<br />

RD[5]=0=>PHB is at 0xFEFF0000, SMC is at 0xFEF80000 (default)<br />

RD[5]=1=>PHB is at 0xFEFE0000, SMC is at 0xFEF90000<br />

Accesses to the CSR are performed on the upper 32 bits of the PPC60x data<br />

bus. Unlike the internal register set, data for the external register set can be<br />

writen and read on both the upper and lower halves of the PPC60x data bus.<br />

CSR read accesses can have a size of 1, 2, 4, or 8 bytes with any alignment.<br />

CSR write accesses are restricted to a size of 1 or 4 bytes and they must be<br />

aligned.<br />

http://www.motorola.com/computer/literature 3-35<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!