On Fri, 28 Jan 2022, John Figie wrote:

Date: Fri, 28 Jan 2022 13:21:04 -0600
From: John Figie <zephyr9...@gmail.com>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] mesa 7i80 configuration

Peter,

Thanks for verifying this in your environment.
When you say communications issue do you mean something other than
electrical noise?

I doubt that there is a noise issue with my communications as right now I
am in a pretty
good environment. There are no drives or other noisy devices running, the
mesa hardware is mounted to a 3/8" thick grounded
aluminum sub panel with standoffs. The 5v power supply is ungrounded but
supplied through a shielded cable with the shield
single point grounded to the subpanel. The power looks clean on a scope.
The subpanel is connected to the PE (protective earth)
for the building. The ethernet CAT5E UTP cable is maybe about 3' long.

If I read the FPGA hmid using mesaflash I also read 65535. If the data was
bad from noise then wouldn't
the packet be dropped (bad crc) and other data besides the idrom value be
incorrect?
but the mesaflash --readhmid returns all of the other info that is expected
- i think.



That's really weird, it actually looks like a FPGA or bitfile fault

What is the md5 checksum of the bitfile you are using?


Also I can rebuild that file for testing


the output looks like this:
zephyr@Clausing:~/linuxcnc/configs/7i80/7i80/configs/hostmot2$ mesaflash
--device 7i80 --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2

General configuration information:

 BoardName : MESA7I80
 FPGA Size: 25 KGates
 FPGA Pins: 256
 Number of IO Ports: 3
 Width of one I/O port: 24
 Clock Low frequency: 100.0000 MHz
 Clock High frequency: 200.0000 MHz
 IDROM Type: 65535
 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: MuxedQCount
 There are 16 of MuxedQCount in configuration
 Version: 3
 Registers: 5
 BaseAddress: 3500
 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: BufSPI
 There are 2 of BufSPI in configuration
 Version: 0
 Registers: 3
 BaseAddress: 5400
 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 P1
Pin#                  I/O   Pri. func    Sec. func       Chan      Pin func
      Pin Dir

1                      0   IOPort       MuxedQCount      0        MuxQ-A
      (In)
3                      1   IOPort       MuxedQCount      0        MuxQ-B
      (In)
5                      2   IOPort       MuxedQCount      0        MuxQ-IDX
      (In)
7                      3   IOPort       MuxedQCount      1        MuxQ-A
      (In)
9                      4   IOPort       MuxedQCount      1        MuxQ-B
      (In)
11                      5   IOPort       MuxedQCount      1        MuxQ-IDX
      (In)
13                      6   IOPort       MuxedQCount      2        MuxQ-A
      (In)
15                      7   IOPort       MuxedQCount      2        MuxQ-B
      (In)
17                      8   IOPort       MuxedQCount      2        MuxQ-IDX
      (In)
19                      9   IOPort       MuxedQCount      3        MuxQ-A
      (In)
21                     10   IOPort       MuxedQCount      3        MuxQ-B
      (In)
23                     11   IOPort       MuxedQCount      3        MuxQ-IDX
      (In)
25                     12   IOPort       None
27                     13   IOPort       MuxedQCountSel   0        MuxSel0
       (Out)
29                     14   IOPort       BufSPI           0        /Frame
      (Out)
31                     15   IOPort       BufSPI           0        DOut
      (Out)
33                     16   IOPort       BufSPI           0        SClk
      (Out)
35                     17   IOPort       BufSPI           0        DIn
       (In)
37                     18   IOPort       BufSPI           0        CS2
       (Out)
39                     19   IOPort       BufSPI           0        CS1
       (Out)
41                     20   IOPort       BufSPI           0        CS0
       (Out)
43                     21   IOPort       None
45                     22   IOPort       None
47                     23   IOPort       None

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

1                     24   IOPort       MuxedQCount      4        MuxQ-A
      (In)
3                     25   IOPort       MuxedQCount      4        MuxQ-B
      (In)
5                     26   IOPort       MuxedQCount      4        MuxQ-IDX
      (In)
7                     27   IOPort       MuxedQCount      5        MuxQ-A
      (In)
9                     28   IOPort       MuxedQCount      5        MuxQ-B
      (In)
11                     29   IOPort       MuxedQCount      5        MuxQ-IDX
      (In)
13                     30   IOPort       MuxedQCount      6        MuxQ-A
      (In)
15                     31   IOPort       MuxedQCount      6        MuxQ-B
      (In)
17                     32   IOPort       MuxedQCount      6        MuxQ-IDX
      (In)
19                     33   IOPort       MuxedQCount      7        MuxQ-A
      (In)
21                     34   IOPort       MuxedQCount      7        MuxQ-B
      (In)
23                     35   IOPort       MuxedQCount      7        MuxQ-IDX
      (In)
25                     36   IOPort       None
27                     37   IOPort       MuxedQCountSel   8        MuxSel0
       (Out)
29                     38   IOPort       BufSPI           1        /Frame
      (Out)
31                     39   IOPort       BufSPI           1        DOut
      (Out)
33                     40   IOPort       BufSPI           1        SClk
      (Out)
35                     41   IOPort       BufSPI           1        DIn
       (In)
37                     42   IOPort       BufSPI           1        CS2
       (Out)
39                     43   IOPort       BufSPI           1        CS1
       (Out)
41                     44   IOPort       BufSPI           1        CS0
       (Out)
43                     45   IOPort       None
45                     46   IOPort       None
47                     47   IOPort       None

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

1                     48   IOPort       None
3                     49   IOPort       None
5                     50   IOPort       None
7                     51   IOPort       None
9                     52   IOPort       None
11                     53   IOPort       None
13                     54   IOPort       None
15                     55   IOPort       None
17                     56   IOPort       None
19                     57   IOPort       None
21                     58   IOPort       None
23                     59   IOPort       None
25                     60   IOPort       None
27                     61   IOPort       None
29                     62   IOPort       None
31                     63   IOPort       None
33                     64   IOPort       None
35                     65   IOPort       None
37                     66   IOPort       None
39                     67   IOPort       None
41                     68   IOPort       None
43                     69   IOPort       None
45                     70   IOPort       None
47                     71   IOPort       None


That looks OK

Now if I load a different .bit file like 7i80hd_25_svsp8_6_7i46 then I get
back the idrom value of 3 which is expected.

So now I wonder if for your test you used the bit file downloaded from the
mesa website in the 7i80 zip file or did you
use a file from some other place?

I used the file from the 7I80 distribution which is the same one
in 7i80.zip

regards,

John Figie

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to