Show Cycles; Eim Programming Model; Chip-Select Control Registers; Cs0 Control Register - Motorola M-CORE MMC2001 Series Reference Manual

Table of Contents

Advertisement

7.5.6 Show Cycles

The CPU can perform data transfers to or from internal modules without using the
external bus. For debugging purposes, however, it may be desirable to have the inter-
nal address and data bus appear on the external bus. These external bus cycles,
called show cycles, are enabled by the SHEN bits in the EIM configuration register.
When show cycles are enabled, the EIM drives the internal address bus ADDR[19:0]
onto the external address bus pins ADDR[19:0]. In addition, the internal data bus sig-
nals DATA[31:16] or DATA[15:0] are driven onto the external data bus pins DATA[15:0]
according to the HDB bit in the EIM configuration register.

7.6 EIM Programming Model

Table 7-3 lists the registers in the EIM.
Address
10004000
10004004
10004008
1000400C
10004010
to
10004014
10004018
10004020
to
10004FFF

7.6.1 Chip-Select Control Registers

Each of the external chip selects has an enable bit as well as other control attributes.
The layout of the control register is slightly different for the CS0 output, which does
not support the programmable output function. For CS1–CS3 control registers, bits
two to 15 (i.e., bits other than the PA and CSEN bits) are undefined at reset.
Access these registers with 32-bit loads and stores only.
CS0CR — CS0 Control Register
31
30
29
28
R
0
0
0
0
W
RESET:
15
14
13
12
R
WSC
W
RESET:
1
1
1
1
MMC2001
REFERENCE MANUAL
Freescale Semiconductor, Inc.
Table 7-3 EIM Memory Map
Use
CS0 Control Register (CS0CR)
CS1 Control Register (CS1CR)
CS2 Control Register (CS2CR)
CS3 Control Register (CS3CR)
Reserved
EIM Configuration Register (EIMCR)
Reserved
27
26
25
24
0
0
0
0
11
10
9
8
WWS
EDC
CSA
OEA
1
0
0
0
Figure 7-3 CS0 Control Register
EXTERNAL INTERFACE MODULE
For More Information On This Product,
Go to: www.freescale.com
Supervisor Only
Supervisor Only
Supervisor Only
Supervisor Only
Supervisor Only
Supervisor Only
Supervisor Only
23
22
21
20
0
0
0
0
7
6
5
4
WEN
EBC
DSZ
0
1
1
0
Access
10004000
19
18
17
16
0
0
0
0
3
2
1
0
0
SP
WP
CSEN
0
0
1
MOTOROLA
7-7

Advertisement

Table of Contents
loading

Table of Contents