Ok i have been putting printf commands in the source as a debugging tool to see how far through the code I get before it hangs, and I found I get to the point of
Code:
// wait until EMC and AXIS is ready, ie enable bit is set
while (!*(haldata->enable)){
// do nothing until enabled
}
So I need to find out what haldata->enable is connected to. I am guessing this is something that has changed since 2.4
With axis running, i looked through halmeter and the only pin with enable in the name I could find that was false is spindle-vfd.enable
Anyone out there?
I will post all my files once i get it working so anyone with 2.5 who wants to use it can get it working easily. I had to change a few lines in the source from emc2 to linuxcnc already. I know I can get this working, just not that familiar with anything but basic programming and setup.