Eric H. Johnson wrote:
> 1> Adding a hostmot2 sample configuration to CVS
> 
> Once I get a working configuration using the Hostmot2 driver, I think it
> would be beneficial to include a sample configuration in the general
> distribution. I am not sure I understand how to do that under CVS, as
> everything I have checked in was under src, and I know when I do an update,
> my local configurations don't get added to CVS.

Yes please!  As far as I know you're the first person to actually 
configure a whole machine with hostmot2.  It'd probably be helpful for 
others if you showed them how you did it.

The configurations should be added under configs/hostmot2.  Do you have 
CVS commit access?  If not you can email me the config files and I'll be 
happy to add them for you.


> 2> Adding the PIN file to the configuration folder
> 
> I also think, at least for the configurations for the various Mesa boards,
> that it would make sense to include the pin files in with the configuration
> files (ini, hal, etc). Having to find it under
> src/hal/drivers/m5i20/...(current configurations - I presume a PIN file will
> be added to mesa-hostmot2) is a bit daunting both for the novice and when
> installing from the precompiled packages.

I agree that the PIN files should be more accessible, but I'm not sure 
the config directory is the place for them.  The *firmware* determines 
the pinout, and all the config can do is turn of some module instances 
and let their pins revert to gpio.

The .PIN files are provided by Mesa, one for each .BIT file.  They're 
currently in src/hal/drivers/mesa-hostmot2/firmware/*, and I dont think 
they get installed with the debian package...  Maybe the PIN files 
should be installed in /usr/share/doc/emc2?


> 3> Updated PIN file
> 
> This is mostly for Sebastian, but any input is appreciated. I have included
> below a PIN file specifically for the HOSTMOT2 configuration and based on
> the generic m5i20 PIN file. It should be a lot more convenient than figuring
> it out from a dmesg log. Sorry about the tabs and line wraps.

That looks like a pinout for the SVST8_4 firmware (8 servos and 4 
steppers), similar to this one:

<http://cvs.linuxcnc.org/cvs/emc2/src/hal/drivers/mesa-hostmot2/firmware/5i20/SVST8_4.PIN?rev=1.1>

Different firmwares will have different pinouts.


-- 
Sebastian Kuzminsky
Computer Science for life, that's my direction
Instead of b-balls, my homies throw exceptions  -- MC Plus+

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to