> From: Peter Wallace [mailto:[email protected]] > > Excuse the top posting but this small text might be lost > > GPIO-00 (pin 1)is assigned to enabled steggen 04 so is unavailable > as a GPIO output. > > If you are not using stepgen 04, set num-stepgens to 4 so only > stepgen 00,01,02,03 are enabled leaving GPIO 00 free for > input/output use > > On Thu, 9 Oct 2025, John Dammeyer wrote: > > > From: John Dammeyer <[email protected]> > > Plugged in the cables, powered it up and this time if failed where before it > > always worked. As in it was running when I shut it down, disconnected the > > cables and put it on the shelf. > > > > Here is the line that causes the problem: > > setp hm2_7i92.0.gpio.000.is_output true > > net machine-is-enabled => hm2_7i92.0.gpio.000.out > > > > > > BTW, I have that exact same line in my PC based system running a real > > machine. Something else must be doing this but what? > >
Thanks Peter, I would have sworn that the 7i92 in the Pi4 system had the same firmware as the PC based 7i92 system. Seems not. On the PC that pin is set as IOPort while on the Pi, as you correctly stated it's StepGen 4 (used as ChargePump output). On the PC system that PPort-1 Pin 000, IOPort is Machine is enabled which is part of the original intelligent BoB I was using. Changing the two lines in the Pi4 HAL file to use 017: setp hm2_7i92.0.gpio.017.is_output true net machine-is-enabled => hm2_7i92.0.gpio.017.out puts the Machine Enabled to the second parallel port pin 1 and now it runs LinuxCNC. So I think I need to figure out what I have in the PC system for 7i92 code and put the same version into this test bench play toy. Silly to have two different versions. John _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
