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

More
1 year 7 months ago #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. 

Please Log in to join the conversation.

More
1 year 7 months ago #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:)

Please Log in to join the conversation.

More
1 year 7 months ago #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?

Please Log in to join the conversation.

More
1 year 7 months ago #324880 by tommylight
Code:
hm2_eth: discovered 7I95T
while
Code:
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.

Please Log in to join the conversation.

More
1 year 7 months ago #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.
 

Please Log in to join the conversation.

More
1 year 7 months ago #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)

Please Log in to join the conversation.

More
1 year 7 months ago #325041 by Boogie
Did changes but no success: report attached.

Please Log in to join the conversation.

More
1 year 7 months ago #325055 by tommylight
You have "loadrt HM2_ETH " twice in the hal file, there can be only one ... (insert HighLander movie quote here) :)

Please Log in to join the conversation.

More
1 year 7 months ago #325132 by Boogie
I had to check that:) The quote
 

Please Log in to join the conversation.

More
1 year 7 months ago #325369 by Boogie
That was the one! AXIS is now working. Learning how to tune it now.

Please Log in to join the conversation.

Time to create page: 0.831 seconds
Powered by Kunena Forum