- Hardware & Machines
- Computers and Hardware
- LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
03 Aug 2024 14:41 #306849
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
your log say's: wrong header: 116, 105, 114, 119, 0,...
this is the tx header, it looks like you get the data back you have send (UDP-loop test or so).
the right rx header is: 97, 116, 97, 100,
this is the tx header, it looks like you get the data back you have send (UDP-loop test or so).
the right rx header is: 97, 116, 97, 100,
Please Log in or Create an account to join the conversation.
03 Aug 2024 14:44 #306850
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
ahhh, ok, your lcnc host have the ip of the rio-interface, that explain also the udp-loop ![:) :)](/media/kunena/emoticons/smile.png)
set it to 192.168.10.1 or so
for subnet you can use 255.255.255.0 (bcast is than 192.168.10.255), but that should also work
![:) :)](/media/kunena/emoticons/smile.png)
set it to 192.168.10.1 or so
for subnet you can use 255.255.255.0 (bcast is than 192.168.10.255), but that should also work
The following user(s) said Thank You: Mecanix
Please Log in or Create an account to join the conversation.
03 Aug 2024 14:50 #306851
by Mecanix
Just to double confirm, you mean like this? (that doesn't work btw):
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Ok that's great, at least we know why it doesn't work on this pc. If I set the interface IP to 192.168.10.1 then I can't ping the fpga anymore. I'm confused. For the record the FPGA/w5500 is connected directly into the Wired connection 2.ahhh, ok, your lcnc host have the ip of the rio-interface, that explain also the udp-loop
set it to 192.168.10.1 or so
for subnet you can use 255.255.255.0 (bcast is than 192.168.10.255), but that should also work
Just to double confirm, you mean like this? (that doesn't work btw):
$ sudo nmcli con mod "Wired connection 2" ipv4.method manual ipv4.addr "192.168.10.1/8" ipv4.never-default "yes"
$ sudo nmcli con up "Wired connection 2"
Please Log in or Create an account to join the conversation.
03 Aug 2024 14:51 #306852
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
i never used nmcli, so don' know, but i would use '192.168.10.1/24'
Please Log in or Create an account to join the conversation.
03 Aug 2024 14:58 #306853
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Ok. Completely confused but I'll try to figure it out. Strange because this network approach works for my other lcnc-uspace set-ups.
I'll try to set-up the network like my dev pc is, which actually work with the w5500 directly connected into its ethernet port . Let's see how that goes.
I'll update on the Evil State!!
I'll try to set-up the network like my dev pc is, which actually work with the w5500 directly connected into its ethernet port . Let's see how that goes.
I'll update on the Evil State!!
Please Log in or Create an account to join the conversation.
03 Aug 2024 15:19 #306854
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Right. So any other IP address I give the eth interface doesn't work (unreachable - rightfully!), I mean any other IP address other than my w5500 192.168.10.194. Strange enough this no-route-no-gateway set-up works perfectly fine with mesa and other litexcnc cards ![:( :(](/media/kunena/emoticons/sad.png)
@all - If anyone running Rio on ethernet and has this running, if not too sensitive/private to share your IP set-up, please do because I'm clueless how else this could work for that particular PC. Thanks.
![:( :(](/media/kunena/emoticons/sad.png)
@all - If anyone running Rio on ethernet and has this running, if not too sensitive/private to share your IP set-up, please do because I'm clueless how else this could work for that particular PC. Thanks.
Please Log in or Create an account to join the conversation.
03 Aug 2024 15:36 #306856
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
You can reset your network to a working configuration and Chance the IP of your W5500
The following user(s) said Thank You: Mecanix
Please Log in or Create an account to join the conversation.
03 Aug 2024 15:56 - 03 Aug 2024 15:58 #306857
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Ok. I did that and so far so good on the connectivity thing (hal-re-compiled, fpga reflashed). Using the same IP as my LiteXcnc card. But geez man, getting the same header error however now getting all zeros. I'm totally at lost with this uspace-based prod pc.
Methink a break is in order. Let's push this aside for a few days and I'll come back to it when my head is cleared up and rested. Tried too hard!!
Monday evening seems like an excellent 'non-evil' time to resume getting this to work here. I'll update soon.
ps. I don't think this is Rio related and so don't feel involved. This is a Linux/Linuxcnc networking thing...
Methink a break is in order. Let's push this aside for a few days and I'll come back to it when my head is cleared up and rested. Tried too hard!!
Monday evening seems like an excellent 'non-evil' time to resume getting this to work here. I'll update soon.
ps. I don't think this is Rio related and so don't feel involved. This is a Linux/Linuxcnc networking thing...
Last edit: 03 Aug 2024 15:58 by Mecanix.
Please Log in or Create an account to join the conversation.
03 Aug 2024 16:34 #306865
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
For the others who, like myself, are severely affected by the "Chronic Idiotic Syndrome" (birth defect in my case), you DO NOT change the IP in the w5500.v file but rather in the rio.v file toward the end (line 237 for me).
EPIC I-m-fookin-tired FAIL. Hope you've all enjoyed the entertainment!! Thank you very much.
Now. Break time first and I'll test what appears to be a Masterpiece of A Controller. It's unbelievably high performance stuff. Kudos, Oliver.
EPIC I-m-fookin-tired FAIL. Hope you've all enjoyed the entertainment!! Thank you very much.
Now. Break time first and I'll test what appears to be a Masterpiece of A Controller. It's unbelievably high performance stuff. Kudos, Oliver.
The following user(s) said Thank You: tommylight, Bongo
Please Log in or Create an account to join the conversation.
03 Aug 2024 16:46 - 03 Aug 2024 16:49 #306867
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Pardon the language but... Holly Fucking Christ it's EPIC. There, said it.
Initial test with a complex 3ax simultaneous at 3000mmpm vel packed with cycles. Zero lag. No errors. No joints drama. O M G lool
@everyone, @evils, @godz, You MUST try Rio over FPGA + W5500. Not a recommendation btw - it's an ORDER.
Thank you so much, Oliver aka meister.
Initial test with a complex 3ax simultaneous at 3000mmpm vel packed with cycles. Zero lag. No errors. No joints drama. O M G lool
@everyone, @evils, @godz, You MUST try Rio over FPGA + W5500. Not a recommendation btw - it's an ORDER.
Thank you so much, Oliver aka meister.
Last edit: 03 Aug 2024 16:49 by Mecanix.
The following user(s) said Thank You: tommylight, meister
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Time to create page: 0.114 seconds