7i96 not working anymore

  • persei8
  • persei8's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
15 Mar 2025 15:38 #324005 by persei8
7i96 not working anymore was created by persei8
After updating linuxcnc, I now get the following:
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:16:00:b6
hm2_eth: discovered 7I96
hm2/hm2_7i96.0: Low Level init 0.15
hm2/hm2_7i96.0: created PktUART Interface function hm2_7i96.0.pktuart.0.
*** buffer overflow detected ***: terminated
./qtdragon.hal:13: waitpid failed /usr/bin/rtapi_app hm2_eth
./qtdragon.hal:13: /usr/bin/rtapi_app exited without becoming ready
./qtdragon.hal:13: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command 30 timeout (seq: 1)
emcMotionInit: emcTrajInit failed
Waited 3 seconds for master.  giving up.
Then I tried:
jim@Linuxcnc:~/Downloads/7i96/configs/hostmot2$ mesaflash --device 7i96
lbp16_access.send_packet: Resource temporarily unavailable
Aborted
Is the 7i96 toast, hostmot broken? All I did after a few weeks on non use was update llinuxcnc (2.10.0-pre0) I had to compile from source since buildbot is no longer working.
Jim

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

More
15 Mar 2025 15:45 #324006 by PCW
Replied by PCW on topic 7i96 not working anymore
That's a LinuxCNC error perhaps in the modbus code
 
After that error that  you may need to run

halrun -U

or if that does not work, reboot the computer

Because LinuxCNC blocks access to the Ethernet port the 7I96 uses
Until it exits cleanly (this is likely why mesaflash does not work)

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

  • persei8
  • persei8's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
15 Mar 2025 18:45 #324015 by persei8
Replied by persei8 on topic 7i96 not working anymore
Computer rebooted.
Power on the controller.
Without trying to run linuxcnc:
$ 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.315 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.167 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.162 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.159 ms
^C
--- 10.10.10.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3061ms
rtt min/avg/max/mdev = 0.159/0.200/0.315/0.066 ms
jim@Linuxcnc:~$ halrun -U
Note: Using POSIX realtime
j
jim@Linuxcnc:~$ mesaflash --device 7I96
lbp16_access.send_packet: Resource temporarily unavailable
Aborted
j
A sim config works just fine. The problem is only with the real machine. I would try to flash it back to the original bitfile, the one without pktuart, but mesaflash doesn't seem to communicate with the 7i96.
Jim

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

More
15 Mar 2025 18:51 #324017 by PCW
Replied by PCW on topic 7i96 not working anymore
You need to supply the card address when using mesaflash:

mesaflash --device 7i96 --addr 10.10.10.10

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

  • persei8
  • persei8's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
15 Mar 2025 22:03 #324029 by persei8
Replied by persei8 on topic 7i96 not working anymore
Well it's working again. I reflashed the card to the standard bitfile. Apparently, whatever changed in hostmot didn't like the pktuart config. Thanks for your help.
Jim
 

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

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