[Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread ejohnson
Sebastian, et al I built the latest hostmot2 drivers from source. Unfortunately where the machine is does not have an internet connecton, nor are the development tools loaded on the target system, so I compiled on my development system. I then copied the files hm2_5i20.ko and hostmot2.ko to the

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
[EMAIL PROTECTED] wrote: Sebastian, et al I built the latest hostmot2 drivers from source. Unfortunately where the machine is does not have an internet connecton, nor are the development tools loaded on the target system, so I compiled on my development system. I then copied the

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Stephen Wille Padnos
Sebastian Kuzminsky wrote: [EMAIL PROTECTED] wrote: [snip] Any ideas? Are there any other files I need to copy over to the target system? I would suggest you compile the CVS TRUNK to emc2.deb on your development machine and install the .deb on your CNC machine. Also, please pastebin

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
Stephen Wille Padnos wrote: Sebastian Kuzminsky wrote: [EMAIL PROTECTED] wrote: Any ideas? Are there any other files I need to copy over to the target system? I would suggest you compile the CVS TRUNK to emc2.deb on your development machine and install the .deb on your CNC machine.

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread ejohnson
Sebastian, Here are the links for thehal file and ini file I am using. Any other config filesare unmodified from the defaults (core_stepper.hal, emc.nml, etc.). HAL file: http://pastebin.com/mfb07fa0 Ini file: http://pastebin.com/m4a155f84 Is there a script for building the deb file or do you

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
[EMAIL PROTECTED] wrote: Sebastian, Here are the links for the hal file and ini file I am using. Any other config files are unmodified from the defaults (core_stepper.hal, emc.nml, etc.). HAL file: http://pastebin.com/mfb07fa0 If you're using the latest stepgen.c (top-of-tree TRUNK

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
Sebastian Kuzminsky wrote: [EMAIL PROTECTED] wrote: Is there a script for building the deb file or do you have a link on how to do it? I did a quick search on linuxcnc.org but did not see how to do that. You need to have the kernel headers for your target system installed on the

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread ejohnson
Sebastian, If you're using the latest stepgen.c (top-of-tree TRUNK 2.2 branch), then you don't need the raw stuff starting on line 30. Ok, I will take them out. Looks like you're using the same stepper timings as I do on the steppers I test with - is that correct for your setup too? I used

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
[EMAIL PROTECTED] wrote: Oops, and it looks like the u32 stepgen timing parameters are commented out, and the old float ones are being used. I'm not sure how those floats get read in, but they might all read as (u32)0, which could also cause your steppers to not work. Sorry about that, I

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread ejohnson
Sebastian, I am using an unmodified, up-to-date CVS checkout from source, then built from source and copied the binaries I thought had changed. While it got lost in the exchange of emails, I was really most concerned about the stepper motors not working, and figured the problem with the pwm

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
[EMAIL PROTECTED] wrote: While it got lost in the exchange of emails, I was really most concerned about the stepper motors not working, and figured the problem with the pwm might be related. If I set the power level to 50%, or almost any other non-zero value, my meter reads about 3.3

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Alex Joni
] Latest hostmot2 drivers for m5i20 [EMAIL PROTECTED] wrote: While it got lost in the exchange of emails, I was really most concerned about the stepper motors not working, and figured the problem with the pwm might be related. If I set the power level to 50%, or almost any other non-zero

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
Sebastian Kuzminsky wrote: Sebastian Kuzminsky wrote: [EMAIL PROTECTED] wrote: Is there a script for building the deb file or do you have a link on how to do it? I did a quick search on linuxcnc.org but did not see how to do that. You need to have the kernel headers for your target system

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Eric H. Johnson
Sebastian, Thanks, this really helps. It shows that the stepgen.enable pins are set to FALSE, thus disabling the stepgen outputs. I added the .enable pin fairly recently. Try adding them to your Xen and Yen nets. Ok, that makes a lot of sense. I guess I need to check the pins after every

Re: [Emc-users] Latest hostmot2 drivers for m5i20

2008-09-15 Thread Sebastian Kuzminsky
Eric H. Johnson wrote: Sebastian, Thanks, this really helps. It shows that the stepgen.enable pins are set to FALSE, thus disabling the stepgen outputs. I added the .enable pin fairly recently. Try adding them to your Xen and Yen nets. Ok, that makes a lot of sense. I guess I need to