Mesa 5i24-25 stucked

More
21 Sep 2022 07:10 #252481 by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
libpci-dev and libmd-dev are not istalling

cnc@debian:~/Desktop$ sudo apt-get install libpci-dev libmd-dev pkg-config build-essential git
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpci-dev
E: Unable to locate package libmd-dev

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

More
21 Sep 2022 10:20 - 21 Sep 2022 10:28 #252494 by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
I have successfully flashed firmware you given but while I give command sudo mesaflash --device 5i24 --dbname1 7i52S --dbname2 7i52 --readhmid it returns error saying dbname1 is unrecognised option

Note:
I was not able to install mesaflash 3.4 on wheezy so i install Linuxcnc 2.8 buster image and try to flashed and it worked. Do I still need to install mesaflash 3.4 or what command would giver version details 
Last edit: 21 Sep 2022 10:28 by yrsiddhapura.

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

More
21 Sep 2022 11:58 #252499 by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
@PCW

Hey its worked with mesaflash 3.4.3 i could read all pinouts

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

More
21 Sep 2022 12:44 - 21 Sep 2022 12:50 #252502 by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked

 

File Attachment:

File Name: 5i24_25_ss...i52d.zip
File Size:147 KB


Here is a bitfile for a 5I24-25 with a 7I52S and a 7I52

You should be able to get the pinout with

sudo mesaflash --device 5i24 --dbname1 7i52S --dbname2 7i52 --readhmid

 
using this firmware and command i am getting this output:
P2-5,6:/Ena             0   IOPort       None           
P5-1,2,9,10             1   IOPort       MuxedQCount      0        MuxQ-A          (In)
P5-4,5,12,13            2   IOPort       MuxedQCount      0        MuxQ-B          (In)
P5-7,8,15,16            3   IOPort       MuxedQCount      0        MuxQ-IDX        (In)
P5-17,18,P4-1,2         4   IOPort       MuxedQCount      1        MuxQ-A          (In)
P5-20,21,P4-4,5         5   IOPort       MuxedQCount      1        MuxQ-B          (In)
P5-23,24,P4-7,8         6   IOPort       MuxedQCount      1        MuxQ-IDX        (In)
P3-9,10,17,18           7   IOPort       MuxedQCount      2        MuxQ-A          (In)
P3-12,13,20,21          8   IOPort       MuxedQCount      2        MuxQ-B          (In)
P3-15,16,23,24          9   IOPort       MuxedQCount      2        MuxQ-IDX        (In)
Internal-EncMux        10   IOPort       MuxedQCountSel   0        MuxSel0         (Out)
P2-21,22               11   IOPort       StepGen          5        Step/Table1     (Out)
P2-19,20               12   IOPort       StepGen          5        Dir/Table2      (Out)
P2-13,14               13   IOPort       StepGen          4        Step/Table1     (Out)
P2-11,12               14   IOPort       StepGen          4        Dir/Table2      (Out)
P2-5,6                 15   IOPort       StepGen          3        Step/Table1     (Out)
P2-3,4                 16   IOPort       StepGen          3        Dir/Table2      (Out)

IO Connections for P3 -> 7I52
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

P2-5,6:/Ena            17   IOPort       StepGen          2        Step/Table1     (Out)
P5-1,2,9,10            18   IOPort       StepGen          2        Dir/Table2      (Out)
P5-4,5,12,13           19   IOPort       StepGen          1        Step/Table1     (Out)
P5-7,8,15,16           20   IOPort       StepGen          1        Dir/Table2      (Out)
P5-17,18,P4-1,2        21   IOPort       StepGen          0        Step/Table1     (Out)
P5-20,21,P4-4,5        22   IOPort       StepGen          0        Dir/Table2      (Out)
P5-23,24,P4-7,8        23   IOPort       None           
P3-9,10,17,18          24   IOPort       SSerial          0        TXEn3           (Out)
P3-12,13,20,21         25   IOPort       MuxedQCount      3        MuxQ-A          (In)
P3-15,16,23,24         26   IOPort       MuxedQCount      3        MuxQ-B          (In)
Internal-EncMux        27   IOPort       MuxedQCount      3        MuxQ-IDX        (In)
P2-21,22               28   IOPort       MuxedQCount      4        MuxQ-A          (In)
P2-19,20               29   IOPort       MuxedQCount      4        MuxQ-B          (In)
P2-13,14               30   IOPort       MuxedQCount      4        MuxQ-IDX        (In)
P2-11,12               31   IOPort       MuxedQCount      5        MuxQ-A          (In)
P2-5,6                 32   IOPort       MuxedQCount      5        MuxQ-B          (In)
P2-3,4                 33   IOPort       MuxedQCount      5        MuxQ-IDX        (In)

IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     34   IOPort       MuxedQCountSel   6        MuxSel0         (Out)
14                     35   IOPort       SSerial          0        TXData5         (Out)
 2                     36   IOPort       SSerial          0        RXData5         (In)
15                     37   IOPort       SSerial          0        TXData4         (Out)
 3                     38   IOPort       SSerial          0        RXData4         (In)
16                     39   IOPort       SSerial          0        TXData3         (Out)
 4                     40   IOPort       SSerial          0        RXData3         (In)
17                     41   IOPort       SSerial          0        TXData2         (Out)
 5                     42   IOPort       SSerial          0        RXData2         (In)
 6                     43   IOPort       SSerial          0        TXData1         (Out)
 7                     44   IOPort       SSerial          0        RXData1         (In)
 8                     45   IOPort       SSerial          0        TXData0         (Out)
 9                     46   IOPort       SSerial          0        RXData0         (In)
10                     47   IOPort       SSerial          0        TXEn0           (Out)
11                     48   IOPort       None           
12                     49   IOPort       None           
13                     50   IOPort       None           

it seems i am getting almost double encoder input on 7i52s and half of step/dir and on 7i52 same double encoder and only single sserial  abd its also said DB25 pin while boards are 50pins is any firmware which gives 12 channel differential output (6 step/dir) + 6 channel encoder on 7i52s and 6 Channel encoder 6 channel Serial RS-422 on 7i52
 

Last edit: 21 Sep 2022 12:50 by yrsiddhapura.

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

More
21 Sep 2022 13:34 #252506 by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
That firmware is correct, It must be a Mesaflash error.

Does mesaflash show all 24 pins per connector if you don't use the --dbname option?

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

More
21 Sep 2022 13:58 #252509 by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
Ok got it to utilize 7i52s and 7i52 board at fully functionality i have to wire it to connect all 3 connector at 5i24-25

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

More
21 Sep 2022 14:30 #252511 by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
no its shows only 17 pin per connector:

lcnc@lcnc:~$ sudo mesaflash --device 5i24 --readhmid
[sudo] password for lcnc:
Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA5I24
FPGA Size: 25 KGates
FPGA Pins: 256
Number of IO Ports: 3
Width of one I/O port: 24
Clock Low frequency: 33.3333 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256

Modules in configuration:

Module: DPLL
There are 1 of DPLL in configuration
Version: 0
Registers: 7
BaseAddress: 7000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: IOPort
There are 3 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCount
There are 12 of MuxedQCount in configuration
Version: 4
Registers: 5
BaseAddress: 3600
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCountSel
There are 1 of MuxedQCountSel in configuration
Version: 0
Registers: 0
BaseAddress: 0000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5B00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes

Module: StepGen
There are 6 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P4
DB25 pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

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

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

1 17 IOPort StepGen 2 Step/Table1 (Out)
14 18 IOPort StepGen 2 Dir/Table2 (Out)
2 19 IOPort StepGen 1 Step/Table1 (Out)
15 20 IOPort StepGen 1 Dir/Table2 (Out)
3 21 IOPort StepGen 0 Step/Table1 (Out)
16 22 IOPort StepGen 0 Dir/Table2 (Out)
4 23 IOPort None
17 24 IOPort SSerial 0 TXEn3 (Out)
5 25 IOPort MuxedQCount 3 MuxQ-A (In)
6 26 IOPort MuxedQCount 3 MuxQ-B (In)
7 27 IOPort MuxedQCount 3 MuxQ-IDX (In)
8 28 IOPort MuxedQCount 4 MuxQ-A (In)
9 29 IOPort MuxedQCount 4 MuxQ-B (In)
10 30 IOPort MuxedQCount 4 MuxQ-IDX (In)
11 31 IOPort MuxedQCount 5 MuxQ-A (In)
12 32 IOPort MuxedQCount 5 MuxQ-B (In)
13 33 IOPort MuxedQCount 5 MuxQ-IDX (In)

IO Connections for P2
DB25 pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

1 34 IOPort MuxedQCountSel 6 MuxSel0 (Out)
14 35 IOPort SSerial 0 TXData5 (Out)
2 36 IOPort SSerial 0 RXData5 (In)
15 37 IOPort SSerial 0 TXData4 (Out)
3 38 IOPort SSerial 0 RXData4 (In)
16 39 IOPort SSerial 0 TXData3 (Out)
4 40 IOPort SSerial 0 RXData3 (In)
17 41 IOPort SSerial 0 TXData2 (Out)
5 42 IOPort SSerial 0 RXData2 (In)
6 43 IOPort SSerial 0 TXData1 (Out)
7 44 IOPort SSerial 0 RXData1 (In)
8 45 IOPort SSerial 0 TXData0 (Out)
9 46 IOPort SSerial 0 RXData0 (In)
10 47 IOPort SSerial 0 TXEn0 (Out)
11 48 IOPort None
12 49 IOPort None
13 50 IOPort None

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

More
21 Sep 2022 14:37 #252513 by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
Strange, I'll see if I can duplicate that here.
I don't see that in the Mesaflash code, but will take a closer look.
The following user(s) said Thank You: yrsiddhapura

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

More
21 Sep 2022 14:58 #252515 by yrsiddhapura
Replied by yrsiddhapura on topic Mesa 5i24-25 stucked
ya sure but i have lil urgent to complete mine project.

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

More
22 Sep 2022 01:07 - 22 Sep 2022 01:07 #252544 by PCW
Replied by PCW on topic Mesa 5i24-25 stucked
The Mesaflash --readhmid bug should be fixed (version 3.4.4)
Last edit: 22 Sep 2022 01:07 by PCW.
The following user(s) said Thank You: yrsiddhapura

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

Moderators: PCWjmelson
Time to create page: 0.250 seconds
Powered by Kunena Forum