7i76e no Field IO

More
05 Dec 2014 15:25 - 05 Dec 2014 15:27 #53707 by Nick
7i76e no Field IO was created by Nick
Hi!

I'm trying to get my 7i76e's field io pins working, with no success.

I've plugged in field power supply 12V from my PC power.
I've checked W1 in left hand position, even added additional cable to VIN.
No success...

CR8 is on.

Neither
cnc@cnc-test:~/linuxcnc-eth/linuxcnc$ mesaflash --device 7i76e --addr 10.10.10.2 --readhmid
nor linuxcnc get's no Field IO
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I76
  FPGA Size: 16 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: 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: 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: QCount
  There are 1 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  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: 5A00
  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
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

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

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

 1     17   IOPort       None             0        None            (In)
14     18   IOPort       None             0        None            (In)
 2     19   IOPort       None             0        None            (In)
15     20   IOPort       None             0        None            (In)
 3     21   IOPort       None             0        None            (In)
16     22   IOPort       None             0        None            (In)
 4     23   IOPort       None             0        None            (In)
17     24   IOPort       None             0        None            (In)
 5     25   IOPort       None             0        None            (In)
 6     26   IOPort       None             0        None            (In)
 7     27   IOPort       None             0        None            (In)
 8     28   IOPort       None             0        None            (In)
 9     29   IOPort       None             0        None            (In)
10     30   IOPort       None             0        None            (In)
11     31   IOPort       None             0        None            (In)
12     32   IOPort       None             0        None            (In)
13     33   IOPort       None             0        None            (In)

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

 1     34   IOPort       None             0        None            (In)
14     35   IOPort       None             0        None            (In)
 2     36   IOPort       None             0        None            (In)
15     37   IOPort       None             0        None            (In)
 3     38   IOPort       None             0        None            (In)
16     39   IOPort       None             0        None            (In)
 4     40   IOPort       None             0        None            (In)
17     41   IOPort       None             0        None            (In)
 5     42   IOPort       None             0        None            (In)
 6     43   IOPort       None             0        None            (In)
 7     44   IOPort       None             0        None            (In)
 8     45   IOPort       None             0        None            (In)
 9     46   IOPort       None             0        None            (In)
10     47   IOPort       None             0        None            (In)
11     48   IOPort       None             0        None            (In)
12     49   IOPort       None             0        None            (In)
13     50   IOPort       None             0        None            (In)
Last edit: 05 Dec 2014 15:27 by Nick.

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

More
05 Dec 2014 20:25 - 05 Dec 2014 20:44 #53714 by PCW
Replied by PCW on topic 7i76e no Field IO
Things you need for field I/O to work:

Field power and VIN
Field I/O section in operate mode (W8 left)
Proper bitfile
Proper sserial_port token in hm2_eth config string

You can check the hardware independently of linuxcnc/hal/ini files with halrun:

halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_eth board_ip="10.10.10.2" config="num_stepgens=5 sserial_port_0=00xxx"

show pin
show param


edit: also the readhmid option of mesaflash does not probe sserial devices, but the sserial option does:

mesaflash --device 7i76e --addr 10.10.10.2 --sserial
SSLBP port 0:
interface type: 12
interface width: 8
SSLBP Version: 1.43
SSLBP Channel Start: 112
SSLBP Channel Stride: 50
SSLBP Processor Type: d8
SSLBP Channels: 2
SSLBP Baud Rate: 2500000
SSLBP Clock: 100 MHz
sserial device at channel 0: 7I76 IO (unit 0x12345678, sw revision: 14)
Last edit: 05 Dec 2014 20:44 by PCW.

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

More
08 Dec 2014 17:10 #53807 by Nick
Replied by Nick on topic 7i76e no Field IO
Thank you!

I think W8 was my problem.

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

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