Flash Memory
MPC5606S Microcontroller Reference Manual, Rev. 7
654
Freescale Semiconductor
17.4.4.9
Bank1 temporary holding registers
Recall the bank1 logic within the PFLASH2P_LCA includes two 128-bit data registers (one for each AHB
port), used for capturing read data. Since this bank does not support prefetching, the read data for the
referenced address is bypassed directly back to the AHB data bus. The page is also loaded into the
appropriate temporary data register and subsequent accesses to this page can hit from this register, if it is
enabled (B1_Py_BFE).
The organization of the temporary holding register is described below in a pseudo-code representation.
The hardware structure includes the buffer address and valid bit, along with 128 bits of page read data and
several error flags and is the same as an individual bank 0 or 2 page buffer.
struct {
// b1_py_page_buffer
reg
addr[23:4];
// page address
reg
valid;
// valid bit
reg
rdata[127:0];
// page read data
reg
xfr_error;
// transfer error indicator from flash array
reg
multi_ecc_error;
// multi-bit ECC error indicator from flash array
reg
single_ecc_error; // single-bit correctable ECC indicator from flash array
}
b1_py_page_buffer;
Given this definition, the PFLASH2P_LCA includes two instantiations of this temporary holding register
for bank 1. These are named: b1_p0 and b1_p1.
For the general case, a temporary holding register is written at the completion of an error-free flash access
and the valid bit asserted. Subsequent flash accesses that “hit” the buffer, that is, the current access address
matches the address stored in the temporary holding register, can be serviced in 0 AHB wait-states as the
stored read data is routed from the temporary register back to the requesting bus master.
The contents of the holding register are invalidated by the falling edge transition of
b1_fl_done
and on any
non-sequential access with a non-zero value on
haddr[28:24]
(to support wait-state emulation) in the same
manner as the bank0 page buffers. Additionally, the B1_Py_BFE register bit can be cleared by software to
invalidate the contents of the holding register.
Section 17.4.4.7, Flash error response operation
, the temporary holding register is
not
marked
as valid if the flash array access terminated with any type of transfer error. However, the result is that flash
array accesses that are tagged with a single-bit correctable ECC event are loaded into the temporary
holding register and validated. Accordingly, one special case needing software invalidation relates to
holding register “hits” on flash data which was tagged with a single-bit ECC event. Depending on the
specific hardware configuration, the reporting of a single-bit ECC event may generate an ECC alert
interrupt.
In order to prevent repeated ECC alert interrupts, the temporary holding registers need to be
invalidated by software after the first notification of the single-bit ECC event
.
Each bank1 temporary holding register effectively operates like a single page buffer.
17.4.4.10 Input port arbitration
For maximum system performance, the PFLASH2P_LCA fully supports concurrent flash accesses from
the two AHB input ports when the references are targeted to different flash banks. This is expected to be
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...