Flash Memory
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
663
Figure 17-52. 3-cycle access, Abort-and-Retry with Bn_RWWC = 10x
shows the abort-while-write timing diagram. In this example, the 3-cycle access to address
y is interrupted when an operation causes the
bkn_done
signal to be negated signaling that the array bank
is busy with a high-voltage program or erase event. Based on the setting of Bn_RWWC, once the
bkn_done
signal is detected as negated, the PFLASH2P_LCA asserts
bkn_abort
which forces the flash array to
cancel the high-voltage program or erase event. The array operation completes (at the end of cycle 4) and
bkn_done
returns to a logical 1. It should be noted that the time spent in cycle 4 for
considerably less than the time in the same cycle in
(because of the abort operation). In cycle
6, the PFLASH2P_LCA module retries the read to address y which was interrupted by the negation of
bkn_done
in cycle 3. Note that throughout cycles 2-9, the AHB bus pipeline is stalled with a read to address
y in the AHB data phase and a read to address y+4 in the address phase. Depending on the state of the
least-significant-bit of the Bn_RWWC control field, the hardware may also signal an abort notification
interrupt (if Bn_RWWC = 100). The stall notification interrupt is shown as the optional assertion of
ECSM’s MIR[FBnAI] (flash bank n abort interrupt).
17.5
Initialization / application information
17.5.1
Background
Flash array access is relatively slow compared to a full speed system clock based on the PLL. To prevent
wait states on every flash access, line buffers are implemented. While wait states are required between the
flash array and line buffer, no wait states are required between a line buffer and the system bus. For
example, if the core is accessing sequential instructions starting at location 0, the first 32 bits (one line)
nonseq
seq
addr y
addr y+4
C(y)
C(y+4)
okay
okay
okay
okay
okay
okay
okay
okay
y
C(y)
Burst Read, Abort-and-Retry, APC=2, RWSC=2, PFLM=2
1
2
3
4
5
6
7
8
addr y
seq
addr y+8
y+16
y+16
y
okay
okay
addr y+16
addr y (retry)
hclk
htrans
haddr, hprot
hwrite
hrdata
hwdata
hready_out
hresp
bkn_fl_addr
bkn_fl_rd_en
bkn_fl_wr_en
bkn_fl_rdata
bkn_fl_xfr_err
bkn_done
bkn_abort
ECSM_mir[fbnsi]
ECSM_mir[fbnai]
9
10
Содержание 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...