Mesa 7i76e => hm2_eth: Unrecognized ethernet board

More
10 years 11 months ago #65467 by jtc
Hi.

I'm with troubles to put this board working. I freshly installed debian wheezy on a old p4 32bit system.

Followed this instructions : linuxcnc.org/docs/2.7/html/getting-start...th_preempt_rt_kernel and installed the Preempt-RT kernel.

Provide 5v + 24v vfield to mesa 7i76e and configured manually the Ethernet:
Code:
jtc@jtctech:~$ sudo /sbin/ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0b:cd:e2:6f:ef inet addr:192.168.1.120 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20b:cdff:fee2:6fef/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:45 errors:0 dropped:0 overruns:0 frame:0 TX packets:210 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4136 (4.0 KiB) TX bytes:25452 (24.8 KiB) Interrupt:20 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:288 errors:0 dropped:0 overruns:0 frame:0 TX packets:288 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:25894 (25.2 KiB) TX bytes:25894 (25.2 KiB) wlan0 Link encap:Ethernet HWaddr 30:b5:c2:17:31:ac inet6 addr: fe80::32b5:c2ff:fe17:31ac/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:5351 errors:0 dropped:0 overruns:0 frame:0 TX packets:3462 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4056544 (3.8 MiB) TX bytes:533629 (521.1 KiB)

I can ping the board:
Code:
jtc@jtctech:~/linuxcnc/configs/mesa7i76e$ ping 192.168.1.121 PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data. 64 bytes from 192.168.1.121: icmp_req=1 ttl=64 time=0.126 ms 64 bytes from 192.168.1.121: icmp_req=2 ttl=64 time=0.115 ms 64 bytes from 192.168.1.121: icmp_req=3 ttl=64 time=0.117 ms 64 bytes from 192.168.1.121: icmp_req=4 ttl=64 time=0.118 ms 64 bytes from 192.168.1.121: icmp_req=5 ttl=64 time=0.119 ms 64 bytes from 192.168.1.121: icmp_req=6 ttl=64 time=0.117 ms 64 bytes from 192.168.1.121: icmp_req=7 ttl=64 time=0.119 ms 64 bytes from 192.168.1.121: icmp_req=8 ttl=64 time=0.117 ms ^C --- 192.168.1.121 ping statistics --- 8 packets transmitted, 8 received, 0% packet loss, time 6998ms rtt min/avg/max/mdev = 0.115/0.118/0.126/0.011 ms

after create a sample configuration file with pncconf I tried to run it, but got this message:
Code:
Machine configuration directory is '/home/jtc/linuxcnc/configs/mesa7i76e' Machine configuration file is 'mesa7i76e.ini' Starting LinuxCNC... Found file(REL): ./mesa7i76e.hal Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:10:40:1d hm2_eth: Unrecognized ethernet board found: ���������������� -- port names will be wrong hm2_eth: discovered ���������������� hm2: invalid llio name passed in (contains non-printable character) board fails HM2 registration hm2_eth: rtapi_app_main: Invalid argument (-22) ./mesa7i76e.hal:8: waitpid failed /usr/bin/rtapi_app hm2_eth ./mesa7i76e.hal:8: /usr/bin/rtapi_app exited without becoming ready ./mesa7i76e.hal:8: insmod for hm2_eth failed, returned -1 Shutting down and cleaning up LinuxCNC... Running HAL shutdown script hm2: unloading Note: Using POSIX realtime LinuxCNC terminated with an error. You can find more information in the log: /home/jtc/linuxcnc_debug.txt and /home/jtc/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

and when try to use mesaflash (I suspected that it can be a firmware problem) e found this:
Code:
jtc@jtctech:~/Downloads/firmware$ mesaflash --device 7i76e --verify 7I76R14.BIN Unsupported ethernet device ���������������� at 192.168.1.121 No 7I76E board found

on another pc, if I try to use mesafash with this board I got the same result.

In my searches I didn´t find any problem like this with Mesa Ethernet boards... Hopefully is something simple that its missing, but after many hours look at this I have no idea how to solve it.


João

Please Log in to join the conversation.

More
10 years 11 months ago #65471 by micges
Paste output from command
Code:
mesaflash --device 7i76e --verbose

Please Log in to join the conversation.

More
10 years 11 months ago #65478 by PCW
arghh, looks like I sent out some 7I76E cards with the card name not set.

This can be fixed by running these commands in Windows (in a cmd shell)
(maybe mesaflash can be taught to do this eventually)

set protocol=direct
set interface=elbp16
set ipaddr=192.168.1.121
setname 7I76E-16

setname is here:

freeby.mesanet.com/setname.exe


BTW 7I76R14.BIN is not a valid 7I76E firmware file, all 7I76E firmware files begin with 7i76e_ and end with .bit

Please Log in to join the conversation.

More
10 years 11 months ago #65480 by design_dude
HI Peter -- thanks for the quick response. I too am experiencing the same issue with a board I recently purchased. I typed the commands as you have provided with the 7i76E board connected to my Win7 box via a router. It seemed to work and this is what i got:

cnc@debiancnc:~$ mesaflash --device 7i76e --addr 192.168.1.121
Unsupported ethernet device ���������������� at 192.168.1.121
No 7I76E board found

I then power cycled the board and repeated the command and this is now what I get:

cnc@debiancnc:~$ mesaflash --device 7i76e --addr 192.168.1.121
Unsupported ethernet device 7I76E at 192.168.1.121
No 7I76E board found

Is there something else that I need to do?

Just checked and I am running Prempet-RT with LinuxCNC 2.7.2 on Whesey.

Cheers

Please Log in to join the conversation.

More
10 years 11 months ago #65481 by PCW
Sorry the name is 7I76E-16
(so setname 7I76E-16)

Please Log in to join the conversation.

More
10 years 11 months ago #65482 by design_dude
Perfect. Worked like a charm!

I checked with mesaflash and I got all of the config details.

I then created a configuration with the Pncconf Wizard and it booted up immediately.

Thanks again for your help!

Please Log in to join the conversation.

More
10 years 11 months ago #65483 by micges
I'll add this to next version of mesaflash.

Please Log in to join the conversation.

More
10 years 11 months ago #65540 by jtc
Thanks

unfortunately I can't did it today, and now only next week I can do that.
(previously I have tested with another 7i76e, so I suspected all the boards will need this operation)



João

Please Log in to join the conversation.

More
10 years 11 months ago #65718 by sirhc
Hmm.. same issue here. Also with a new 7i76e board. I'll try to find a windows machine.

Please Log in to join the conversation.

More
10 years 11 months ago #65724 by tommylight
I do not envy you, i needed one 2 weeks ago so i had to assemble a computer from parts i gathered in my workshop, was a traumatic experience going back to windoze, i hav waisted half of my life with it.
Regards,
Tom

Please Log in to join the conversation.

Time to create page: 0.190 seconds
Powered by Kunena Forum