Information

Enhanced Local Bus Controller
MPC8308 PowerQUICC II Pro Processor Reference Manual, Rev. 1
Freescale Semiconductor 10-89
operation to the bank. At the conclusion of the sequence, eLBC will issue a command complete interrupt
(LTESR[CC]) if interrupts are enabled.
Note that operations specified by OP3 and OP4 (status read) should never be skipped while erasing a
NAND Flash device, because, in case that happens, contention may arise on LGPL4. A possible case is
that the next transaction from eLBC may try to use that pin as an output and since the NAND Flash device
might already be driving it, contention will occur. In case OP3 and OP4 operations are skipped, it may also
happen that a new command is issued to the NAND Flash device even when the device has not yet finished
processing the previous request. This may also result in unpredictable behavior.
10.5.3.6 NAND Flash Program Command Sequence Example
An example of configuring FCM to execute a program command to large-page NAND Flash is shown in
Table 10-49. This sequence writes an entire page (main and spare region) from the shared FCM buffer
RAM, generating ECC as it proceeds. The shared buffer (buffer 1 for page index 5) must be initialized by
software prior to starting the sequence. The sequence is initiated by writing FMR[OP] = 11, and issuing a
special operation to the bank. At the conclusion of the sequence, eLBC will issue a command complete
interrupt (LTESR[CC]) if interrupts are enabled. The status of the programming operation is returned in
MDR[AS0].
Note that operations specified by OP5 and OP6 (status read) should never be skipped while programming
a NAND Flash device, because, in case that happens, contention may arise on LGPL4. A possible case is
that the next transaction from eLBC may try to use that pin as an output and since the NAND Flash device
might already be driving it, contention will occur. In case OP5 and OP6 operations are skipped, it may also
happen that a new command is issued to the NAND Flash device even when the device has not yet finished
processing the previous request. This may also result in unpredictable behavior.
Table 10-48. FCM Register Settings for Block Erase (ORn[PGS] = 1)
Register Initial Contents Description
FCR 0x6070D000 CMD0 = 0x60 = block address entry;
CMD1 = 0x70 = read status
CMD2 = 0xD0 = erase block;
FBAR block index
(for example, block
0x00010AB4)
BLK locates index of 128-Kbyte block
FPAR 0x00000000 PI = 0 to locate block boundary
FBCR — unused
MDR — returns with AS0 holding erase status
FIR 0x426DB000 OP0 = CM0 = command 0;
OP1 = PA = page address;
OP2 = CM2 = command 2;
OP3 = CW1 = wait on Flash ready and issue command 1;
OP4 = RS = read erase status into MDR[AS0];
OP5–OP7 = NOP