Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
357
17.3.7.8
User Test 0 register (UT0)
The User Test feature gives the user of the Flash module the ability to perform test features on the Flash.
The User Test 0 register allows controlling the way in which the Flash content check is done.
The UT0[MRE], UT0[MRV], UT0[AIS], UT0[EIE], and DSI[7:0] bits are not accessible whenever
MCR[DONE] or UT0[AID] are low. Reads return indeterminate data. Writes have no effect.
Table 17-22. PFAPR field descriptions
Field
Description
0-5
Reserved, should be cleared.
6-7
ARBM
Arbitration Mode
This 2-bit field controls the arbitration for PFlash controllers supporting 2 AHB ports.
00 Fixed priority arbitration with AHB p0 > p1.
01 Fixed priority arbitration with AHB p1 > p0.
1
x
Round-robin arbitration.
8-15
M
x
PFD
Master
x
Prefetch Disable (
x
= 0,1,2,...,7)
These bits control whether prefetching may be triggered based on the master number of the requesting
AHB master. This field is further qualified by the PFCR0[B0_P
x
_DPFE, B0_P
x
_IPFE, B
x
_P
y
_BFE]
bits.
0 Prefetching may be triggered by this master.
1 No prefetching may be triggered by this master.
16-31
M
x
AP
Master
x
Access Protection (
x
= 0,1,2,...,7)
These fields control whether read and write accesses to the Flash are allowed based on the master
number of the initiating module.
00 No accesses may be performed by this master.
01 Only read accesses may be performed by this master.
10 Only write accesses may be performed by this master.
11 Both read and write accesses may be performed by this master.
Address: Base + 0x003C
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R UTE
0
0
0
0
0
0
0
DSI7 DSI6 DSI5 DSI4 DSI3 DSI2 DSI1 DSI0
W w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
X
MRE MRV
EIE
AIS
AIE
AID
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Figure 17-20. User Test 0 register (UT0)