7i97
- Epicenter02
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 2
15 Sep 2022 12:08 #251995
by Epicenter02
7i97 was created by Epicenter02
Hello everyone.
After a long stop, I headed back to retrofitting my machine. Im very new to this, starting from scratch and I'm using 7i94 + 7i97 + 7i70x2 and 7i71 to make my configuration and future mods. But working on the hal file, I can't seem to make the communication between 7i94 and 7i97. There is not much information about 7i97 boards out there. If I connect via ethernet to the 7i94 board I can see it perfectly through halrun, the same goes for the 7i97. But if I connect to 7i94 and try to find 7i97 I cannot see it.. Any advice what could be done and how should I continue?
After a long stop, I headed back to retrofitting my machine. Im very new to this, starting from scratch and I'm using 7i94 + 7i97 + 7i70x2 and 7i71 to make my configuration and future mods. But working on the hal file, I can't seem to make the communication between 7i94 and 7i97. There is not much information about 7i97 boards out there. If I connect via ethernet to the 7i94 board I can see it perfectly through halrun, the same goes for the 7i97. But if I connect to 7i94 and try to find 7i97 I cannot see it.. Any advice what could be done and how should I continue?
Please Log in or Create an account to join the conversation.
15 Sep 2022 14:58 - 15 Sep 2022 15:00 #252001
by PCW
Actually you would probably be better off with a 7I97 and a 7I74
(so you just have one Ethernet card)
To use two Mesa Ethernet FPGA cards simultaneously, you need to:
1. Reprogram the EEPROM IP address of one card to say 10.10.10.11
(so one card has a 10.10.10.10 IP address and the other 10.10.10.11)
This is done with mesaflash
2. loadrt the hm2_eth driver with the two IP addresses and two config
strings specified. (man hm2_eth)
3. In the hal file, you will need to addf read and write functions for both cards
4. in addition you must addf read-request functions for both cards _before_ the
read functions. (this allows the read operation to be overlapped, if not done, the
first read function must complete before the second starts which wastes a lot of time)
(so you just have one Ethernet card)
To use two Mesa Ethernet FPGA cards simultaneously, you need to:
1. Reprogram the EEPROM IP address of one card to say 10.10.10.11
(so one card has a 10.10.10.10 IP address and the other 10.10.10.11)
This is done with mesaflash
2. loadrt the hm2_eth driver with the two IP addresses and two config
strings specified. (man hm2_eth)
3. In the hal file, you will need to addf read and write functions for both cards
4. in addition you must addf read-request functions for both cards _before_ the
read functions. (this allows the read operation to be overlapped, if not done, the
first read function must complete before the second starts which wastes a lot of time)
Last edit: 15 Sep 2022 15:00 by PCW.
Please Log in or Create an account to join the conversation.
- Epicenter02
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 2
19 Oct 2022 11:57 #254513
by Epicenter02
Replied by Epicenter02 on topic 7i97
We have them running with two separate IPs, axis is starting. We can see the IOs but we have no control over the analog outs of the 7i97 board. I can't find the problem.. AoutN has 14.6 volts constantly... Any ideas?
Thanks in advance
Thanks in advance
![:) :)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.
- Epicenter02
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 2
20 Oct 2022 05:47 - 20 Oct 2022 05:47 #254587
by Epicenter02
Replied by Epicenter02 on topic 7i97
This is our hal file, Im still testing things out, both cards run in servo thread, they can run well in separate threads also. Everything there is under development, but Im stuck on the analog outupts and I have no control over the servos.
Attachments:
Last edit: 20 Oct 2022 05:47 by Epicenter02.
Please Log in or Create an account to join the conversation.
20 Oct 2022 15:07 #254606
by PCW
That looks OK
I would try updating the 7I97 firmware, as early firmware had an issue with enable
(re-download the bitfile from Mesa)
If you then do not get close to 0V when the 7i97 is idle
(LinuxCNC not running or in the machine-off state),
There is a hardware fault.
Also make sure you test with the analog outputs disconnected
to make sure the issue is not caused by a wiring fault.
I would try updating the 7I97 firmware, as early firmware had an issue with enable
(re-download the bitfile from Mesa)
If you then do not get close to 0V when the 7i97 is idle
(LinuxCNC not running or in the machine-off state),
There is a hardware fault.
Also make sure you test with the analog outputs disconnected
to make sure the issue is not caused by a wiring fault.
Please Log in or Create an account to join the conversation.
Time to create page: 0.103 seconds