On Fri, 11 Jul 2014, Gene Heskett wrote: > Date: Fri, 11 Jul 2014 11:26:33 -0400 > From: Gene Heskett <ghesk...@wdtv.com> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Where to get latest PncConf? > > On Friday 11 July 2014 07:30:22 John Thornton did opine > And Gene did reply: >> So I just pulled the new_pncconf branch then switched to that branch >> with git. >> >> In the terminal I typed >> cd src >> ./autogen.sh >> ./configure > I had to install missing pkgs >> make > Had to use sudo for make, mc is bad dog >> sudo make setuid >> cd .. >> . ./scripts/rip-environment >> pncconf >> >> and walla the new Pncconf is up and running. >> >> JT > > Got it running, fires up MUCH faster, but still won't let me assign the IO > pins I need. I'd have to rip up all the IO on my C1G & rewire the whole > maryann. > > So I restarted it, enabled 4 stepgens, 2 spindle pwm's, and 2 spindle > encoders so I could get an idea of what I'd need to rewire, but the test > button does nothing. When I got to the pin page, no choices, just ins or > outs. I muddled thru the rest of it and saved it, but no clue where it > saved it. > > So I haven't really learned anything. I am assuming that asking for 4 > stepgens, 2 pwms, and 2 encoders, that it would assign then evenly between > p3 and p2. To play with it, I'll need to get another bob, plug it in and > see what comes out (or in) where. Frankly, lack of documentation on this > sux. So I guess I wait on Chris, maybe he can wave a dead chicken and do > a chant or 3 & make it work.
The pin assignment for hardware functions like PWM, encoders, stepgens, etc is hardwired in the FPGA configuration. (you can read the .pin file to see the pinout for a specific configuration) dmesg also lists the current configurations pinout or run mesaflash: sudo mesaflash --device 5i25 --readhmid to read your current configurations pinout Here's the latest mesaflash source: https://github.com/micges/mesaflash/archive/master.zip > > Cheers, Gene Heskett > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author) > Genes Web page <http://geneslinuxbox.net:6309/gene> > US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > 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 Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users