Ask - 7i96_7i74d.bin

More
27 Dec 2022 15:56 #260402 by zz912
Ask - 7i96_7i74d.bin was created by zz912
Helllo,

Can I ask for firmware 7i96_7i74d.bin ?

For new card 7i96s this firmware exist, but for old 7i96 not.

zz912

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

More
27 Dec 2022 16:43 #260409 by PCW
Replied by PCW on topic Ask - 7i96_7i74d.bin
 

File Attachment:

File Name: 7i96_7i74d.zip
File Size:121 KB
Attachments:
The following user(s) said Thank You: zz912

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

More
27 Dec 2022 16:58 #260413 by zz912
Replied by zz912 on topic Ask - 7i96_7i74d.bin
Wow, that was speed. Thanks thanks.

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

More
27 Dec 2022 17:42 #260417 by zz912
Replied by zz912 on topic Ask - 7i96_7i74d.bin
Hello,

I have bad news. I tried flash.
jarda@CNC1:~$ mesaflash
Mesaflash version 3.4.6
Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB/SPI boards
Try 'mesaflash --help' for more information
jarda@CNC1:~$ sudo mesaflash --device 7i96 --addr 10.10.10.10 --readhmid
[sudo] heslo pro jarda:
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 9 KGates
  FPGA Pins: 144
  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: 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: 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: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: SSR
  There are 1 of SSR in configuration
  Version: 0
  Registers: 2
  BaseAddress: 7D00
  ClockFrequency: 100.000 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: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

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

TB3-1                   0   IOPort       None           
TB3-2                   1   IOPort       None           
TB3-3                   2   IOPort       None           
TB3-4                   3   IOPort       None           
TB3-5                   4   IOPort       None           
TB3-6                   5   IOPort       None           
TB3-7                   6   IOPort       None           
TB3-8                   7   IOPort       None           
TB3-9                   8   IOPort       None           
TB3-10                  9   IOPort       None           
TB3-11                 10   IOPort       None           
TB3-13,14              11   IOPort       SSR              0        Out-00          (Out)
TB3-15,16              12   IOPort       SSR              0        Out-01          (Out)
TB3-17,18              13   IOPort       SSR              0        Out-02          (Out)
TB3-19,20              14   IOPort       SSR              0        Out-03          (Out)
TB3-21,22              15   IOPort       SSR              0        Out-04          (Out)
TB3-23,24              16   IOPort       SSR              0        Out-05          (Out)

IO Connections for TB1/TB2 -> 7I96_1
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB1-2,3                17   IOPort       StepGen          0        Step/Table1     (Out)
TB1-4,5                18   IOPort       StepGen          0        Dir/Table2      (Out)
TB1-8,9                19   IOPort       StepGen          1        Step/Table1     (Out)
TB1-10,11              20   IOPort       StepGen          1        Dir/Table2      (Out)
TB1-14,15              21   IOPort       StepGen          2        Step/Table1     (Out)
TB1-16,17              22   IOPort       StepGen          2        Dir/Table2      (Out)
TB1-20,21              23   IOPort       StepGen          3        Step/Table1     (Out)
TB1-22,23              24   IOPort       StepGen          3        Dir/Table2      (Out)
TB2-2,3                25   IOPort       StepGen          4        Step/Table1     (Out)
TB2-4,5                26   IOPort       StepGen          4        Dir/Table2      (Out)
TB2-7,8                27   IOPort       QCount           0        Quad-A          (In)
TB2-10,11              28   IOPort       QCount           0        Quad-B          (In)
TB2-13,14              29   IOPort       QCount           0        Quad-IDX        (In)
TB2-16,17              30   IOPort       SSerial          0        RXData0         (In)
TB2-18,19              31   IOPort       SSerial          0        TXData0         (Out)
Internal-TXEn          32   IOPort       SSerial          0        TXEn0           (Out)
Internal               33   IOPort       SSR              0        AC Ref          (Out)

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

P1-01/DB25-01          34   IOPort       None           
P1-02/DB25-14          35   IOPort       None           
P1-03/DB25-02          36   IOPort       None           
P1-04/DB25-15          37   IOPort       None           
P1-05/DB25-03          38   IOPort       None           
P1-06/DB25-16          39   IOPort       None           
P1-07/DB25-04          40   IOPort       None           
P1-08/DB25-17          41   IOPort       None           
P1-09/DB25-05          42   IOPort       None           
P1-11/DB25-06          43   IOPort       None           
P1-13/DB25-07          44   IOPort       None           
P1-15/DB25-08          45   IOPort       None           
P1-17/DB25-09          46   IOPort       None           
P1-19/DB25-10          47   IOPort       None           
P1-21/DB25-11          48   IOPort       None           
P1-23/DB25-12          49   IOPort       None           
P1-25/DB25-13          50   IOPort       None           

jarda@CNC1:~$ pwd
/home/jarda
jarda@CNC1:~$ ls
Dokumenty  linuxcnc            linuxcnc_print.txt  Plocha   Šablony  Videa
Hudba      linuxcnc_debug.txt  Obrázky             Stažené  Veřejné
jarda@CNC1:~$ cd linuxcnc/
jarda@CNC1:~/linuxcnc$ ls
configs  linuxcnc-2.8  Mesa-firmware  nc_files
jarda@CNC1:~/linuxcnc$ cd Mesa-firmware/
jarda@CNC1:~/linuxcnc/Mesa-firmware$ ls
7i96  7i96s
jarda@CNC1:~/linuxcnc/Mesa-firmware$ cd 7i96
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96$ ls
configs
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96$ cd configs/
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96/configs$ ls
hostmot2
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96/configs$ cd hostmot2/ ls
bash: cd: příliš mnoho argumentů
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96/configs$ cd hostmot2/ |ls
hostmot2
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96/configs$ cd hostmot2/
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96/configs/hostmot2$ ls
PIN_7I96_7I74D_51.vhd  7i96d_1pwm.pin     7i96_inmd.pin        7i96_5abob_inmd.bit  7i96_7i77d.bit
source                 7i96_fallback.bit  7i96_inm_7i85sd.bit  7i96_5abob_inmd.pin  7i96_7i78d.bit
7i96d.bit              7i96_fallback.pin  7i96_pktd.bit        7i96_6enc_d.bit      7i96_7i78d.pin
7i96d.pin              7i96_g540dpl.bit   7i96_pktd.pin        7i96_6enc_d.pin      7i96_7i85d.bit
7i96dpl.bit            7i96_inmd.bit      7i96_p1inmd.bit      7i96_7i74d.bit       7i96_7i85sd.bit
7i96_dsti.bit          7i96_inmd_dp.bit   7i96_5abob_d.bit     7i96_7i76d.bit       7i96_7i85sinmd.bit
7i96d_1pwm.bit         7i96_inmd_dp.pin   7i96_5abob_d.pin     7i96_7i76d.pin       7i96_7i89d.bit
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96/configs/hostmot2$ sudo mesaflash --device 7i96 --addr 10.10.10.10 --write 7i96_7i74d.bit
Checking file... OK
  File type: Xilinx bit file
Boot sector OK
FLASH memory sectors to write: 6, max sectors in area: 16
Erasing FLASH memory sectors starting from 0x100000...
  |EEEEE

Process stuck and LED IN1 is flashing.

I am waiting over 10 minutes. What should I do now? CTRL+C ?

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

More
27 Dec 2022 17:53 #260418 by PCW
Replied by PCW on topic Ask - 7i96_7i74d.bin
Yes control C and retry
The following user(s) said Thank You: zz912

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

More
27 Dec 2022 18:08 #260419 by zz912
Replied by zz912 on topic Ask - 7i96_7i74d.bin
Good news. I tried it again and it works:
jarda@CNC1:~/linuxcnc/Mesa-firmware/7i96/configs/hostmot2$ sudo mesaflash --device 7i96 --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 9 KGates
  FPGA Pins: 144
  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: 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: 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: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: SSR
  There are 1 of SSR in configuration
  Version: 0
  Registers: 2
  BaseAddress: 7D00
  ClockFrequency: 100.000 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: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

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

TB3-1                   0   IOPort       None           
TB3-2                   1   IOPort       None           
TB3-3                   2   IOPort       None           
TB3-4                   3   IOPort       None           
TB3-5                   4   IOPort       None           
TB3-6                   5   IOPort       None           
TB3-7                   6   IOPort       None           
TB3-8                   7   IOPort       None           
TB3-9                   8   IOPort       None           
TB3-10                  9   IOPort       None           
TB3-11                 10   IOPort       None           
TB3-13,14              11   IOPort       SSR              0        Out-00          (Out)
TB3-15,16              12   IOPort       SSR              0        Out-01          (Out)
TB3-17,18              13   IOPort       SSR              0        Out-02          (Out)
TB3-19,20              14   IOPort       SSR              0        Out-03          (Out)
TB3-21,22              15   IOPort       SSR              0        Out-04          (Out)
TB3-23,24              16   IOPort       SSR              0        Out-05          (Out)

IO Connections for TB1/TB2 -> 7I96_1
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB1-2,3                17   IOPort       StepGen          0        Step/Table1     (Out)
TB1-4,5                18   IOPort       StepGen          0        Dir/Table2      (Out)
TB1-8,9                19   IOPort       StepGen          1        Step/Table1     (Out)
TB1-10,11              20   IOPort       StepGen          1        Dir/Table2      (Out)
TB1-14,15              21   IOPort       StepGen          2        Step/Table1     (Out)
TB1-16,17              22   IOPort       StepGen          2        Dir/Table2      (Out)
TB1-20,21              23   IOPort       StepGen          3        Step/Table1     (Out)
TB1-22,23              24   IOPort       StepGen          3        Dir/Table2      (Out)
TB2-2,3                25   IOPort       StepGen          4        Step/Table1     (Out)
TB2-4,5                26   IOPort       StepGen          4        Dir/Table2      (Out)
TB2-7,8                27   IOPort       QCount           0        Quad-A          (In)
TB2-10,11              28   IOPort       QCount           0        Quad-B          (In)
TB2-13,14              29   IOPort       QCount           0        Quad-IDX        (In)
TB2-16,17              30   IOPort       SSerial          0        RXData0         (In)
TB2-18,19              31   IOPort       SSerial          0        TXData0         (Out)
Internal-TXEn          32   IOPort       SSerial          0        TXEn0           (Out)
Internal               33   IOPort       SSR              0        AC Ref          (Out)

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

P1-01/DB25-01          34   IOPort       SSerial          0        RXData1         (In)
P1-02/DB25-14          35   IOPort       SSerial          0        RXData2         (In)
P1-03/DB25-02          36   IOPort       SSerial          0        RXData3         (In)
P1-04/DB25-15          37   IOPort       SSerial          0        RXData4         (In)
P1-05/DB25-03          38   IOPort       SSerial          0        TXData1         (Out)
P1-06/DB25-16          39   IOPort       SSerial          0        TXData2         (Out)
P1-07/DB25-04          40   IOPort       SSerial          0        TXData3         (Out)
P1-08/DB25-17          41   IOPort       SSerial          0        TXData4         (Out)
P1-09/DB25-05          42   IOPort       SSerial          0        RXData5         (In)
P1-11/DB25-06          43   IOPort       SSerial          0        RXData6         (In)
P1-13/DB25-07          44   IOPort       SSerial          0        RXData7         (In)
P1-15/DB25-08          45   IOPort       None           
P1-17/DB25-09          46   IOPort       SSerial          0        TXData5         (Out)
P1-19/DB25-10          47   IOPort       SSerial          0        TXData6         (Out)
P1-21/DB25-11          48   IOPort       SSerial          0        TXData7         (Out)
P1-23/DB25-12          49   IOPort       None           
P1-25/DB25-13          50   IOPort       None 

Thank you.

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

More
27 Dec 2022 18:12 #260420 by PCW
Replied by PCW on topic Ask - 7i96_7i74d.bin
Yes, you may have a 5V power issue if it stops mid-programming.
Luckily the fallback (blinking light) allows recovery
The following user(s) said Thank You: tommylight, zz912

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

More
27 Dec 2022 18:24 #260421 by zz912
Replied by zz912 on topic Ask - 7i96_7i74d.bin
I dont need it, but I have question.
Physical:
7i96 have 1 RX/TX
7i74 have 8 RX/TX

but in firmware 7i96_7i74d.bin
7i96 use 1 RX/TX
7i74 use "only 7" RX/TX

Is it intentional?

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

More
27 Dec 2022 18:30 #260422 by PCW
Replied by PCW on topic Ask - 7i96_7i74d.bin
Yes, the 7I96 FPGA cannot fit 2 instances of sserial ports, so only one instance
is present. Since each port has a maximum of 8 channels, and since the sserial
channel on the 7I96 is used, there are only 7 channels free.

The 7I96S has a larger FPGA so it has 2 sserial ports:
Port 0 with 1 channel on the 7I96S
Port 1 with 8 channels on the 7I74.
The following user(s) said Thank You: zz912

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

More
27 Dec 2022 18:45 #260423 by zz912
Replied by zz912 on topic Ask - 7i96_7i74d.bin
You're probably right about the source. We have a temporary source there now. It should be 2A. But the voltage on it is only 4.82V and there is only Mesa 7i96 on it.

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

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