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

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9185.0. "AXPvme with Digital UNIX driving SYSRESET" by ANNECY::16.40.240.218::michaud_e () Fri Mar 14 1997 09:38

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
9185.1Need more infoRHETT::PARKERFri Mar 14 1997 10:1946
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. Why do they think they need 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 you 
think you 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