Re: I need some help debugging an ECIC problem with my card

dave penkler <[email protected]> Wed, 10 Jun 2026 10:12:50 +0200
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <CAL=kjP26P93+1whx_xUMc-PAQaNL7kd1LTmzUU04z7n0m5uf_g@mail.gmail.com>
--===============5851797212940911787==
Content-Type: multipart/alternative; boundary="0000000000000dfa680653e1d098"

--0000000000000dfa680653e1d098
Content-Type: text/plain; charset="UTF-8"

Hi David,
Thanks for the good news. The cable or some device on the bus was asserting
ATN:
With the cable plugged in:
Initilisation        ibsta 0x1110 lines 0x72ff ibsta 0x1110 <-- ATN | SRQ |
REN | NDAC
So correctly the board did not transition to CIC because it saw someone
else on the bus was CIC.
With the cable unplugged ATN is not asserted:
Initilisation        ibsta 0x1120 lines 0x30ff ibsta 0x1120 <-- SRQ | REN
Mystery solved.
cheers,
-Dave

On Wed, 10 Jun 2026 at 00:12, David Gravereaux <[email protected]> wrote:

> I unplugged the cable at the controller at the test program completes,
> therefore one of my 8 cables must be bad.  I have a lot of gear on that
> one card.
>
> It was the last cable or the HP 6038A PSU in the chain, sorry to have
> spammed the list so much
>
> davygrvy@workbench:~$ ./tibrsc
> Initilisation        ibsta 0x1120 lines 0x30ff ibsta 0x1120
> Set no ren           ibsta 0x1120 lines 0x20ff ibsta 0x1120
> Release control      ibsta 0x1120 lines 0x20ff ibsta 0x1120
> Request control      ibsta 0x1120 lines 0x30ff ibsta 0x1120
> Send interface clear ibsta 0x1120 lines 0x30ff ibsta 0x1120
> Assert ATN           ibsta 0x1130 lines 0x72ff ibsta 0x1130
> Go to standby        ibsta 0x1120 lines 0x30ff ibsta 0x1120
> Release control      ibsta 0x1120 lines 0x20ff ibsta 0x1120
> Request control      ibsta 0x1120 lines 0x30ff ibsta 0x1120
> davygrvy@workbench:~$ ibterm -m 0 -d 25
> Attempting to open /dev/gpib0
> pad = 25, sad = 0, timeout = 10, send_eoi = 1, eos_mode = 0x0000
> ibterm>ID?
> ID TEK/SG5010,V81.1,F1.1;
> ibterm>
>
>
>
>
> _______________________________________________
> Linux-gpib-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-gpib-general
>

--0000000000000dfa680653e1d098
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi David,<div>Thanks for the good news. The cable or some =
device on the bus was asserting ATN:</div><div>With the cable plugged in:</=
div><div>Initilisation =C2=A0 =C2=A0 =C2=A0 =C2=A0ibsta 0x1110 lines 0x72ff=
 ibsta 0x1110 &lt;--=C2=A0ATN | SRQ | REN | NDAC</div><div>So correctly the=
 board did not transition to CIC because it saw someone else on the bus was=
 CIC.</div><div>With the cable unplugged ATN is not asserted:</div><div>Ini=
tilisation =C2=A0 =C2=A0 =C2=A0 =C2=A0ibsta 0x1120 lines 0x30ff ibsta 0x112=
0 &lt;--=C2=A0SRQ | REN </div><div>Mystery solved.</div><div>cheers,</div><=
div>-Dave</div></div><br><div class=3D"gmail_quote gmail_quote_container"><=
div dir=3D"ltr" class=3D"gmail_attr">On Wed, 10 Jun 2026 at 00:12, David Gr=
avereaux &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&g=
t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I unpl=
ugged the cable at the controller at the test program completes, <br>
therefore one of my 8 cables must be bad.=C2=A0 I have a lot of gear on tha=
t <br>
one card.<br>
<br>
It was the last cable or the HP 6038A PSU in the chain, sorry to have <br>
spammed the list so much<br>
<br>
davygrvy@workbench:~$ ./tibrsc<br>
Initilisation=C2=A0 =C2=A0 =C2=A0 =C2=A0 ibsta 0x1120 lines 0x30ff ibsta 0x=
1120<br>
Set no ren=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ibsta 0x1120 lines 0x20f=
f ibsta 0x1120<br>
Release control=C2=A0 =C2=A0 =C2=A0 ibsta 0x1120 lines 0x20ff ibsta 0x1120<=
br>
Request control=C2=A0 =C2=A0 =C2=A0 ibsta 0x1120 lines 0x30ff ibsta 0x1120<=
br>
Send interface clear ibsta 0x1120 lines 0x30ff ibsta 0x1120<br>
Assert ATN=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ibsta 0x1130 lines 0x72f=
f ibsta 0x1130<br>
Go to standby=C2=A0 =C2=A0 =C2=A0 =C2=A0 ibsta 0x1120 lines 0x30ff ibsta 0x=
1120<br>
Release control=C2=A0 =C2=A0 =C2=A0 ibsta 0x1120 lines 0x20ff ibsta 0x1120<=
br>
Request control=C2=A0 =C2=A0 =C2=A0 ibsta 0x1120 lines 0x30ff ibsta 0x1120<=
br>
davygrvy@workbench:~$ ibterm -m 0 -d 25<br>
Attempting to open /dev/gpib0<br>
pad =3D 25, sad =3D 0, timeout =3D 10, send_eoi =3D 1, eos_mode =3D 0x0000<=
br>
ibterm&gt;ID?<br>
ID TEK/SG5010,V81.1,F1.1;<br>
ibterm&gt;<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Linux-gpib-general mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blan=
k">[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/linux-gpib-general"=
 rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/l=
istinfo/linux-gpib-general</a><br>
</blockquote></div>

--0000000000000dfa680653e1d098--


--===============5851797212940911787==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============5851797212940911787==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general

--===============5851797212940911787==--