PNCconf 7i92H and 7i76

More
18 Apr 2024 18:00 #298568 by stonebite
Replied by stonebite on topic PNCconf 7i92H and 7i76
yes, thank you, I can understand the argument well.
I assumed that the error messages were due to the fact that I did not provide complete information in the PNCconfig file that I created.
We would be happy to tackle the topic first ;o)
Your recommendation to do the latency test, but I don't know how, other than the option that LinuxCNC provides in the menu.
Is your recommendation a command line for the terminal? I'd be happy to try it out tomorrow when I'm back in front of the machine

Please Log in or Create an account to join the conversation.

More
19 Apr 2024 07:03 - 19 Apr 2024 07:11 #298601 by stonebite
Replied by stonebite on topic PNCconf 7i92H and 7i76
good morning Thommy,

Is the latency test what you wanted to see?

how do I create a system report with LinuxCNC/Debian 12 bookworm where the network card is listed?
With right click on the Network Icon i see only adresses, not a Network Manufacturer. What you like to see?

I normally work with Linux Mint, so I would like know how...

Attachments:
Last edit: 19 Apr 2024 07:11 by stonebite.

Please Log in or Create an account to join the conversation.

More
19 Apr 2024 14:58 #298622 by tommylight
Replied by tommylight on topic PNCconf 7i92H and 7i76
Looks ok so far, but use this to test and leave it on for at least an hour while doing other things on the PC:
latency-histogram --nobase --sbinsize 1000 --show
As for network, again in a terminal:
sudo chrt 99 ping -i .001 -q 10.10.10.10
leave it for 5 to 10 minutes, then press CTRL+C
post the results.
The following user(s) said Thank You: stonebite

Please Log in or Create an account to join the conversation.

More
19 Apr 2024 18:23 - 19 Apr 2024 18:24 #298648 by stonebite
Replied by stonebite on topic PNCconf 7i92H and 7i76
For sudo chrt 99 ping -i .001 -q 10.10.10.10 i have follow informations:

--- 10.10.10.10 ping statistics ---
727991 packets transmitted, 727991 received, 0% packet loss, time 728311ms
rtt min/avg/max/mdev = 0.043/0.053/13.344/0.054 ms, pipe 2

latency-histogram --nobase --sbinsize 1000 --show:
I'll do it over the weekend as soon as I get the time.

thank you very much Thommy ;o)
Claude
 
Last edit: 19 Apr 2024 18:24 by stonebite.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
19 Apr 2024 18:26 #298649 by tommylight
Replied by tommylight on topic PNCconf 7i92H and 7i76

--- 10.10.10.10 ping statistics ---
727991 packets transmitted, 727991 received, 0% packet loss, time 728311ms
rtt min/avg/max/mdev = 0.043/0.053/13.344/0.054 ms, pipe 2

 

Looking good, except the over 13ms one, but that was probably the first packet.
The following user(s) said Thank You: stonebite

Please Log in or Create an account to join the conversation.

More
20 Apr 2024 15:47 - 21 Apr 2024 19:06 #298737 by stonebite
Replied by stonebite on topic PNCconf 7i92H and 7i76
hi Tommy,
Well, I let the latency histogram run for 1 hour, as you recommended. Please see screenshot.

Then I let the LinuxCNC machine run and at first there were no errors, only after about 2 minutes.
Please see the other pictures.

I hope the information is meaningful enough?

Attachments:
Last edit: 21 Apr 2024 19:06 by stonebite.

Please Log in or Create an account to join the conversation.

More
20 Apr 2024 16:40 #298739 by PCW
Replied by PCW on topic PNCconf 7i92H and 7i76
That 13 ms ping delay is really bad

Do you have all power management options disabled in the BIOS?
(turbo modes EIST, Cstates >C1 etc)
 

Please Log in or Create an account to join the conversation.

More
22 Apr 2024 08:26 #298822 by stonebite
Replied by stonebite on topic PNCconf 7i92H and 7i76
Hello PCW,
I'm not too familiar with BIOS technical terms.
I can't find points in BIOS like you write. I took a few photos.
In the advanced area I find the "APM Configuration", which has 6 AC power entries. 5 are switched off and the "ErP Ready" is switched on".
Maybe more ideas where I can look?

A question of understanding:
To what extent are the topics you mentioned important for the function and/or security?
I would like to learn to understand the connections. If it can be easily explained, then gladly?
I have also heard several statements about connection speeds between CNC and PC.
The statement was like this - with MESA cards with FPGA chips, the jitter value doesn't play any role, or doesn't play such a big role.
I understand that errors need to be corrected (and I would be very grateful if I receive support from you), but as mentioned, I would also like to learn about the relationships between cause and effect?

Thank you in advance.

 
Attachments:

Please Log in or Create an account to join the conversation.

More
22 Apr 2024 14:07 #298839 by PCW
Replied by PCW on topic PNCconf 7i92H and 7i76
I would look through _all_ the sections on the last BIOS page you showed
(AMD CBS for example concerns clocking and network settings could include power management)

Mesa Ethernet cards are not very picky about latency as long as the once per MS servo
thread can run reliably, but your PC seems to have gone to sleep for 13 ms during operation
and this means that 13 successive servo thread invocations have been dropped. Latency
this bad usually involved power management and or CPU clock speed switching which is
why it must be disabled in the BIOS
The following user(s) said Thank You: stonebite

Please Log in or Create an account to join the conversation.

More
22 Apr 2024 15:00 #298843 by stonebite
Replied by stonebite on topic PNCconf 7i92H and 7i76
OK, thank you very much for the explanations.
I have to ask and mention something else here. Is it important for the function of the fully configured machine that the electrical cabinet with the Mesa 7i92 and 7i76 remains powered? If so, is it also important that the PC remains switched on at all times? The question is because, as I mentioned earlier in the thread, I had problems with the network connection after starting the PC from standby. On the one hand, the internet connection of the PC is guaranteed via a small USB hub, but the accessibility of the 7i92 card directly from the PC with an Ethernet cable with ping 10.10.10.10 is not always guaranteed, but with 10.10.10.11 it is. I just checked all the network connection details. Once set up, I imitate it forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards I notice that the gateway 10.10.10.1 in the mask is always empty when I check. Before, for example, it was Impossible to ping the card with ping 10.10.10.10, but with 10.10.10.11 it is possible. I also couldn't read the card.
Now after restarting the PC (I checked the settings in the BIOS) I tried the same thing again and with 10.10.10.10 and 10.10.10.11 I can ping the card. I can also now read them, which was not possible before. I'm a little disillusioned?

Is this thing going to work? I looked at your suggested menu item AMD CBS, I can select it but I can't turn anything on or off in any way. Such a menu item doesn't really make sense to me.

I'll try out other settings in the BIOS

For me the configuration PC > 7i92/7i76 seems to make a rather unstable impression. I would like to know whether the connected components on the 7i76 can be read or whether the function can be addressed. I hope that we find the way.

thank you very much


cnc@cnc:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.157 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.117 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.123 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.125 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.093 ms
^C
--- 10.10.10.10 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4103ms
rtt min/avg/max/mdev = 0.093/0.123/0.157/0.020 ms
cnc@cnc:~$ ping 10.10.10.11
PING 10.10.10.11 (10.10.10.11) 56(84) bytes of data.
64 bytes from 10.10.10.11: icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from 10.10.10.11: icmp_seq=2 ttl=64 time=0.062 ms
64 bytes from 10.10.10.11: icmp_seq=3 ttl=64 time=0.063 ms
^C
--- 10.10.10.11 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2039ms
rtt min/avg/max/mdev = 0.027/0.050/0.063/0.016 ms
cnc@cnc:~$ sudo mesaflash --device 7i92 --addr 10.10.10.10 --readhmid
[sudo] Passwort für cnc:
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I92
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 2
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 2 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: QCount
  There are 1 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: StepGen
  There are 5 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       StepGen          0        Dir/Table2      (Out)
14                      1   IOPort       StepGen          0        Step/Table1     (Out)
 2                      2   IOPort       StepGen          1        Dir/Table2      (Out)
15                      3   IOPort       StepGen          1        Step/Table1     (Out)
 3                      4   IOPort       StepGen          2        Dir/Table2      (Out)
16                      5   IOPort       StepGen          2        Step/Table1     (Out)
 4                      6   IOPort       StepGen          3        Dir/Table2      (Out)
17                      7   IOPort       StepGen          3        Step/Table1     (Out)
 5                      8   IOPort       StepGen          4        Dir/Table2      (Out)
 6                      9   IOPort       StepGen          4        Step/Table1     (Out)
 7                     10   IOPort       SSerial          0        TXData0         (Out)
 8                     11   IOPort       SSerial          0        RXData0         (In)
 9                     12   IOPort       SSerial          0        TXData1         (Out)
10                     13   IOPort       SSerial          0        RXData1         (In)
11                     14   IOPort       QCount           0        Quad-IDX        (In)
12                     15   IOPort       QCount           0        Quad-B          (In)
13                     16   IOPort       QCount           0        Quad-A          (In)

IO Connections for P1
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     17   IOPort       None           
14                     18   IOPort       None           
 2                     19   IOPort       None           
15                     20   IOPort       None           
 3                     21   IOPort       None           
16                     22   IOPort       None           
 4                     23   IOPort       None           
17                     24   IOPort       None           
 5                     25   IOPort       None           
 6                     26   IOPort       None           
 7                     27   IOPort       None           
 8                     28   IOPort       None           
 9                     29   IOPort       None           
10                     30   IOPort       None           
11                     31   IOPort       None           
12                     32   IOPort       None           
13                     33   IOPort       None           

cnc@cnc:~$

 

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.271 seconds
Powered by Kunena Forum