- Configuring LinuxCNC
- Configuration Tools
- Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
- Boogie
- Offline
- Premium Member
-
Less
More
- Posts: 96
- Thank you received: 7
25 Mar 2025 13:03 - 25 Mar 2025 13:04 #324872
by Boogie
Replied by Boogie on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
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.
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.
Last edit: 25 Mar 2025 13:04 by Boogie.
Please Log in or Create an account to join the conversation.
- Boogie
- Offline
- Premium Member
-
Less
More
- Posts: 96
- Thank you received: 7
25 Mar 2025 13:14 #324873
by Boogie
Replied by Boogie on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
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:)
Please Log in or Create an account to join the conversation.
- Boogie
- Offline
- Premium Member
-
Less
More
- Posts: 96
- Thank you received: 7
25 Mar 2025 13:20 #324874
by Boogie
Replied by Boogie on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
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?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19958
- Thank you received: 6768
25 Mar 2025 14:46 #324880
by tommylight
whileNot 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.
Replied by tommylight on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
hm2_eth: discovered 7I95T
hm2_7i95: dlopen: /usr/lib/linuxcnc/modules/hm2_7i95.so: cannot open shared object file: No such file or directory
The following user(s) said Thank You: Boogie
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18374
- Thank you received: 5016
25 Mar 2025 15:11 - 25 Mar 2025 15:45 #324882
by PCW
Replied by PCW on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
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.
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.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18374
- Thank you received: 5016
25 Mar 2025 15:25 - 25 Mar 2025 15:32 #324886
by PCW
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)
Replied by PCW on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
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.
- Boogie
- Offline
- Premium Member
-
Less
More
- Posts: 96
- Thank you received: 7
27 Mar 2025 11:02 #325041
by Boogie
Replied by Boogie on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
Did changes but no success: report attached.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19958
- Thank you received: 6768
27 Mar 2025 13:58 #325055
by tommylight
Replied by tommylight on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
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.
- Boogie
- Offline
- Premium Member
-
Less
More
- Posts: 96
- Thank you received: 7
28 Mar 2025 02:12 #325132
by Boogie
Replied by Boogie on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Boogie
- Offline
- Premium Member
-
Less
More
- Posts: 96
- Thank you received: 7
31 Mar 2025 09:02 #325369
by Boogie
Replied by Boogie on topic Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
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.
- Configuring LinuxCNC
- Configuration Tools
- Mesa 7i95T config for workbench tests - to drive H-Bridges + PMDC servos
Time to create page: 0.229 seconds