Newbe trying to run 7i92TM

  • Tobi_tree
  • Tobi_tree's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
04 Feb 2025 23:59 #320669 by Tobi_tree
Newbe trying to run 7i92TM was created by Tobi_tree
Hi there my Name is Tobi and I need help,
I am trying to run my Stepcraft D420 with a 7i92TM on Debian Bookworm ( SMP PREEMPT_RT Debian 6.1.124-1) .

I got so far that i can connect to my MESA 7i92TM with
--addr 192.168.1.121 --device=ETHER --readhmid

and get this output:

Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I92
  FPGA Size: 20 KGates
  FPGA Pins: 256
  Number of IO Ports: 2
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 180.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 2 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

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

  Module: PWM
  There are 2 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 180.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       None           
14                      1   IOPort       PWM              0        PWM             (Out)
 2                      2   IOPort       StepGen          0        Step/Table1     (Out)
15                      3   IOPort       None           
 3                      4   IOPort       StepGen          0        Dir/Table2      (Out)
16                      5   IOPort       StepGen          4        Step/Table1     (Out)
 4                      6   IOPort       StepGen          1        Step/Table1     (Out)
17                      7   IOPort       None           
 5                      8   IOPort       StepGen          1        Dir/Table2      (Out)
 6                      9   IOPort       StepGen          2        Step/Table1     (Out)
 7                     10   IOPort       StepGen          2        Dir/Table2      (Out)
 8                     11   IOPort       StepGen          3        Step/Table1     (Out)
 9                     12   IOPort       StepGen          3        Dir/Table2      (Out)
10                     13   IOPort       QCount           0        Quad-A          (In)
11                     14   IOPort       QCount           0        Quad-B          (In)
12                     15   IOPort       QCount           0        Quad-IDX        (In)
13                     16   IOPort       None           

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       PWM              1        PWM             (Out)
 2                     19   IOPort       StepGen          5        Step/Table1     (Out)
15                     20   IOPort       None           
 3                     21   IOPort       StepGen          5        Dir/Table2      (Out)
16                     22   IOPort       StepGen          9        Step/Table1     (Out)
 4                     23   IOPort       StepGen          6        Step/Table1     (Out)
17                     24   IOPort       None           
 5                     25   IOPort       StepGen          6        Dir/Table2      (Out)
 6                     26   IOPort       StepGen          7        Step/Table1     (Out)
 7                     27   IOPort       StepGen          7        Dir/Table2      (Out)
 8                     28   IOPort       StepGen          8        Step/Table1     (Out)
 9                     29   IOPort       StepGen          8        Dir/Table2      (Out)
10                     30   IOPort       QCount           1        Quad-A          (In)
11                     31   IOPort       QCount           1        Quad-B          (In)
12                     32   IOPort       QCount           1        Quad-IDX        (In)
13                     33   IOPort       None           


But when I am coneckted to the Internet i cant Ping the Mesa Card or connect via mesaflash

Also "mesaflash --device 7i92 --addr 192.168.1.121 --readhmid

results in this output: No 7I92 board found

When i try to run LinuxCNC

i get this Error output:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.4
Machine configuration directory is '/home/tobias/linuxcnc/configs/TEST_MESA7i92'
Machine configuration file is 'TEST_MESA7i92.ini'
INIFILE=/home/tobias/linuxcnc/configs/TEST_MESA7i92/TEST_MESA7i92.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./TEST_MESA7i92.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
hm2_pci: rtapi_app_main: No such device (-19)
./TEST_MESA7i92.hal:9: waitpid failed /usr/bin/rtapi_app hm2_pci
./TEST_MESA7i92.hal:9: /usr/bin/rtapi_app exited without becoming ready
./TEST_MESA7i92.hal:9: insmod for hm2_pci failed, returned -1
24393
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime


Can somebody help me please?
Thank you in advance for taking your time with this.


 

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

More
05 Feb 2025 00:57 #320676 by unknown
Replied by unknown on topic Newbe trying to run 7i92TM
What do you mean exactly by "when connected to internet" ?
What is your network setup, IP addresses ?
Do you have 2 ethernet cards or wireless & ethernet ?
Have you tried 10.10.10.xx network for the Mesa card ?

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

More
05 Feb 2025 01:57 #320685 by PCW
Replied by PCW on topic Newbe trying to run 7i92TM
It suggested to use the 10.10.10.10 address for the Mesa FPGA card

Because the 192.168.1.121 is often part of a local network NAT range
(so packets get sent out to the local network rather the the Mesa card)

suggested host address is 10.10.10.100
 

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

  • Tobi_tree
  • Tobi_tree's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
05 Feb 2025 16:58 #320767 by Tobi_tree
Replied by Tobi_tree on topic Newbe trying to run 7i92TM
I am running Debian on my Thinkpad T420
The mesa is connected to the Ethernet port and when I connect to WLAN the connection to the MESA Card fails, it happens both with 10.10.10.10 and with 192.168.1.121.

Network:
IP 192.169.1.10 Mask: 255.0.0.0 Gate: 0.0.0.0
IP 10.10.10.11 Mask: 255.0.0.0 Gate: 0.0.0.0

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

  • Tobi_tree
  • Tobi_tree's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
05 Feb 2025 17:01 #320768 by Tobi_tree
Replied by Tobi_tree on topic Newbe trying to run 7i92TM
Today i reran the PnCConf and the Startup Error didn't show.
But the WLAN Problem still persists.

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

More
05 Feb 2025 18:25 #320773 by PCW
Replied by PCW on topic Newbe trying to run 7i92TM
What does

ip a

report?

I have seen a similar issue when the network GUI used was wicd
which breaks Ethernet connections when setting up a WLAN
(network manager works, wicd is broken or was broken)

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
05 Feb 2025 19:13 #320781 by tommylight
Replied by tommylight on topic Newbe trying to run 7i92TM
Lenovo T420 will not work for machine control at all dues to very bad power saving options built in.
The latency was terrible on mine, did you check yours?
The following user(s) said Thank You: Tobi_tree

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

More
05 Feb 2025 21:31 #320794 by unknown
Replied by unknown on topic Newbe trying to run 7i92TM
The netmask the user is using is not what I would use.

This is another case of the user not providing the information they were asked for at the beginning.

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

More
05 Feb 2025 22:14 #320800 by PCW
Replied by PCW on topic Newbe trying to run 7i92TM
Yes, I don't think its an issue but a /24 netmask
(255.255.255.0) makes more sense.

I do remember networks setup with WICD broke the static Ethernet
setup but network manager was OK
 

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

  • Tobi_tree
  • Tobi_tree's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
07 Feb 2025 22:53 - 07 Feb 2025 23:35 #320944 by Tobi_tree
Replied by Tobi_tree on topic Newbe trying to run 7i92TM
Yes, thank you all for your help, my T420 was the problem, switching to an other PC fixed it

But now i have a new problem

I need this custom pinout on my Card to run my Stepcraft D420

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             Relay 1                   (Out)
14      1                        IOPort            None
2        2                        IOPort            StepGen         0             Dir/Table2             (Out)
15      3                         IOPort           None
3        4                         IOPort            StepGen         0             Step/Table1         (Out)
16      5                         IOPort            None
4        6                         IOPort            StepGen         1             Dir/Table2            (Out)
17      7                         IOPort            None
5        8                         IOPort            StepGen         1             Step/Table1         (Out)
6        9                         IOPort            StepGen         2             Dir/Table2            (Out)
7       10                        IOPort            StepGen         2             Step/Table1         (Out)
8       11                        IOPort            StepGen         3             Dir/Table2            (Out)
9       12                        IOPort            StepGen         3             Step/Table1          (Out)
10     13                        IOPort            QCount          0             Quad-C                  (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

How do i get a bin File for the 7i92TM to match that?
Attachments:
Last edit: 07 Feb 2025 23:35 by Tobi_tree.

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

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