
VM162/VM172
Chapter 4 Programming
July 19,1997
Page 4- 5
© PEP Modular Computers
8) Configure PEPAR register
• set /IOUT0-2 are PRTY0-2
• select /RAS1DD function
• select /WE0-3
• select AMUX
• select /CAS0-3
0x51C0.W -> PEPAR
9) Configure GMR register
• set refresh counter period to 24
• set refresh cycle length to 3
• set DRAM port size to 32 bit
• assert CS/RAS on CPU space
• enable refresh
0x18800100.L -> GMR
10)Configure autovector register
• enable autovector on levels 2, 3, 5 and 7
0xAC.B -> AVR
11)Configure Chip Select lines (General Example)
Note: It is important that the Chip Select lines are initialized in the sequence shown below. It should
also be noted that the following values need to be changed for various configurations of the on-board
memory (see note below).
• CS0: FLASH to 0x4000000, negate timing ‘040
0x4000011.L -> BR0
• CS0: size to 16 MByte, port size 32 bit, tcyc 3
0x3F000000.L -> OR0
• CS1: size to 64 MByte, port size 32 bit, tcyc 0, bcyc 1
0xC000001.L -> OR1
• CS1: DRAM to 0x0, burst acknowledge ‘040
0x21.L -> BR1
• CS2: size to 16 MByte, port size external, tcyc 1
0x1F000006.L -> OR2
• CS2: DMA - VME to 0x87000000
0x87000001.L -> BR2
• CS3: size to 16 MByte, port size external, tcyc 1
0x1F000006.L -> OR3
• CS3: AutoBahn to 0x9000000
0x9000001.L -> BR3
• CS4: size to 16 MByte, port size external, tcyc 1
0x1F000006.L -> OR4
• CS4: SRAM to 0xA000000
0xA000001.L -> BR4
Summary of Contents for VM162
Page 2: ......
Page 6: ...VM162 VM172 Table of Contents Page TOC 4 PEP Modular Computers Juli 23 1997 ...
Page 7: ...VM162 VM172 Juli 23 1997 Page 0 1 PEP Modular Computers Preface ...
Page 12: ...VM162 VM172 Chapter 1 Introduction Page 1 2 PEP Modular Computers Juli 23 1997 ...
Page 62: ...VM162 VM172 Chapter 3 Configuration Page 3 2 PEP Modular Computers Juli 23 1997 ...
Page 72: ...VM162 VM172 Chapter 4 Programming Page 4 2 PEP Modular Computers July 19 1997 ...
Page 117: ...3 OS 9 System Modem 3 1 15 pin Connector 3 2 8 pin RJ45 Connector SMART I O ...
Page 119: ...4 2 Hardware Handshake 4 2 1 15 pin Connector 4 2 2 8 pin RJ45 Connector SMART I O ...