VM162/VM172
Chapter 4 Programming
Page 4- 4
© PEP Modular Computers
July 19, 1997
4.2 Initializing the 68EN360
Many components of the VM62(A) / VM42(A) are controlled by the MC68EN360. Due to this fact, this
chip requires a special initialization sequence before any other software can be started.
The following list describes how the initialization must be performed on the VM62(A) / VM42(A).
Note: The order of the initialization listed below must not be changed, otherwise erratic behaviour of
the board may result.
1) Set DPRBASE to 0x000000
0x7000001.L -> MBAR (in CPU space!)
Example
move.l
#7,d1
select CPU space
move.l
#$7000001,d0
value to write to MBAR
movec
d1,dfc
select CPU space
moves.l
d0,MBAR
set MBAR
2) Clear reset status register
0xFF.B -> RSR
3) Set system protection register
• bus monitor enabled, 128 system clocks timeout
0x7.B -> SYPCR
4) Set module configuration register
• bus request MC68040 arbitration ID: 3
• arbitration synchronous timing mode
• bus clear out arbitration ID: 3
• SIM60 registers are Supervisor Data
• BusClear in arbitration ID: 3
• interrupt arbitration: 3
0x60008CB3.L -> MCR
5) Set PLL enabled and lock access
0xC000.W -> PLLCR
6) Lock access to clock divider control register
0x8000.W -> CDVCR
7) Configure CLK lines
• COM2 to full strength
• COM1 disabled
• register access locked
0x83.B -> CLKOCR
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 ...