Re:5i20 + 7i52s + 7i37TA -> change the IO Pins

More
06 Sep 2012 20:40 #23987 by trilobyte
Hi

I bought a Fehlmann Picomax mill
The old controller is defective and so I'm trying to migrate to linuxcnc.
I bought a Mesa 5i20 and a 5i52s and two 7i37TA.

How can i use these 3 cards with the 5i20?
is it possible to use 1:1 flatcables? how can i change the pinout of the 5i20?

i want to drive 4 UHU controllers (stepgen via RS 422 output - 7i52s) an i plan to use some cheap encoders as electronic handwheels etc (encoders - 5i52s)

if opened some example configurations (e.g hm2-stepper/5i20)
i didn't found anything matching to my dougtercards :-(

is the only way to compile an new firmware?
can i use the pncconf nevertheless?

BR

Peter

Please Log in or Create an account to join the conversation.

More
06 Sep 2012 21:42 #23992 by andypugh
trilobyte wrote:

I bought a Mesa 5i20 and a 5i52s and two 7i37TA.

I am not familiar with the 5i52. What is it?

how can i change the pinout of the 5i20?
is the only way to compile an new firmware?
can i use the pncconf nevertheless?

The 7i37 is just general-purpose IO, so to a large extent _any_ firmware will do. You can turn off the special functions to free up GPIO, then just set the pin direction to suit the 7i37.
In that case pncconf ought to work fine.

So, the problem is finding a firmware to suit the 5i52.
Did you mean 7i52? If so I think you might want an SVUA firmware, but I am not sure which one.

There are a number of people here who can build custom firmwares (including me, when I am not working abroad, as I am now)
Mesa are generally quite helpful. Quite often here.

Please Log in or Create an account to join the conversation.

More
06 Sep 2012 22:42 #23994 by PCW
You always use 1-1 flat cables
You want SVST6_6_7I52S firmware = 6 stepgens and 6 encoder on P2 with 7I52S pinout
Just GPIO on P3 and P4 for 7I37s

Heres a SVST6_6_7I52S bitfile for the 5I20:

freeby.mesanet.com/SVST6_6_7I52S.BIT

This needs to be saved in /lib/firmware/hm2/5i20/
(you need sudo root to do this)

I dont think pncconf knows this config but you should
be able to start with the 5i20 hostmot2 stepper sample config
and change the INI file to load the new bitfile

Please Log in or Create an account to join the conversation.

More
07 Sep 2012 06:35 #23999 by trilobyte
andypugh wrote:
Did you mean 7i52? If so I think you might want an SVUA firmware, but I am not sure which one. [/quote]

Yes this was a mistake!

Please Log in or Create an account to join the conversation.

More
07 Sep 2012 06:36 #24000 by trilobyte
PCW wrote:

You always use 1-1 flat cables
You want SVST6_6_7I52S firmware = 6 stepgens and 6 encoder on P2 with 7I52S pinout
Just GPIO on P3 and P4 for 7I37s

Heres a SVST6_6_7I52S bitfile for the 5I20:

freeby.mesanet.com/SVST6_6_7I52S.BIT

This needs to be saved in /lib/firmware/hm2/5i20/
(you need sudo root to do this)

I dont think pncconf knows this config but you should
be able to start with the 5i20 hostmot2 stepper sample config
and change the INI file to load the new bitfile


thank you very much! i'll try the bit file asap.

BR

peter

Please Log in or Create an account to join the conversation.

More
07 Sep 2012 22:49 #24051 by trilobyte
i haven't received the 7i52s card, but it looks fine!

tnx!

Peter

[ 916.893502] hm2_5i20.0: firmware: requesting hm2/5i20/SVST6_6_7I52S.BIT
[ 917.065209] hm2/hm2_5i20.0: 72 I/O Pins used:
[ 917.065221] hm2/hm2_5i20.0: IO Pin 000 (P2-01): IOPort
[ 917.065229] hm2/hm2_5i20.0: IO Pin 001 (P2-03): Muxed Encoder #0, pin Muxed A (Input)
[ 917.065238] hm2/hm2_5i20.0: IO Pin 002 (P2-05): Muxed Encoder #0, pin Muxed B (Input)
[ 917.065246] hm2/hm2_5i20.0: IO Pin 003 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
[ 917.065254] hm2/hm2_5i20.0: IO Pin 004 (P2-09): Muxed Encoder #1, pin Muxed A (Input)
[ 917.065262] hm2/hm2_5i20.0: IO Pin 005 (P2-11): Muxed Encoder #1, pin Muxed B (Input)
[ 917.065271] hm2/hm2_5i20.0: IO Pin 006 (P2-13): Muxed Encoder #1, pin Muxed Index (Input)
[ 917.065279] hm2/hm2_5i20.0: IO Pin 007 (P2-15): Muxed Encoder #2, pin Muxed A (Input)
[ 917.065287] hm2/hm2_5i20.0: IO Pin 008 (P2-17): Muxed Encoder #2, pin Muxed B (Input)
[ 917.065295] hm2/hm2_5i20.0: IO Pin 009 (P2-19): Muxed Encoder #2, pin Muxed Index (Input)
[ 917.065304] hm2/hm2_5i20.0: IO Pin 010 (P2-21): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[ 917.065312] hm2/hm2_5i20.0: IO Pin 011 (P2-23): IOPort
[ 917.065318] hm2/hm2_5i20.0: IO Pin 012 (P2-25): IOPort
[ 917.065325] hm2/hm2_5i20.0: IO Pin 013 (P2-27): IOPort
[ 917.065331] hm2/hm2_5i20.0: IO Pin 014 (P2-29): IOPort
[ 917.065338] hm2/hm2_5i20.0: IO Pin 015 (P2-31): StepGen #3, pin Step (Output)
[ 917.065346] hm2/hm2_5i20.0: IO Pin 016 (P2-33): StepGen #3, pin Direction (Output)
[ 917.065354] hm2/hm2_5i20.0: IO Pin 017 (P2-35): StepGen #2, pin Step (Output)
[ 917.065362] hm2/hm2_5i20.0: IO Pin 018 (P2-37): StepGen #2, pin Direction (Output)
[ 917.065370] hm2/hm2_5i20.0: IO Pin 019 (P2-39): StepGen #1, pin Step (Output)
[ 917.065380] hm2/hm2_5i20.0: IO Pin 020 (P2-41): StepGen #1, pin Direction (Output)
[ 917.065388] hm2/hm2_5i20.0: IO Pin 021 (P2-43): StepGen #0, pin Step (Output)
[ 917.065396] hm2/hm2_5i20.0: IO Pin 022 (P2-45): StepGen #0, pin Direction (Output)
[ 917.065403] hm2/hm2_5i20.0: IO Pin 023 (P2-47): IOPort
[ 917.065410] hm2/hm2_5i20.0: IO Pin 024 (P3-01): IOPort
[ 917.065416] hm2/hm2_5i20.0: IO Pin 025 (P3-03): IOPort
[ 917.065422] hm2/hm2_5i20.0: IO Pin 026 (P3-05): IOPort
[ 917.065428] hm2/hm2_5i20.0: IO Pin 027 (P3-07): IOPort
[ 917.065435] hm2/hm2_5i20.0: IO Pin 028 (P3-09): IOPort
[ 917.065441] hm2/hm2_5i20.0: IO Pin 029 (P3-11): IOPort
[ 917.065447] hm2/hm2_5i20.0: IO Pin 030 (P3-13): IOPort
[ 917.065454] hm2/hm2_5i20.0: IO Pin 031 (P3-15): IOPort
[ 917.065460] hm2/hm2_5i20.0: IO Pin 032 (P3-17): IOPort
[ 917.065466] hm2/hm2_5i20.0: IO Pin 033 (P3-19): IOPort
[ 917.065473] hm2/hm2_5i20.0: IO Pin 034 (P3-21): IOPort
[ 917.065479] hm2/hm2_5i20.0: IO Pin 035 (P3-23): IOPort
[ 917.065485] hm2/hm2_5i20.0: IO Pin 036 (P3-25): IOPort
[ 917.065492] hm2/hm2_5i20.0: IO Pin 037 (P3-27): IOPort
[ 917.065498] hm2/hm2_5i20.0: IO Pin 038 (P3-29): IOPort
[ 917.065504] hm2/hm2_5i20.0: IO Pin 039 (P3-31): IOPort
[ 917.065511] hm2/hm2_5i20.0: IO Pin 040 (P3-33): IOPort
[ 917.065517] hm2/hm2_5i20.0: IO Pin 041 (P3-35): IOPort
[ 917.065523] hm2/hm2_5i20.0: IO Pin 042 (P3-37): IOPort
[ 917.065530] hm2/hm2_5i20.0: IO Pin 043 (P3-39): IOPort
[ 917.065536] hm2/hm2_5i20.0: IO Pin 044 (P3-41): IOPort
[ 917.065542] hm2/hm2_5i20.0: IO Pin 045 (P3-43): IOPort
[ 917.065549] hm2/hm2_5i20.0: IO Pin 046 (P3-45): IOPort
[ 917.065555] hm2/hm2_5i20.0: IO Pin 047 (P3-47): IOPort
[ 917.065561] hm2/hm2_5i20.0: IO Pin 048 (P4-01): IOPort
[ 917.065569] hm2/hm2_5i20.0: IO Pin 049 (P4-03): IOPort
[ 917.065579] hm2/hm2_5i20.0: IO Pin 050 (P4-05): IOPort
[ 917.065585] hm2/hm2_5i20.0: IO Pin 051 (P4-07): IOPort
[ 917.065591] hm2/hm2_5i20.0: IO Pin 052 (P4-09): IOPort
[ 917.065598] hm2/hm2_5i20.0: IO Pin 053 (P4-11): IOPort
[ 917.065604] hm2/hm2_5i20.0: IO Pin 054 (P4-13): IOPort
[ 917.065610] hm2/hm2_5i20.0: IO Pin 055 (P4-15): IOPort
[ 917.065617] hm2/hm2_5i20.0: IO Pin 056 (P4-17): IOPort
[ 917.065623] hm2/hm2_5i20.0: IO Pin 057 (P4-19): IOPort
[ 917.065629] hm2/hm2_5i20.0: IO Pin 058 (P4-21): IOPort
[ 917.065636] hm2/hm2_5i20.0: IO Pin 059 (P4-23): IOPort
[ 917.065642] hm2/hm2_5i20.0: IO Pin 060 (P4-25): IOPort
[ 917.065648] hm2/hm2_5i20.0: IO Pin 061 (P4-27): IOPort
[ 917.065655] hm2/hm2_5i20.0: IO Pin 062 (P4-29): IOPort
[ 917.065661] hm2/hm2_5i20.0: IO Pin 063 (P4-31): IOPort
[ 917.065668] hm2/hm2_5i20.0: IO Pin 064 (P4-33): IOPort
[ 917.065674] hm2/hm2_5i20.0: IO Pin 065 (P4-35): IOPort
[ 917.065680] hm2/hm2_5i20.0: IO Pin 066 (P4-37): IOPort
[ 917.065687] hm2/hm2_5i20.0: IO Pin 067 (P4-39): IOPort
[ 917.065693] hm2/hm2_5i20.0: IO Pin 068 (P4-41): IOPort
[ 917.065699] hm2/hm2_5i20.0: IO Pin 069 (P4-43): IOPort
[ 917.065706] hm2/hm2_5i20.0: IO Pin 070 (P4-45): IOPort
[ 917.065712] hm2/hm2_5i20.0: IO Pin 071 (P4-47): IOPort
[ 917.065995] hm2/hm2_5i20.0: registered
[ 917.066001] hm2_5i20.0: initialized AnyIO board at 0000:04:00.0

Please Log in or Create an account to join the conversation.

More
08 Sep 2012 09:34 #24061 by trilobyte
is it possible to modify pncconf t obe able to configure the io's matching to the SVST6_6_7I52S bitfile?
without pncconf it's ab bit tricky for greenhorns like me ,-)

BR
peter

Please Log in or Create an account to join the conversation.

More
09 Sep 2012 01:57 #24081 by cmorley
If Peter can supply the PIN file I will try to convert it to what PNCconf needs.

Please Log in or Create an account to join the conversation.

More
10 Sep 2012 07:53 #24117 by trilobyte
how can i supply the Pin File? I've only the bitfile from the link above.

BR

Peter

Please Log in or Create an account to join the conversation.

More
10 Sep 2012 19:11 #24131 by PCW
Heres the pin file:

freeby.mesanet.com/SVST6_6_7I52S.PIN

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.179 seconds
Powered by Kunena Forum