Mesa 7i76e: no board found

More
10 Dec 2020 16:37 #191585 by Olivier_BXL-CNC
Hi everyone,

I need some help getting my 7i76e up and running after a fresh install of the LinuxCNC live CD.
I tried reading through the different posts and sticky, but I'm stuck now.....

Any help would be highly appreciated.

My setup is as follows:
Debian 10 (Buster) with LinuxCNC 2.8.1
ASUSTeK P8H61 Motherboard
Intel Celeron CPU G1620 @ 2.70GHz
2x2Gb DDR RAM @ 1333MHz
Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

I did manage to disable IP v6 via the terminal:
sudo nano /etc/sysctl.conf
I added a line: net.ipv6.conf.all.disable_ipv6 = 1
I read about the IINTEL adapter issues, but didn't read anything about the Realtek adapters so I didn't do anything to that.

I have the 2 steady amber power leds illuminated on the 7i76e, as well as the green and amber ethernet leds.
The W3 jumper is set to UP.
Wicd Network Manager also shows me as "connected to wired network (IP:10.10.10.10)
I'm cabled straight to the Mesa, and don't have any other network adapter or wireless adapter installed.

I used PNCConf wizard to write 10.10.10.10 as IP address and set the same as fixed IP in the Wicd Network Manager.
Ping and Ifconfig give me the following:

olivier@LinuxCNC-G1620:~$ sudo ifconfig
[sudo] password for olivier:
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.10.10 netmask 255.0.0.0 broadcast 10.255.255.255
ether ac:22:0b:c7:d8:fa txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 568 bytes 29532 (28.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 424 bytes 39054 (38.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 424 bytes 39054 (38.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

olivier@LinuxCNC-G1620:~$ sudo 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.027 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.034 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.045 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.042 ms
^C
--- 10.10.10.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 71ms
rtt min/avg/max/mdev = 0.027/0.037/0.045/0.007 ms

When I try to launch LinuxCNC, I'm getting the following error message:
Debug file information:
Note: Using POSIX realtime
hm2_eth: rtapi_app_main: Connection refused (-111)
./7i76_FIRST_machine.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./7i76_FIRST_machine.hal:9: /usr/bin/rtapi_app exited without becoming ready
./7i76_FIRST_machine.hal:9: insmod for hm2_eth failed, returned -1
1238
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

Many thanks,
I'm sure I missed something during setup, but don't know what.

Best regards from Brussels,
Olivier

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

More
10 Dec 2020 16:41 #191587 by PCW
Replied by PCW on topic Mesa 7i76e: no board found
You have set your PC's IP address to the 7I76Es IP address, they must be different.

I would set the PC IP address to 10.10.10.100
The following user(s) said Thank You: Olivier_BXL-CNC

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

More
10 Dec 2020 16:55 #191588 by tommylight
And stop using "sudo" for everything, it is not required.
Most of the time Linux will prompt when the "sudo" is needed.
The following user(s) said Thank You: Olivier_BXL-CNC

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

More
10 Dec 2020 17:51 #191593 by Olivier_BXL-CNC
OK,

so it really was that simple (or stupid from me....)

I forced 10.10.10.100 in the network manager as PCW suggested.

This time I can read a good connection via masaflash and ping:

olivier@LinuxCNC-G1620:~$ 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.229 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.126 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.101 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.123 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.120 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.126 ms
^C
--- 10.10.10.10 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 92ms
rtt min/avg/max/mdev = 0.101/0.137/0.229/0.043 ms

olivier@LinuxCNC-G1620:~$ ifconfig
bash: ifconfig: command not found
olivier@LinuxCNC-G1620:~$ sudo ifconfig
[sudo] password for olivier:
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.10.100 netmask 255.0.0.0 broadcast 10.255.255.255
ether ac:22:0b:c7:d8:fa txqueuelen 1000 (Ethernet)
RX packets 7 bytes 652 (652.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 48 bytes 2934 (2.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 22 bytes 2140 (2.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 2140 (2.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

olivier@LinuxCNC-G1620:~$ mesaflash --device 7i76e --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA7I76
FPGA Size: 16 KGates
FPGA Pins: 256
Number of IO Ports: 3
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


Configuration pin-out:
MANY MANY PIN DATA HERE.....
~~~~~~~~

olivier@LinuxCNC-G1620:~$

I didn't spend time setting up all the axis, homing and limits yet, but at least I can now start LinuxCNC and move the axis.
That's already a great starting point.

Many thanks to both of you
Really appreciate your help.
The following user(s) said Thank You: tommylight

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

More
10 Dec 2020 17:56 #191594 by tommylight
Nice, you are welcomed, always.

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

Moderators: PCWjmelson
Time to create page: 0.081 seconds
Powered by Kunena Forum