Stephen Wille Padnos wrote: > Roland Jollivet wrote: > >> Hi >> >> If we look at HM2_7i43, >> where can I find documentation on the actual read/write sequence to the >> parallel port, and a map of the registers? >> >> > You could look at the source code. It's even available on the web. (at > <http://cvs.linuxcnc.org/>) > > The HM2_7i43 is a bit more complex than the pluto or ppmc drivers > though. It supports PCI and parallel port devices, and devices which > may change functionality (either through load-time parameters or > different firmware, or both).
The hostmot2 register file is described in src/hal/drivers/mesa-hostmot2/firmware/src/regmap, available on the web here: <http://cvs.linuxcnc.org/cvs/emc2/src/hal/drivers/mesa-hostmot2/firmware/src/regmap?rev=1.2> The source code of the driver that talks to it is in src/hal/drivers/mesa-hostmot2. In that directory there are a couple of files named hm2_*.c that do low-level I/O with the FPGA boards, but they know nothing about the hostmot2 register file and protocols. The part of the driver knows what to read & write to the registers is in all the other files. -- Sebastian Kuzminsky sudden wind it stole my hat and i went on chasing it -- Gogol Bordello ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
