Chapter 5 Usage
5.4 Setting a External Memory Emulation
Figure 5.4-1 shows the external memory emulation block diagram, figure 5.4-2 and table 5.4-1 show the set- ting the memory size select switch and the factory settings of the memory size select switch, figure 5.4-3 shows the factory settings of the setting the memory connective switches; Table 5.4-2 lists the memory con- nective switch settings.
■External Memory Emulation Block Diagram
Figure 5.4-1 shows the external memory emulation block diagram.
|
| Address bus | Flat cable | connector | |
Evaluation |
| P4[5:0],P3[7:0],P2[7:1],P5[4] | |||
| Data bus |
| |||
MCU |
|
| |||
| P1[7:0],P0[7:0] | ||||
|
|
| Memory | ||
|
|
| connective | ||
74LVCH16244A |
|
| |||
switches |
|
| |||
|
|
|
|
| |
External- | Y | A |
|
|
|
memory |
| *OE |
|
|
|
emulation |
|
|
|
| |
| GND |
|
|
| |
circuit |
|
|
|
| |
|
|
|
|
|
Adapter board
To header
Figure 5.4-1 External Memory Emulation Block Diagram
■Setting the Memory Size Select Switch
The memory size select switch select the size of the memory board to be connected to use the exter- nal memory emulation function.
Figure 5.4-2 shows the factory settings of the switch; Table 5.4-1 lists the memory board sizes and effective addresses depending on the settings of the switch.
1
2
3
ASEL | SW1 | ||||||||
|
| 1 2 |
|
|
|
| ON |
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
| ||
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
Figure 5.4-2 Setting the Memory Size Select Switch (Factory Setting)
Table 5.4-1 The Memory Size Select Switch Settings
ASEL3 | ASEL2 | ASEL1 | Memory board size | Affective addresses | |
|
|
|
|
| |
1 | 1 | 1 | 2 MWords | A[21:1] | |
|
|
| |||
1 | 1 | 0 | |||
|
| ||||
|
|
|
|
| |
1 | 0 | 1 | 1 MWords | A[20:1] | |
|
|
|
|
| |
1 | 0 | 0 | 512 KWords | A[19:1] | |
|
|
|
|
| |
0 | 1 | 1 | 256 KWords | A[18:1] | |
|
|
|
|
| |
0 | 1 | 0 | 128 KWords | A[17:1] | |
|
|
|
|
| |
0 | 0 | 1 | 64 KWords | A[16:1] | |
|
|
|
|
| |
0 | 0 | 0 | 32 KWords | A[15:1] | |
|
|
|
|
|
31