140CPU43412A處理器模塊,SCHNEIDER使用書
中斷確認映射本地總線通過以下方式將中斷確認周期與其他周期區分開來:將二進制值%11放在TT1-TT0上。它還指定了以下級別:使用TM2-TM0進行確認。中斷處理程序選擇正在確認該級別內的設備。VMEbus內存映射本節描述了VMEbus查看的本地資源映射大師級。
VMEbus訪問本地總線VMEchip2包括用于VMEbusto本地總線接口的用戶可編程映射解碼器。地圖解碼器允許您編程啟動以及MVME162響應的結束地址和修飾符。
140CPU43412A處理器模塊VMEbus短輸入/輸出內存映射VMEchip2包括用于GCSR的用戶可編程地圖解碼器。GCSR映射解碼器允許您編程VMEbus短輸入/輸出空間中的GCSR。軟件初始化大多數功能是通過其他設備上的開關或跳線完成的通過在MVME162上設置控制寄存器來實現模塊。通電時或者重置,包含162Bug調試包的EPROM設置許多寄存器的默認值。具體編程細節可通過研究M68040確定微處理器用戶手冊。然后檢查所有MVME162的詳細信息MVME162嵌入式控制器程序員手冊中給出的板載寄存器參考指南。多微處理器編程注意事項良好的編程實踐表明,一次只有一個MPU具有控制權MVME162控制寄存器。特別值得注意的是:? 修改地址映射的寄存器? 需要兩個周期才能訪問的寄存器? VMEbus中斷請求寄存器本地重置操作本地重置(LRST)是系統重置(SRST)的子集。本地重置可以生成五種方式:? 看門狗計時器過期? 按下前面板重置開關(如果系統控制器功能正常已禁用)? 通過在GCSR中的板控制寄存器中斷言一位? 通過SYSRESET*? 通過通電重置。
Interrupt Acknowledge Map
The local bus distinguishes interrupt acknowledge cycles from other cycles by
placing the binary value %11 on TT1-TT0. It also specifies the level that is
being acknowledged using TM2-TM0. The interrupt handler selects which
device within that level is being acknowledged.
VMEbus Memory Map
This section describes the mapping of local resources as viewed by VMEbus
masters.
VMEbus Accesses to the Local Bus
The VMEchip2 includes a user-programmable map decoder for the VMEbusto-local-bus interface. The map decoder allows you to program the starting
and ending address and the modifiers the MVME162 responds to.
VMEbus Short I/O Memory Map
The VMEchip2 includes a user-programmable map decoder for the GCSR.
The GCSR map decoder allows you to program the starting address of the
GCSR in the VMEbus short I/O space.
Software Initialization
Most functions that have been done with switches or jumpers on other
modules are done by setting control registers on the MVME162. At powerup
or reset, the EPROMs that contain the 162Bug debugging package set up the
default values of many of these registers.
Specific programming details may be determined by study of the M68040
Microprocessor User’s Manual. Then check the details of all the MVME162
onboard registers as given in the MVME162 Embedded Controller Programmer’s
Reference Guide.
Multi-MPU Programming Considerations
Good programming practice dictates that only one MPU at a time have control
of the MVME162 control registers. Of particular note are:
? Registers that modify the address map
? Registers that require two cycles to access
? VMEbus interrupt request registersLocal Reset Operation
Local reset (LRST) is a subset of system reset (SRST). Local reset can be
generated five ways:
? Expiration of the watchdog timer
? Pressing the front panel RESET switch (if the system controller function is
disabled)
? By asserting a bit in the board control register in the GCSR
? By SYSRESET*
? By powerup reset.