Chapter 7. PCI Bus Interface
7-33
PCI Host and Agent Modes
7.7.2 Accessing the MPC8240 Configuration Space
The MPC8240 responds to PCI configuration accesses from external PCI agents when the
MPC8240’s IDSEL input signal is asserted. This allows an external agent access to a subset
of the MPC8240’s internal configuration registers. The configuration of the internal
registers of the MPC8240 that are not accessible to external agents is described in
Section 4.1, “Configuration Register Access.”
When accessing the MPC8240’s configuration registers, the external agent performs the
translation shown in Figure 7-10. The external agent uses the appropriate device number to
assert the MPC8240’s IDSEL input; the desired function/register number from 0x00 to
0x47 as described in Section 4.1.3.2, “PCI-Accessible Configuration Registers.”
Note that the MPC8240 must not issue PCI configuration transactions to itself (that is, for
PCI configuration transactions initiated by the MPC8240, its IDSEL input signal must not
be asserted).
Table 7-8. Initialization Options for PCI Controller
Bus Master Mode
(MAA1 at Reset)
ROM Location
(RCS0 at Reset)
Initial Settings of PCI Command Register,
and Boot Vector Fetch
Host
(MAA1 high)
Local memory
space
(RCS0 high)
PCI command register [2,1] set to
10 Master enabled, target disabled
Boot vector fetch is sent to ROM located on the local memory interface.
Host
(MAA1 high)
PCI memory space
(RCS0 low)
PCI command register [2,1] set to
10 Master enabled, target disabled
Boot vector fetch is sent to PCI, and is issued on the bus unaltered.
Agent
(MAA1 low)
Local memory
space
(RCS0 high)
PCI command register [2,1] set to
00 Master disabled, target disabled
Boot vector fetch is sent to ROM located on the local memory
bus.Processor core configures local memory and has the option to set
bit 10 (RTY_PCI_CFG) of the PCI arbiter control register (PACR) to
force PCI configuration cycles to be retried until local configuration is
complete (see Section 7.7.3, “PCI Configuration Cycle Retry Capability
in Agent Mode”). The MPC8240 can not issue transactions on the PCI
bus until the master enable bit is set.
Agent
(MAA1 low)
PCI memory space
(RCS0 low)
PCI command register [2,1] set to
00 Master disabled, target disabled
Boot vector fetch is sent to PCI bus where it is not allowed to proceed
until the host CPU enables bus mastership for the MPC8240 in the PCI
control register. The processor core then proceeds sending the boot
vector fetch to the PCI bus unaltered.
Summary of Contents for MPC8240
Page 1: ...MPC8240UM D Rev 1 1 2001 MPC8240 Integrated Processor User s Manual ...
Page 38: ...xviii MPC8240 Integrated Processor User s Manual TABLES Table Number Title Page Number ...
Page 48: ...xlviii MPC8240 Integrated Processor User s Manual Acronyms and Abbreviations ...
Page 312: ...6 94 MPC8240 Integrated Processor User s Manual ROM Flash Interface Operation ...
Page 348: ...7 36 MPC8240 Integrated Processor User s Manual PCI Host and Agent Modes ...
Page 372: ...8 24 MPC8240 Integrated Processor User s Manual DMA Register Descriptions ...
Page 394: ...9 22 MPC8240 Integrated Processor User s Manual I2O Interface ...
Page 412: ...10 18 MPC8240 Integrated Processor User s Manual Programming Guidelines ...
Page 454: ...12 14 MPC8240 Integrated Processor User s Manual Internal Arbitration ...
Page 466: ...13 12 MPC8240 Integrated Processor User s Manual Exception Latencies ...
Page 516: ...16 14 Watchpoint Trigger Applications ...
Page 538: ...B 16 MPC8240 Integrated Processor User s Manual Setting the Endian Mode of Operation ...
Page 546: ...C 8 MPC8240 Integrated Processor User s Manual ...
Page 640: ...INDEX Index 16 MPC8240 Integrated Processor User s Manual ...