[EMAIL PROTECTED] wrote: > For now you have to build from source to get hostmot2. It will be in 2.2.6 > when it comes out, which might be as early as this weekend. > > Hostmot2 treats the board I/O pins differently than previous firmwares & > drivers. High-level functions like stepgen, pwmgen, & encoder by default > "own" all the pins, but you can (at module load time) disable the stepgens > etc that you don't want. The pins of the disabled module instances become > gpios and are exported to HAL.. > > Hostmot2 gpios are read and written along with all the other stuff (stepgen, > pwmgen, etc) by the per-board read and write functions. >
Hmmm - that means that the general purpose I/O is limited to the speed at which you update everything else. Was that decision driven by some architectural requirement, or just convenience? How hard would it be to pull the GPIO update code into it's own HAL function? Oh, I be I know the issue - it's the parport (EPP) interfaced boards. You can't share the EPP bus between threads. That issue doesn't exist for the PCI boards, but the unified driver architecture is limited by the least capable of the interfaces. > The hostmot2 pinouts are almost certainly different than the ones in the > other 5i20 firmwares & drivers. The pinout used is determined by the > firmware loaded and the configuration chosen by the user. The pinout used is > written to the system log when the driver is loaded. > It can't be too different if it is going to work with the existing interface boards like the 7i33, 7i37, etc. > I've tried to describe how all this works in the hostmot2 manpage, take a > look at it and let me know what parts of it are unclear or incomplete. > > Regards, John Kasunich ------------------------------------------------------------------------- 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users