Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos

More
25 Mar 2025 13:03 - 25 Mar 2025 13:04 #324872 by Boogie
Thank you for pointing things out.I did my best and studied the files. I wrote INI and HAL based on initial CT output and config from you Tommy.My linuxcnc is crashing with debug info:
hm2_7i95: dlopen: /usr/lib/linuxcnc/modules/hm2_7i95.so: cannot open shared object file: No such file or directory./main.hal:17: waitpid failed /usr/bin/rtapi_app hm2_7i95./main.hal:17: /usr/bin/rtapi_app exited without becoming ready./main.hal:17: insmod for hm2_7i95 failed, returned -15142Stopping realtime threadsUnloading hal componentsNote: Usid POSIX realtime
Attached HAL, INI and crash report. 
Attachments:
Last edit: 25 Mar 2025 13:04 by Boogie.

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

More
25 Mar 2025 13:14 #324873 by Boogie
My setup i pretty rude, as in photos. Currently no h-bridges connected (have no wires available...) but checking encoders and limit/home switches would be great for me. Actually, even starting without crash would be great:)
Attachments:

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

More
25 Mar 2025 13:20 #324874 by Boogie
What makes me curious is mesaflash --device 7i95t --addr 10.10.10.10 --readhmid output, because i can't see TB5 inputs present in the list. Why is that?
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
25 Mar 2025 14:46 #324880 by tommylight
hm2_eth: discovered 7I95T
while
hm2_7i95: dlopen: /usr/lib/linuxcnc/modules/hm2_7i95.so: cannot open shared object file: No such file or directory
Not sure if the entries in the hal file should also be 7i95T, but it seems so, use the "search and replace" feature in the text editor with CTRL+h and replace every 7i95 with 7i95T, save and run again.
The following user(s) said Thank You: Boogie

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

More
25 Mar 2025 15:11 - 25 Mar 2025 15:45 #324882 by PCW
The error is this line:

loadrt hm2_[MESA](BOARD) config=" num_encoders=3 num_pwmgens=3 num_stepgens=0"

Remove it and add the config stanzas to:

loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="sserial_port_0=00000000 num_encoders=3 num_pwmgens=3"

The 7I95T uses the 7i95 name in hal files so 7i95 hal files will work with 7I95Ts without change.
 
Last edit: 25 Mar 2025 15:45 by PCW.
The following user(s) said Thank You: tommylight, Boogie

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

More
25 Mar 2025 15:25 - 25 Mar 2025 15:32 #324886 by PCW

What makes me curious is mesaflash --device 7i95t --addr 10.10.10.10 --readhmid output, because i can't see TB5 inputs present in the list. Why is that?


 
The input pins are  scanned by the inmux module so multiple inputs are sensed by a few FPGA
pins so not listed.

The output pins are not there because the name is wrong in mesaflash (the SSR TB3 pins should
be TB5 pins) Fixed (in mesaflash 3.5.13)
Last edit: 25 Mar 2025 15:32 by PCW.
The following user(s) said Thank You: Boogie

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

More
27 Mar 2025 11:02 #325041 by Boogie
Did changes but no success: report attached.
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Mar 2025 13:58 #325055 by tommylight
You have "loadrt HM2_ETH " twice in the hal file, there can be only one ... (insert HighLander movie quote here) :)
The following user(s) said Thank You: Boogie

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

More
28 Mar 2025 02:12 #325132 by Boogie
I had to check that:) The quote
 
Attachments:
The following user(s) said Thank You: tommylight

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

More
31 Mar 2025 09:02 #325369 by Boogie
That was the one! AXIS is now working. Learning how to tune it now.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.229 seconds
Powered by Kunena Forum