7i96 not working anymore

More
1 year 7 months ago #324005 by persei8
After updating linuxcnc, I now get the following:
Code:
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:
Code:
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 to join the conversation.

More
1 year 7 months ago #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 to join the conversation.

More
1 year 7 months ago #324015 by persei8
Replied by persei8 on topic 7i96 not working anymore
Computer rebooted.
Power on the controller.
Without trying to run linuxcnc:
Code:
$ 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
Code:
jim@Linuxcnc:~$ halrun -U Note: Using POSIX realtime j
Code:
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 to join the conversation.

More
1 year 7 months ago #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 to join the conversation.

More
1 year 7 months ago #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 to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum