Thanks, Andy! That did indeed reveal the pins we need. I think pncconf has a problem with the 2x7i76, but my student should be able to proceed now.
I tried the same "show pin" on my BSPI configuration, but alas, no bspis show up. So the bspi support in hostmot2.c must have some difficulties. halcmd: loadrt probe_parport halcmd: loadrt hostmot2 halcmd: loadrt hm2_7i43 config="firmware=hm2/7i43-4/SVSTSPI4_6.BIT num_bspis=1 " halcmd: show pin Dmesg shows the seven BSPI pins, but show pin does not. Sorry to infect one thread with another :-). I've got way too many simultaneous LinuxCNC projects going on right now... Thanks again, -- Ralph ________________________________________ From: andy pugh [[email protected]] Sent: Monday, July 28, 2014 2:08 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] question on 5i25+(2)7i76 On 28 July 2014 21:46, Ralph Stirling <[email protected]> wrote: > We are perfectly happy to hand edit the hal file, but do not know > the syntax for specifying the second 7i76. Random (educated) > guesses have not been successful. I think that if you have 5i25.0.7i76.0.0.gpio.NN then the second 7i76 will be 5i25.0.7i76.1.0.gpio.NN You shouldn't actually need to do anything to see the GPIO on the second 7i76. As long as there is Field Power, it will self-declare to the driver halrun loadrt hostmot2 loadrt hm2_pci show pin Will give you a dump of all the default pins,and should include both 7i76s. You might like to use the use_serial_numbers option to disambiguate the cards. (Which seems to be undocumented, even though I remember documenting it, and the code is there) http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/drivers/mesa-hostmot2/hostmot2.c;h=94168e1e00f4c65eef09754ef415ffc0c0e814f0;hb=refs/heads/2.6#l56 -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
