T.R | Title | User | Personal Name | Date | Lines |
---|
630.1 | Testing PARA from SRM console | MAY30::CUMMINS | | Tue May 27 1997 19:11 | 29 |
| Two ways to test the parallel port from console:
1. With an external loopback connector..
P00>>> set mode diag # put console in diag mode
P00>>> load para # exercise para with EXER..
P00>>> exer para -bs 1 -a 'wRc' -l 400 -p 0 &
P00>>> show_status # to view EXER progress
P00>>> kill_diags # to abort EXER testing
2. Without an external loopback connector..
P00>>> set mode diag # put console in diag mode
P00>>> set d_trace on # enable test tracing
P00>>> combo_diag -t 16,18 -p n # internal loopback only
An external loopback connector should have this configuration:
1 ---> 13 Strobe----------------Inverted--->Select
2 ---> 15 DB0------->Error
10 <--- 16 Ack<-------Init
11 <--- 17 Busy<------Selectin
12 <--- 14 Paperend<-------------Inverted---Autofeed
Let me know if problems/questions..
BC
|
630.2 | Little more detail ! | VAXRIO::16.179.32.71::CARDOSO | | Wed May 28 1997 09:44 | 16 |
|
Hi, Cummins
Many thanks for your fast reply.
Before preparing the loopback connector, is it possible to do the
loopback test with the printer connected to the port ? Does it comes out a
pattern test ?
Thanks again.
Best regards.
Daniel Cardoso
MCS/CSC - Brazil
PS: I'm talking to the customer by phone.
|
630.3 | Using EXER with a printer connected | HARMNY::CUMMINS | | Wed May 28 1997 11:25 | 25 |
| Yes, you could use EXER similarly to that described previously, but with a
printer installed. With different qualifiers.. Since you won't be reading
back what you write, you won't want to use reads (R,r) or compares (c) in
the EXER action string (-a qualifier). A sample command sequence follows:
P00>>>set mode diag # put console in diag mode
P00>>>load para # exercise para with EXER..
P00>>>echo "48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70" >foo
P00>>>for next in 'cat foo';do # perform a bunch of writes to para
_>exer -bs 1 -d1 'next' -a 'w' -l 50 para
_>done #
P00>>>
P00>>>help exer
NAME
exer
FUNCTION
Exercise one or more devices.
SYNOPSIS
exer [-sb <start_block>] [-eb <end_block>] [-p <pass_count>]
[-l <blocks>] [-bs <block_size>] [-bc <block_per_io>]
[-d1 <buf1_string>] [-d2 <buf2_string>] [-a <action_string>]
[-sec <seconds>] [-m] [-v] [-delay <milliseconds>]
<device_name>...
P00>>>
|
630.4 | Little more help. | VAXRIO::16.179.32.123::Manoel | | Fri May 30 1997 09:32 | 14 |
|
Hi,
Here is a friend of Daniel, he asked me to help him with this
problem, because he won't be able to be here today.
I talked to the customer by phone and the internal test went fine, but
the external one gives a sintaxe error.
What does it mean 'cat foo' ? in the previous command.
I was not able to find these test sintaxes in any manual.
Best Regards.
Manoel F. Abreu Neto (MCS/DEC@Rio)
|
630.5 | Wrong single quote used? | HARMNY::CUMMINS | | Mon Jun 02 1997 14:11 | 11 |
| For details about advanced console commands and scripting, see pointer
to SRM console command line interface (CLI) document in note 404.3.
You'll have to post a log of the problem for me to help. Unless the
problem is that the user used ` instead of ' when typing the line:
Should be: for next in 'cat foo';do
Was out on Friday. Sorry for late reply..
BC
|