On Tuesday 30 June 2015 23:48:00 Peter C. Wallace wrote:
[...]
> >> You write .bit files with mesaflash, for a 5I25 you want to make
> >> sure you write bitfiles that have a 5i25_xxxxx.bit file name also
> >
> > In this case, it looks like prob_rfx2.bit was the correct file.  No
> > errors on the --write, or --reload which according to the
> > mesaflash --help screen, can sub for the power cycle.
> >
> > And I fooled around with pncconf and finally got it to write a
> > config directory.  But its too late to test it now.  Tomorrow if I
> > get the spindle motor re-installed. Whoever put it together at the
> > factory ought to be fired, the black motor lead that connects to the
> > load side of a back panel fuse holder, was not soldered, only being
> > held against the connector tab by the heat shrink!
> >
> > Unforch, I am not going to have it carving parts by the 7th, when my
> > youngest son is coming in for 2 or 3 days of target practice.  The
> > photo-interrupters and limit/home switches are predicted to arrive
> > on the 7th. By then I expect the faster breakout board will have
> > arrived.
> >
> >> The 5I25 manual has an example command line
> >
> > Yes, for a configuration that is not of any great interest or use to
> > me.
> >
> > What I need next is a translator table that converts the module
> > numbers I see in pncconf, to pin numbers on plug 2 of the board. 
> > Humm, doesn't dmesg report that?  Yes, it did on the lathe, so that
> > will suffice there.  And probably far less confusin because its as
> > its seen at fire up LCNC time.  I don't think I'd want to consider
> > the complexity of a table that covered all possible options, it
> > might nudify the amazon forest.
> >
> >>> Some install docs in that 5i25.zip sure would be handy.
> >
> > Specifically, where to put ALL the files in it.
> >
> > Thanks Peter.
>
> The bitfiles dont need to be installed anywhere, you just pick one
> thats appropriate for you application/daughtercard and write it.
>
> The .pin files are the referernce info for a particular configuration
> so for example prob_rfx2.pin shows the configuration modules and
> pinout

That should be helpful.

> Also mesaflash can display this information for installed hardware:
>
> sudo mesaflash --device 5i25 --readhmid

Apparently not, if no bitfile has been written, its an error.

But now it does work, thanks.

IO Connections for P3
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin 
Dir

 1      0   IOPort       None           
14      1   IOPort       PWM              0        PWM             (Out)
 2      2   IOPort       StepGen          0        Step/Table1     (Out)
15      3   IOPort       None           
 3      4   IOPort       StepGen          0        Dir/Table2      (Out)
16      5   IOPort       PWM              0        Dir             (Out)
 4      6   IOPort       StepGen          1        Step/Table1     (Out)
17      7   IOPort       None           
 5      8   IOPort       StepGen          1        Dir/Table2      (Out)
 6      9   IOPort       StepGen          2        Step/Table1     (Out)
 7     10   IOPort       StepGen          2        Dir/Table2      (Out)
 8     11   IOPort       StepGen          3        Step/Table1     (Out)
 9     12   IOPort       StepGen          3        Dir/Table2      (Out)
10     13   IOPort       None           
11     14   IOPort       QCount           0        Quad-A          (In)
12     15   IOPort       QCount           0        Quad-B          (In)
13     16   IOPort       QCount           0        Quad-IDX        (In)

And that will let me fine tune the bob to send stuff to the correct 
motor.  Pin 1 it says is e-stop out in most setups.  How do I enable 
that to detect an oncard mal-event?

And is there a way to make it bi-di? I see that in some configs.

Thanks Peter.

[...]

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>

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to