7i98 and 5abobx3 firmware

More
26 Jan 2021 19:39 #196654 by jonnydeen
I invested in a 7i98 a while back and am struggling to get it working with linuxcnc. Pncconf doesn't support the card and firmware. So I'm at a loss as to how to get it running.
Can I add the 7i98 to pncconf?
Or can I use a similar mesa configuration and firmware in pncconf then use mesaflash to flash the correct firmware to the card. Then what would I need to change in the hal/ ini.
Or is there a better way?
I am machinist, not a programmer so slightly out of my depth. But eager to ditch mach3

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

More
26 Jan 2021 20:01 - 26 Jan 2021 20:02 #196657 by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
You should be able to use a 7I92 pncconf
configuration to get close and then just
change the card name
Last edit: 26 Jan 2021 20:02 by PCW.
The following user(s) said Thank You: jonnydeen

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

More
28 Jan 2021 13:52 #196938 by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
tried that, but now having what appears to be connection issues. ive tried multiple ethernet cables, i know the ethernet port is working (used it for network when installing linux) tried eprom ip (10.10.10.10) and default (192.168.1.121) and ive even tried connecting my 7i92H. same again.
Attachments:

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

More
28 Jan 2021 16:50 #196963 by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware

hm2_eth: rtapi_app_main: Network is unreachable (-101)


Means you don't have networking setup properly on your PC

You need to setup a static IP address on your host computer

Typically 192,168,1.100 if the 7I98 is jumpered for a 192.168.1.121 address
and 10.10.10.100 if the 7I98 is jumpered for a 10.10.10.10 address

What does the command

ip a

report?

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

More
28 Jan 2021 17:11 #196969 by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
user@triac:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether bc:30:5b:c6:b1:a7 brd ff:ff:ff:ff:ff:ff
inet6 fe80::be30:5bff:fec6:b1a7/64 scope link
valid_lft forever preferred_lft forever

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

More
28 Jan 2021 17:56 #196979 by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
Yes, you don't have a static IP address setup on the host.
You can either do this with the network manager or other graphic tool
or by editing the interfaces file as described on the mh2_eth manual page.

man hm2_eth

When properly configured you should get something like this:
(for a 10.10.10.10 FPGA card address)

2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether ec:b1:d7:6c:a2:da brd ff:ff:ff:ff:ff:ff
inet 10.10.10.100/24 brd 10.10.10.255 scope global eno1
valid_lft forever preferred_lft forever

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

More
28 Jan 2021 21:55 #196994 by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
thanks again.
i tried configuring the static ip as per this thread
forum.linuxcnc.org/27-driver-boards/3559...ethernet-mesa-boards

however i did not have any connections available to edit, so i added a new one
it changed the output of
ip a
(see attached) but my 7i98 is still not found.
thank you for all your help so far.
Attachments:

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

More
29 Jan 2021 01:50 #197022 by PCW
Replied by PCW on topic 7i98 and 5abobx3 firmware
The ip command shows that you have not managed to setup a
static IP address on your host

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

More
29 Jan 2021 19:38 - 29 Jan 2021 19:40 #197086 by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
PCW thank you, with your guidance ive been able to connect to my 7i98. i searched for the 'man hm2_eth' and found the passage you referenced. then added the text into the file specified. i was set back when i couldn't save my changes but after a bit of googling and some trial and error i figured out how to do it with vi as sudo.
then i edited the hal file, replacing the instances 7i92 for 7i98
a bit more work than i had hoped but its been educational.
now i suppose i should flash the firmware then start configuring my hal file to suit.

hmm wonder if changing the name would work to run pathpilot with the 7i98?
Last edit: 29 Jan 2021 19:40 by jonnydeen.

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

More
01 Feb 2021 19:55 - 01 Feb 2021 19:56 #197329 by jonnydeen
Replied by jonnydeen on topic 7i98 and 5abobx3 firmware
So after some testing and head scratching I have determined the step and dir pins on the breakout board. Problem is they dont match the firmware. From what I gather see the hal file doesn't designate pins? the mess firmware does?
When I use the readhmid command I can confirm that the pin assignments match neither what the breakout board requires nor the pin out i have determined by trial and error.
Loading the firmware appeared to be successful but I dont see the config name 5abobx3, only Hostmot2.
Should I not see 'configuration name 5abobx3'?
Attachments:
Last edit: 01 Feb 2021 19:56 by jonnydeen.

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

Moderators: cmorley
Time to create page: 0.084 seconds
Powered by Kunena Forum