need bitfile for 7i80hd + 7i52s + 7i44 + 7i73

More
12 Mar 2020 15:05 #159880 by 3D-Master
thank you very much!

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

More
12 Mar 2020 17:52 #159892 by 3D-Master
somehow mesaflash says no board found. I put W1 and W2 in the down position so the board should have the ip address 192.168.1.121.

i also put the W2 in the up position to use the EEPROM ip address, which should be 10.10.10.10 (at least thats what my hal file says) and added "--addr 10.10.10.10" to mesaflash but stil no board found, even though i can connect to the board when starting the machine.

I have the feeling i forgot something but i cant find what is missing.

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

More
12 Mar 2020 17:57 #159893 by 3D-Master
if W1 is down and W2 is up, i can ping 10.10.10.10

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

More
12 Mar 2020 17:58 #159894 by PCW
Did you power cycle the card after changing the jumper?

also I would try pinging the card before running mesaflash

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

More
12 Mar 2020 18:00 #159896 by 3D-Master
yes i powered everything off, then switched the jumper and then powered everything up again

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

More
12 Mar 2020 18:08 #159898 by PCW
OK normally you should not change the board IP address on a working configuration
because you would also need to change the host IP address settings, that is, you
should use whatever settings you currently use with LinuxCNC

If you use 192.168.1.121

mesaflash --device 7i80

should find the card

if you use 10.10.10.10

mesaflash --device 7i80 --addr 10.10.10.10

should find the card

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

More
12 Mar 2020 18:17 #159901 by 3D-Master
i made a stupid mistake. I wrote:

sudo mesaflash --device 7i80 --addr 10.10.10.10-- fallback --write <bitfile name>.bit


i added a space and now i was able to flash it :)

thanks anyways

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

More
12 Mar 2020 19:19 #159913 by 3D-Master
hmm. Now Linuxcnc says gpio.000.is_output not found


that was working before. In my Hal file is:

setp hm2_7i80.0.gpio.000.is_output true
setp hm2_7i80.0.gpio.023.is_output true

setp hm2_7i80.0.gpio.000.out false
setp hm2_7i80.0.gpio.023.out false


when i comment these out Linuxcnc starts but doesnt seem to output a PWM signal.

from Mesaflash --readhmid
sudo mesaflash --device 7i80 --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I80
  FPGA Size: 16 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: 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: 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: PWM
  There are 6 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 200.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: StepGen
  There are 1 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  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 P1
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1      0   IOPort       PWM              0        /Enable         (Out)
 3      1   IOPort       MuxedQCount      0        MuxQ-A          (In)
 5      2   IOPort       MuxedQCount      0        MuxQ-B          (In)
 7      3   IOPort       MuxedQCount      0        MuxQ-IDX        (In)
 9      4   IOPort       MuxedQCount      1        MuxQ-A          (In)
11      5   IOPort       MuxedQCount      1        MuxQ-B          (In)
13      6   IOPort       MuxedQCount      1        MuxQ-IDX        (In)
15      7   IOPort       MuxedQCount      2        MuxQ-A          (In)
17      8   IOPort       MuxedQCount      2        MuxQ-B          (In)
19      9   IOPort       MuxedQCount      2        MuxQ-IDX        (In)
21     10   IOPort       MuxedQCountSel   0        MuxSel0         (Out)
23     11   IOPort       PWM              0        PWM             (Out)
25     12   IOPort       PWM              0        Dir             (Out)
27     13   IOPort       PWM              1        PWM             (Out)
29     14   IOPort       PWM              1        Dir             (Out)
31     15   IOPort       PWM              2        PWM             (Out)
33     16   IOPort       PWM              2        Dir             (Out)
35     17   IOPort       PWM              3        PWM             (Out)
37     18   IOPort       PWM              3        Dir             (Out)
39     19   IOPort       PWM              4        PWM             (Out)
41     20   IOPort       PWM              4        Dir             (Out)
43     21   IOPort       StepGen          0        Step/Table1     (Out)
45     22   IOPort       StepGen          0        Dir/Table2      (Out)
47     23   IOPort       PWM              0        /Enable         (Out)

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

 1     24   IOPort       None           
 3     25   IOPort       None           
 5     26   IOPort       None           
 7     27   IOPort       None           
 9     28   IOPort       None           
11     29   IOPort       None           
13     30   IOPort       None           
15     31   IOPort       None           
17     32   IOPort       None           
19     33   IOPort       None           
21     34   IOPort       None           
23     35   IOPort       None           
25     36   IOPort       None           
27     37   IOPort       None           
29     38   IOPort       None           
31     39   IOPort       None           
33     40   IOPort       None           
35     41   IOPort       None           
37     42   IOPort       None           
39     43   IOPort       None           
41     44   IOPort       None           
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       SSerial          0        RXData1         (In)
 3     49   IOPort       SSerial          0        RXData2         (In)
 5     50   IOPort       SSerial          0        RXData3         (In)
 7     51   IOPort       SSerial          0        RXData4         (In)
 9     52   IOPort       SSerial          0        TXData1         (Out)
11     53   IOPort       SSerial          0        TXEn1           (Out)
13     54   IOPort       SSerial          0        TXData2         (Out)
15     55   IOPort       SSerial          0        TXEn2           (Out)
17     56   IOPort       SSerial          0        TXData3         (Out)
19     57   IOPort       SSerial          0        TXEn3           (Out)
21     58   IOPort       SSerial          0        TXData4         (Out)
23     59   IOPort       SSerial          0        TXEn4           (Out)
25     60   IOPort       SSerial          0        RXData5         (In)
27     61   IOPort       SSerial          0        RXData6         (In)
29     62   IOPort       SSerial          0        RXData7         (In)
31     63   IOPort       SSerial          0        RXData8         (In)
33     64   IOPort       SSerial          0        TXData5         (Out)
35     65   IOPort       SSerial          0        TXEn5           (Out)
37     66   IOPort       SSerial          0        TXData6         (Out)
39     67   IOPort       SSerial          0        TXEn6           (Out)
41     68   IOPort       SSerial          0        TXData7         (Out)
43     69   IOPort       SSerial          0        TXEn7           (Out)
45     70   IOPort       SSerial          0        TXData8         (Out)
47     71   IOPort       SSerial          0        TXEn8           (Out)

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

More
12 Mar 2020 19:22 #159916 by PCW
I think those pins are controlled by the PWM enables

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

More
12 Mar 2020 19:26 #159917 by 3D-Master
i might reflash the old bitfile to see what has changed. i think i remember that the order of the pwmgens changed but im not sure.

Anyways when i want to home the servos nothing happens and linuxcnc goes into estop saying following error too high. i tried connecting the pwm/dir connector to the other comm ports to see if they are somehow swapped but no difference.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum