Rom/Flash Interface Write Operations - Motorola MPC8240 User Manual

Integrated host processor with integrated pci
Table of Contents

Advertisement

Burst read
MCLK
A[0:19] 1
RCSn
FOE
DATA
(2 +ROMFAL)
x 8 cycles
Repeated 4 times for complete burst
Figure 6-60. 8-Bit ROM/Flash Interface—Cache-Line Read Timing

6.4.4 ROM/Flash Interface Write Operations

PICR1[FLASH_WR_EN] must be set for write operations to Flash memory.
FLASH_WR_EN controls whether write operations to Flash memory are allowed.
FLASH_WR_EN is cleared at reset to disable write operations to Flash memory.
Writes to Flash can be locked out by setting PCIR2 [FLASH_WR_LOCKOUT]. When this
bit is set, the MPC8240 disables writing to Flash memory, even if FLASH_WR_EN is set.
Once set, the FLASH_WR_LOCKOUT parameter can be cleared only by a hard reset.
If the system attempts to write to read-only devices in a bank, bus contention may occur.
This is because the write data is driven onto the data bus when the read-only device is also
trying to drive its data onto the data bus. This situation can be avoided by disabling writes
to the system ROM space using FLASH_WR_EN or FLASH_WR_LOCKOUT or by
connecting the Flash output enable (FOE) signal to the output enable on the read-only
device.
System logic is responsible for multiplexing the required high voltages to the Flash
memory for write operations.
The MPC8240 accommodates only single-beat writes to Flash memory. If an attempt is
made to write to Flash with a data size other than the full data path size, the MPC8240 does
not report an error. Thus, if software is writing to Flash, the write operations should be sized
to the data path width (8, 32 or 64 bits) since there is only a single write enable (WE) strobe
available.
3 cycles
(constant) 2
1 Address toggles for each of 8 single-byte addresses
2 In-line mode adds an additional clock
ROMFAL (ROM first access latency) = 0–31 cycles
Chapter 6. MPC8240 Memory Interface
ROM/Flash Interface Operation
2 cycles
New fetch begins
between bursts
(minimum) 2
6-83

Advertisement

Table of Contents
loading

Table of Contents