On Sun, 10 Aug 2014, Schooner wrote: > Date: Sun, 10 Aug 2014 16:19:56 +0100 > From: Schooner <[email protected]> > Reply-To: "Enhanced Machine Controller (EMC)" > <[email protected]> > To: [email protected] > Subject: [Emc-users] 5i25 GPIO mapping > > Hi > > Dipping my toes in the FPGA pool, there may be more queries after this. > > Is the 5i25 supposed to have its GPIO pins mapped in dmesg when hostmot2 > / hm2_pci are loaded? > (as per http://linuxcnc.org/docs/html/drivers/hostmot2.html#_gpio ) > > The manual page states that the 5i25 is pre-programmed so does not use > firmware files, but is not clear as to whether the > printout is a part of the firmware loading process or common to all boards
Yes, the driver reads the IDROM portion of the FPGA at startup and parses is and prints the result to the log, (for RTAI based systems) This is universal for HostMot2 configurations You can also us mesaflash to print out a (more nicely formatted) pinout list: sudo mesaflash --device 5i25 --readhmid > > If I run dmesg after starting Lcnc, all I get are a couple of RTAI > messages and something like 'hm2_pci: - 5i25 found on IRQ11' > but no pinout print for GPIO. > > I have found the pin I was looking for by trial and error triggering > signals on the corresponding 7i76 input > but a print out would have been handy, to see which were already mapped > to inputs etc halcmd show all >allhall.txt > > regards > > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
