Help connecting to mesa 7c80 card

More
17 Sep 2021 00:16 #220835 by kinghpole
Hi everyone,

I'm trying to set up a mesa 7c80 card connected to a Rpi4 to run a small 3 axis mill but can not connect to the mesa card.
sudo mesaflash --spi --device 7c80
returns
open: Bad address
No 7C80 board found
I'm using the jumper cable sold by mesa for this purpose and SPI communication is enabled on the pi any help or ideas would be greatly appreciated.

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

More
17 Sep 2021 00:22 #220836 by PCW
Try

mesaflash --device 7c80 --addr /dev/spidev0.0 --spi --readhmid

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

More
17 Sep 2021 00:27 #220838 by kinghpole
provided this response:
unable to set bpw32, fallback to bpw8
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7C80
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 2
  Width of one I/O port: 27
  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 2 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  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: StepGen
  There are 6 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  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: PWM
  There are 1 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 200.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 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: InMux
  There are 1 of InMux in configuration
  Version: 0
  Registers: 5
  BaseAddress: 8000
  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 StepGens+Misc
Pin#                  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

TB7-2,3                 0   IOPort       StepGen          0        Step/Table1     (Out)
TB7-4,5                 1   IOPort       StepGen          0        Dir/Table2      (Out)
TB8-2,3                 2   IOPort       StepGen          1        Step/Table1     (Out)
TB8-4,5                 3   IOPort       StepGen          1        Dir/Table2      (Out)
TB9-2,3                 4   IOPort       StepGen          2        Step/Table1     (Out)
TB9-4,5                 5   IOPort       StepGen          2        Dir/Table2      (Out)
TB10-2,3                6   IOPort       StepGen          3        Step/Table1     (Out)
TB10-4,5                7   IOPort       StepGen          3        Dir/Table2      (Out)
TB11-2,3                8   IOPort       StepGen          4        Step/Table1     (Out)
TB11-4,5                9   IOPort       StepGen          4        Dir/Table2      (Out)
TB12-2,3               10   IOPort       StepGen          5        Step/Table1     (Out)
TB13-4,5               11   IOPort       StepGen          5        Dir/Table2      (Out)
TB3-3,4                12   IOPort       SSerial          0        RXData0         (In)
TB3-5,6                13   IOPort       SSerial          0        TXData0         (Out)
Internal               14   IOPort       SSerial          0        TXEn0           (Out)
TB4-1,2                15   IOPort       QCount           0        Quad-A          (In)
TB4-4,5                16   IOPort       QCount           0        Quad-B          (In)
TB4-7,8                17   IOPort       QCount           0        Quad-IDX        (In)
TB5-2                  18   IOPort       PWM              0        PWM             (Out)
TB5-2                  19   IOPort       PWM              0        /Enable         (Out)
TB5-5,6                20   IOPort       None           
TB5-7,8Internal        21   IOPort       None           
Internal               22   IOPort       InMux            0        Addr0           (Out)
Internal               23   IOPort       InMux            0        Addr1           (Out)
Internal               24   IOPort       InMux            0        Addr2           (Out)
Internal               25   IOPort       InMux            0        Addr3           (Out)
(null)                 26   IOPort       InMux            0        Addr4           (Out)

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

Internal               27   IOPort       InMux            0        Data0           (In)
TB13-1,2               28   IOPort       SSR              0        Out-00          (Out)
TB13-3,4               29   IOPort       SSR              0        Out-01          (Out)
TB13-5,6               30   IOPort       SSR              0        Out-02          (Out)
TB13-7,8               31   IOPort       SSR              0        Out-03          (Out)
TB14-1,2               32   IOPort       SSR              0        Out-04          (Out)
TB14-3,4               33   IOPort       SSR              0        Out-05          (Out)
TB14-5,6               34   IOPort       SSR              0        Out-06          (Out)
TB14-7,8               35   IOPort       SSR              0        Out-07          (Out)
Internal               36   IOPort       SSR              0        AC Ref          (Out)
P1-01/DB25-01          37   IOPort       None           
P1-02/DB25-14          38   IOPort       None           
P1-03/DB25-02          39   IOPort       None           
P1-04/DB25-15          40   IOPort       None           
P1-05/DB25-03          41   IOPort       None           
P1-06/DB25-16          42   IOPort       None           
P1-07/DB25-04          43   IOPort       None           
P1-08/DB25-17          44   IOPort       None           
P1-09/DB25-05          45   IOPort       None           
P1-11/DB25-06          46   IOPort       None           
P1-13/DB25-07          47   IOPort       None           
P1-15/DB25-08          48   IOPort       None           
P1-17/DB25-09          49   IOPort       None           
P1-19/DB25-10          50   IOPort       None           
P1-21/DB25-11          51   IOPort       None           
P1-23/DB25-12          52   IOPort       None           
P1-25/DB25-13          53   IOPort       None 

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

More
17 Sep 2021 01:11 #220842 by kinghpole
Assuming that all looks good it seems most people pick a card in PNCconf tool that is close enough then edit the .hal and .ini files to have the correct name what would be a good one to build config for the 7c80 off of?

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

More
17 Sep 2021 01:20 #220843 by PCW
Closest is probably something like a 7I96
The isolated input names would be the main difference
(other than card and driver name)

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

More
19 Sep 2021 17:38 #221125 by PHILCOAST
I have the same problem. I want to change firmware 7c80 for 7c80_7i89d.bit and I have the same results.

-sudo mesaflash --device 7C80 –spi --addr /dev/spidev0.0 --write 7c80_7i89d.bit
=ERROR: you must select transport layer for board
No 7C80 board found

-mesaflash --device 7c80 --addr /dev/spidev0.0 --spi --readhmid
=unable to set bpw32, fallback to bpw8
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7C80
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 2
  Width of one I/O port: 27
  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 2 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  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: StepGen
  There are 6 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  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: PWM
  There are 1 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 200.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 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: InMux
  There are 1 of InMux in configuration
  Version: 0
  Registers: 5
  BaseAddress: 8000
  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 StepGens+Misc
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 0      0   IOPort       StepGen          0        Step/Table1     (Out)
 0      1   IOPort       StepGen          0        Dir/Table2      (Out)
 0      2   IOPort       StepGen          1        Step/Table1     (Out)
 0      3   IOPort       StepGen          1        Dir/Table2      (Out)
 0      4   IOPort       StepGen          2        Step/Table1     (Out)
 0      5   IOPort       StepGen          2        Dir/Table2      (Out)
 0      6   IOPort       StepGen          3        Step/Table1     (Out)
 0      7   IOPort       StepGen          3        Dir/Table2      (Out)
 0      8   IOPort       StepGen          4        Step/Table1     (Out)
 0      9   IOPort       StepGen          4        Dir/Table2      (Out)
 0     10   IOPort       StepGen          5        Step/Table1     (Out)
 0     11   IOPort       StepGen          5        Dir/Table2      (Out)
 0     12   IOPort       SSerial          0        RXData0         (In)
 0     13   IOPort       SSerial          0        TXData0         (Out)
 0     14   IOPort       SSerial          0        TXEn0           (Out)
 0     15   IOPort       QCount           0        Quad-A          (In)
 0     16   IOPort       QCount           0        Quad-B          (In)
 0     17   IOPort       QCount           0        Quad-IDX        (In)
 0     18   IOPort       PWM              0        PWM             (Out)
 0     19   IOPort       PWM              0        /Enable         (Out)
 0     20   IOPort       None           
 0     21   IOPort       None           

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

More
19 Sep 2021 19:14 #221134 by PCW
It looks like you have a corrupted character on the command line
that is the --spi (the transport layer setting) was not recognized
(that should be dash dash spi)
The following user(s) said Thank You: PHILCOAST

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

More
19 Sep 2021 22:26 - 19 Sep 2021 22:28 #221155 by tommylight

-sudo mesaflash --device 7C80 –spi --addr /dev/spidev0.0 --write 7c80_7i89d.bit

In front of the "spi", that is not a "minus minus", it is a character not recognized.
Last edit: 19 Sep 2021 22:28 by tommylight. Reason: Editor acting up.
The following user(s) said Thank You: PHILCOAST

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

More
19 Sep 2021 23:13 #221161 by PHILCOAST
i try
mesaflash --device 7C80 -spi --addr /dev/spidev0.0 --write 7c80_7i89d.BIT
=
you must select transport layer for board
No 7C80 board found
in the manual there is a paragraph on the BitFile format and multiboot that I do not understand. Is this can be the source of the problem?
 

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

More
19 Sep 2021 23:22 #221162 by tommylight
-sudo mesaflash --device 7C80 --spi --addr /dev/spidev0.0 --write 7c80_7i89d.bit
Try this.
The following user(s) said Thank You: PHILCOAST

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

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