Chris Morley wrote: > [snip] > > The hostmot2 docs do not contain pinout information because it does not > > exist. The hostmot2 driver does not have a particular pinout; the > > pinout comes from the firmware that the hostmot2 driver sends to the > > AnyIO board. Each firmware has different pinout, and there are many, > > many firmwares available. > > > > Each firmware *does* have its pinout described in a .PIN file, which is > > available in /usr/share/doc/emc2-firmware-mesa-$BOARD-hostmot2 (if you > > installed the firmware debian package), and it's in > > src/hal/drivers/mesa-hostmot2/firmware/$BOARD if you're compiling from > > the CVS source. > > Ok thanks I will look at that. > Could this pinout description be added to the manual ?
No, it can't. Unless you want to add pinouts for each of the available configurations. There are only two cards that might be able to share pinout information, the 5i20 and 5i23, since those two have 3 connectors each. The 5i22-1.0 and 5i22-1.5 could also share pinout information, since their connector names match. The 7i43, 5i20, and 5i22 have different numbers and names of connectors, and there are severa different configs for each one. Add to that the ability to turn different functions off an on, which gives you two functions for most pins, and you need a separate manual for the mesa pinouts :) > > > > None the less, this pinout thing is a frequently asked question, and > I'm > > open to suggestions on how to describe the situation more clearly in a > > place people are likely to find it. > > > > I'll let you know if I think of anything in the future. > > One thing I would suggest is writing up a Hostmot2 sample that would > emulate > the original driver -I guess that is the 4 channel servo/8 step driver > firmware > with the step drivers turned off? Does that end up being compatible with > the 7i33 servo driver ? again I would guess yes but.... Actually, it would be closest to the 8 servo/no stepgen config. hal_m5i20 had no stepgens and only 4 PWMgens. The second connector had auxiliary encoder inputs, for a total of 8. You'd need SV8_*.BIT, with num_pwmgens=4, to most closely emulate the hal_m5i20 driver. A sample config for this would be good. There is also pin/parameter aliasing support now, so the pin names could be aliased to look like the old driver. I don't know whether I think this is a good idea though, since you still need to change load-time parameters and function names. - Steve ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
