On Sat, 4 Jan 2025, lloyd wilson wrote:
Date: Sat, 4 Jan 2025 09:40:54 -0500
From: lloyd wilson <llwilso...@rochester.rr.com>
Reply-To: "Enhanced Machine Controller (EMC)"
<emc-users@lists.sourceforge.net>
To: Emc mail list <emc-users@lists.sourceforge.net>
Subject: [Emc-users] further Mesa Perplexities
A couple of weeks ago I asked for help getting a 7i92 Ethernet card to
communicate; that turned out to be a silly grounding mistake, lots of
noise on the power lines, now fixed and the software reliably loads.
However....
-- At startup, I see expected activity on the Ethernet connection (green
light flashing maybe 10 times per second), and I/O changes (monitoring
GPIO pins) are reported as expected.
-- After a random length of time, from a few seconds to several minutes,
the activity light stops working and no communication between the
computer and the card seemingly occurs. LCNC does not report any errors.
If this is the case, error reporting must be disabled (by your GUI?) or you
would get an instant "error finishing read" error
Launching LinuxCNC from the command line will show all errors so should help
debug whats happening.
-- Power cycling the Mesa card does not restore communication.
-- Closing and restarting LCNC usually resets communications, although I
have observed situations where a Linux reboot was needed.
Does the 7I92 have a red LED illuminated after communication stops?
-- This behavior is consistent on 2 computers, both running 2.9 versions
of LCNC.
-- After the system stops communicating, messages are posted in the
dmesg log:
lloyd@lcncdev:~$ sudo dmesg
[ 165.330117] tg3 0000:02:00.0 enp2s0: Link is down
[ 166.967524] tg3 0000:02:00.0 enp2s0: Link is up at 100 Mbps, full duplex
[ 166.967530] tg3 0000:02:00.0 enp2s0: Flow control is on for TX and on
for RX
-- Two pins exported by hostmot2 exhibit very different values before
and after the comm breakdown:
before:
..7i92.0.read.time: low 20Ks
That's likely in error (or communications have stopped) as that's only 10 usec
on a 2 GHz CPU
..7i92.0.write.time: low 700Ks
after:
...read.time: low 100s
...write.time: low 300s
Any hints on how to untangle this knot would be greatly appreciated.
thanks
-ldw
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
Peter Wallace
Mesa Electronics
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users