7i76EU+7i85+7i84U

More
8 months 6 days ago #343405 by Todd Zuercher
First time using a Mesa Ethernet board and I'm trying to set up a new install.  I think I've flashed the right firmware to the 7i76eu.  But I can't seem to see the 7i84u card that I have plugged into the first serial connector on the 7i85.  The encoders seem to be working on the 7i85, but I can't seem to make the 7i84u work.  On the 7i85u CR2 and CR7 are on yellow and CR5 is on red.  Not sure what I'm doing/have done wrong.

Here's the output of mesaflash --device 7i76eu  --addr 10.10.10.10  --readhmid
Code:
twincnc@twincnc:~$ mesaflash --device 7i76eu  --addr 10.10.10.10  --readhmid Configuration Name: HOSTMOT2 General configuration information:   BoardName : MESA7I76   FPGA Size: 20 KGates   FPGA Pins: 256   Number of IO Ports: 3   Width of one I/O port: 17   Clock Low frequency: 100.0000 MHz   Clock High frequency: 160.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: 100.000 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: 100.000 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: 100.000 MHz   Register Stride: 256 bytes   Instance Stride: 4 bytes   Module: StepGen   There are 5 of StepGen in configuration   Version: 2   Registers: 10   BaseAddress: 2000   ClockFrequency: 100.000 MHz   Register Stride: 256 bytes   Instance Stride: 4 bytes   Module: MuxedQCount   There are 6 of MuxedQCount in configuration   Version: 4   Registers: 5   BaseAddress: 3600   ClockFrequency: 100.000 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: 100.000 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: 100.000 MHz   Register Stride: 256 bytes   Instance Stride: 64 bytes   Module: LED   There are 1 of LED in configuration   Version: 0   Registers: 1   BaseAddress: 0200   ClockFrequency: 100.000 MHz   Register Stride: 256 bytes   Instance Stride: 4 bytes Configuration pin-out: IO Connections for on-card -> 7I76 Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir TB2-4,5                 0   IOPort       StepGen          0        Dir/Table2      (Out) TB2-2,3                 1   IOPort       StepGen          0        Step/Table1     (Out) TB2-10,11               2   IOPort       StepGen          1        Dir/Table2      (Out) TB2-8,9                 3   IOPort       StepGen          1        Step/Table1     (Out) TB2-16,17               4   IOPort       StepGen          2        Dir/Table2      (Out) TB2-14,15               5   IOPort       StepGen          2        Step/Table1     (Out) TB2-22,23               6   IOPort       StepGen          3        Dir/Table2      (Out) TB2-20,21               7   IOPort       StepGen          3        Step/Table1     (Out) TB3-4,5                 8   IOPort       StepGen          4        Dir/Table2      (Out) TB3-2,3                 9   IOPort       StepGen          4        Step/Table1     (Out) Internal-Field-IO      10   IOPort       SSerial          0        TXData0         (Out) Internal-Field-IO      11   IOPort       SSerial          0        RXData0         (In) TB3-18,19              12   IOPort       SSerial          0        TXData1         (Out) TB3-16,17              13   IOPort       SSerial          0        RXData1         (In) TB3-13,14              14   IOPort       MuxedQCount      2        MuxQ-IDX        (In) TB3-10,11              15   IOPort       MuxedQCount      2        MuxQ-B          (In) TB3-7,8                16   IOPort       MuxedQCount      2        MuxQ-A          (In) IO Connections for P1 DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir  1                     17   IOPort       SSerial          0        RXData6         (In) 14                     18   IOPort       SSerial          0        TXData6         (Out)  2                     19   IOPort       SSerial          0        RXData5         (In) 15                     20   IOPort       SSerial          0        TXData5         (Out)  3                     21   IOPort       SSerial          0        RXData4         (In) 16                     22   IOPort       SSerial          0        TXData4         (Out)  4                     23   IOPort       SSerial          0        RXData3         (In) 17                     24   IOPort       SSerial          0        TXData3         (Out)  5                     25   IOPort       SSerial          0        RXData2         (In)  6                     26   IOPort       SSerial          0        TXData2         (Out)  7                     27   IOPort       MuxedQCountSel   0        MuxSel0         (Out)  8                     28   IOPort       MuxedQCount      0        MuxQ-A          (In)  9                     29   IOPort       MuxedQCount      0        MuxQ-B          (In) 10                     30   IOPort       MuxedQCount      0        MuxQ-IDX        (In) 11                     31   IOPort       MuxedQCount      1        MuxQ-A          (In) 12                     32   IOPort       MuxedQCount      1        MuxQ-B          (In) 13                     33   IOPort       MuxedQCount      1        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       None            14                     35   IOPort       None             2                     36   IOPort       None            15                     37   IOPort       None             3                     38   IOPort       None            16                     39   IOPort       None             4                     40   IOPort       None            17                     41   IOPort       None             5                     42   IOPort       None             6                     43   IOPort       None             7                     44   IOPort       None             8                     45   IOPort       None             9                     46   IOPort       None            10                     47   IOPort       None            11                     48   IOPort       None            12                     49   IOPort       None            13                     50   IOPort       None      

Please Log in to join the conversation.

More
8 months 6 days ago #343407 by tommylight
Replied by tommylight on topic 7i76EU+7i85+7i84U
7i84 requires having field power on both section for all IO to show up, not sure about the 7i84U.
Is the field power applied to the 7i84U?

Please Log in to join the conversation.

More
8 months 6 days ago #343409 by PCW
Replied by PCW on topic 7i76EU+7i85+7i84U
Is sserial channel 2 enabled in the hal file?

(something like : "sserial_port_0=000xxxxx" in the driver command line)

Also

mesaflash --device 7i76eu  --addr 10.10.10.10  --dbname2  7i85 --readhmid

would list the 7I85 pins, not DB25 pins

Please Log in to join the conversation.

More
8 months 6 days ago #343412 by Todd Zuercher
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U
Yes, the field power is connected.

I have this for the config line in hal
Code:
loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=5 num_pwmgens=0 num_stepgens=5 sserial_port_0=0000000x"

Here's the output from mesaflash;
Code:
twincnc@twincnc:~$ mesaflash --device 7i76eu --addr 10.10.10.10 --dbname2 7i85 --readhmid Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA7I76 FPGA Size: 20 KGates FPGA Pins: 256 Number of IO Ports: 3 Width of one I/O port: 17 Clock Low frequency: 100.0000 MHz Clock High frequency: 160.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: 100.000 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: 100.000 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: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: StepGen There are 5 of StepGen in configuration Version: 2 Registers: 10 BaseAddress: 2000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: MuxedQCount There are 6 of MuxedQCount in configuration Version: 4 Registers: 5 BaseAddress: 3600 ClockFrequency: 100.000 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: 100.000 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: 100.000 MHz Register Stride: 256 bytes Instance Stride: 64 bytes Module: LED There are 1 of LED in configuration Version: 0 Registers: 1 BaseAddress: 0200 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for on-card -> 7I76 Pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir TB2-4,5 0 IOPort StepGen 0 Dir/Table2 (Out) TB2-2,3 1 IOPort StepGen 0 Step/Table1 (Out) TB2-10,11 2 IOPort StepGen 1 Dir/Table2 (Out) TB2-8,9 3 IOPort StepGen 1 Step/Table1 (Out) TB2-16,17 4 IOPort StepGen 2 Dir/Table2 (Out) TB2-14,15 5 IOPort StepGen 2 Step/Table1 (Out) TB2-22,23 6 IOPort StepGen 3 Dir/Table2 (Out) TB2-20,21 7 IOPort StepGen 3 Step/Table1 (Out) TB3-4,5 8 IOPort StepGen 4 Dir/Table2 (Out) TB3-2,3 9 IOPort StepGen 4 Step/Table1 (Out) Internal-Field-IO 10 IOPort SSerial 0 TXData0 (Out) Internal-Field-IO 11 IOPort SSerial 0 RXData0 (In) TB3-18,19 12 IOPort SSerial 0 TXData1 (Out) TB3-16,17 13 IOPort SSerial 0 RXData1 (In) TB3-13,14 14 IOPort MuxedQCount 2 MuxQ-IDX (In) TB3-10,11 15 IOPort MuxedQCount 2 MuxQ-B (In) TB3-7,8 16 IOPort MuxedQCount 2 MuxQ-A (In) IO Connections for P1 -> 7I85 Pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir TB1-19,20 17 IOPort SSerial 0 RXData6 (In) TB1-21,22 18 IOPort SSerial 0 TXData6 (Out) TB1-11,12 19 IOPort SSerial 0 RXData5 (In) TB1-13,14 20 IOPort SSerial 0 TXData5 (Out) TB1-3,4 21 IOPort SSerial 0 RXData4 (In) TB1-5,6 22 IOPort SSerial 0 TXData4 (Out) TB2-19,20 23 IOPort SSerial 0 RXData3 (In) TB2-21,22 24 IOPort SSerial 0 TXData3 (Out) TB2-11,12 25 IOPort SSerial 0 RXData2 (In) TB2-13,14 26 IOPort SSerial 0 TXData2 (Out) Internal-EncMux 27 IOPort MuxedQCountSel 0 MuxSel0 (Out) TB3-1,2,9,10 28 IOPort MuxedQCount 0 MuxQ-A (In) TB3-4,5,12,13 29 IOPort MuxedQCount 0 MuxQ-B (In) TB3-7,8,12,13 30 IOPort MuxedQCount 0 MuxQ-IDX (In) TB3-17,18,TB2-1,2 31 IOPort MuxedQCount 1 MuxQ-A (In) TB3-20,21,TB2-4,5 32 IOPort MuxedQCount 1 MuxQ-B (In) TB3-23,24,TB2-7,8 33 IOPort MuxedQCount 1 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 None 14 35 IOPort None 2 36 IOPort None 15 37 IOPort None 3 38 IOPort None 16 39 IOPort None 4 40 IOPort None 17 41 IOPort None 5 42 IOPort None 6 43 IOPort None 7 44 IOPort None 8 45 IOPort None 9 46 IOPort None 10 47 IOPort None 11 48 IOPort None 12 49 IOPort None 13 50 IOPort None twincnc@twincnc:~$

Please Log in to join the conversation.

More
8 months 6 days ago #343413 by PCW
Replied by PCW on topic 7i76EU+7i85+7i84U
Might be cable wiring (if you never even get a green blink  from the 7I84U, there is no communication)

As tommylight asked, do you have both field powers applied ( A and B )?


 

Please Log in to join the conversation.

More
8 months 6 days ago #343414 by tommylight
Replied by tommylight on topic 7i76EU+7i85+7i84U

(A and B)?
 
Should be
( A and B )?
-
B with ) is translated to smiley face with glasses ...

Please Log in to join the conversation.

More
8 months 6 days ago #343416 by Todd Zuercher
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U
Yes both A and B.

Please Log in to join the conversation.

More
8 months 6 days ago #343419 by Todd Zuercher
Replied by Todd Zuercher on topic 7i76EU+7i85+7i84U
Here's the power connector 
 

Attachment not found

Please Log in to join the conversation.

More
8 months 6 days ago #343420 by PCW
Replied by PCW on topic 7i76EU+7i85+7i84U
I'll test this setup later today.

 

Please Log in to join the conversation.

More
8 months 6 days ago #343436 by rodw
Replied by rodw on topic 7i76EU+7i85+7i84U
Take care here, Network cabling comes in two different flavours T568B and T568A. Google for the difference
In my case, Mesa's serial port manual describes one of these standards but in my country the normal standard was the other!
I drew up my own pin out diagram converting the wire colours to be correct and my 7i73 woke up!

Please Log in to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum