[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference adissw::vme

Title:VME Bridge Support - See note 231 for DWPVC status
Notice:DEC VME support
Moderator:MNATUR::LISTON
Created:Wed Apr 26 1989
Last Modified:Tue May 27 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:295
Total number of notes:1067

293.0. "VME SYSRESET from AXPvme UNIX" by ANNECY::16.40.240.218::michaud_e () Fri Mar 14 1997 12:37

Hi all,


I have a customer who need to do a SYSRESET to VMEbus by software 
from an AXPvme board running Digital UNIX.

I had a look on CYPRESS VIC64 book and it seems that we can do it by 
writing 0xF0 in the SRR register of the VIC. 

He wants to do that just after the UNIX boot of the AXPvme, my 
questions are:

A> How to access the SRR register of the VIC, I know it is at address 
0xE3 of the VIC. Does I need a device driver to do that ? Is there 
any samples of codes that is doing such feature ?

B> The other point is, as the VIC itself is also reset by the writing 
in the SRR, does some initialisation done at UNIX boot time will be 
destroy by this reset ?


thanks for any Help,

Best regards,
Eric.


 
T.RTitleUserPersonal
Name
DateLines
293.1Need more infoRHETT::PARKERFri Mar 14 1997 13:2845
    
    	
    Hi, Eric.
    
    .0> I have a customer who need to do a SYSRESET to VMEbus by software
    .0> from an AXPvme board running Digital UNIX.
    
    .0> I had a look on CYPRESS VIC64 book and it seems that we can do it by
    .0> writing 0xF0 in the SRR register of the VIC.
    
    .0> He wants to do that just after the UNIX boot of the AXPvme, my
    .0> questions are:
    
    If the board is the slot 01 controller, then it does a SYSRESET
    already when you are booting if you have the switches set correctly.
    They should be closed/open/open/closed for sw 1,2,3,4 respectively.
    
    .0> A> How to access the SRR register of the VIC, I know it is at address
    .0> 0xE3 of the VIC. Does I need a device driver to do that ? Is there
    .0> any samples of codes that is doing such feature ?
    
    Yes, you will need a driver. I can send an example but I'm not sure
    you want to do this.
    
    .0> B> The other point is, as the VIC itself is also reset by the writing
    .0> in the SRR, does some initialisation done at UNIX boot time will be
    .0> destroy by this reset ?
    
    All other boards in the VMEbus will be reset. If the board is the
    slot 01 controller, then I think it will crash when you do this. Why do
    they think they need to do this?
    
    Send me mail if you want me to send an example driver.
    
    .0> thanks for any Help,
    
    No problem.
    
    .0> Best regards,
    .0> Eric.
    
    Best Regards,
    
    Lee
    
293.2Reset via the VME BusTAV02::KATZAVMon Mar 17 1997 17:217
     *** cross posted in SBC ****
    
    My customer wants to reset the SBC and the PMC board (total 3 boards
    with the I/O expansion) via the VME. Is it possible ? How ?
    
    Thanks,
    Shimon.