- Posts: 80
- Thank you received: 0
MESA 5i25 with non-standard config and modified firmware
My required configuration is:
4 stepgen axes - X B C W and one stepgen used like a spindle (not in kinematics)
Currently I have:
1. A Mesa 6i25 running modified 5i25 firmware with 7 stepgens
mesaflash --device 5i25 --readhmid - finds card and shows correct stepgens configured
There are no attached breakout boards in this machine.
2. LINUXCNC - 2.9.0~pre
Linux 5.0.21-rt16 #1 SMP PREEMPT RT
3. RIP in ~/linuxcnc-dev
System runs examples like 'configs/sim/axis_9axis.ini' without any problems
4. I used pncconf to create a basic HAL/INI file set for XYZA and a mesa 5i25+7i76x2 -With One 7i76 as a starting point.
After editing the HAL/INI files to have my XBCW axes I selected them in Linuxcnc and get an error:
"Ini variable '[HMOT]CARD0.watchdog.timeout_ns' not found."
CARD0 is set to hm2_5i25.0 in the .ini file.
Looking into src/hal/drivers/mesa-hostmot2 I don't see any driver for 5i25. Do I have to build one? What is the easiest way to get the HAL file to work with this configuration? Can anyone tell me where to go from here?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
setp hm2_5i25.0.watchdog.timeout_ns 5000000
Please Log in to join the conversation.
Now I get a new error at the second (
pin 'hm2_5i25.0.stepgen.04.dirsetup' not found
This seems to be due to associating B with joint_4. Changing .04.to .01. gets me past this error.
I thought I read in the manual that the joint numbering was fixed as XYXAB... = 01234...
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Most probably you missed it while editing.
Please Log in to join the conversation.
Please Log in to join the conversation.
vedatech wrote: Thanks, that worked. I don't understand why the variable substitution didn't work.
Now I get a new error at the second ( B ) axis:
pin 'hm2_5i25.0.stepgen.04.dirsetup' not found
This seems to be due to associating B with joint_4. Changing .04.to .01. gets me past this error.
I thought I read in the manual that the joint numbering was fixed as XYXAB... = 01234...
The error: pin 'hm2_5i25.0.stepgen.04.dirsetup' not found
is expected because:
loadrt hm2_pci config=" num_encoders=0 num_pwmgens=1 num_stepgens=4"
only enables 4 stepgens (0..3)
Please Log in to join the conversation.
hm2_5i25.0.stepgen.08.dirsetup - not found
Any ideas?
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
of 0..6 (like stepgen.08) is an error.
Note that there is no required correspondence at all
between joint #s and stepgen #s, that mapping is up to you...
Please Log in to join the conversation.
