LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
2 years 2 months ago #306797 by tommylight
The following user(s) said Thank You: meister, Mecanix

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

More
2 years 2 months ago #306822 by Cant do this anymore bye all

If you have a look at the figures on the wiz net wiki you’ll see as packet size drops so does the overall throughput.
 
All I could find is the implementation and proposed data integrity stuff. I know you're past your daylight but when you have a chance tomorrow, see if you can find that bit of info you ref'ed and we'll talk to their engineer about it. See if we can flip a Magic Register to disable that supposedly/suspected throttling thingy...

Impl. Ref:  docs.wiznet.io/Product/iEthernet/W5500/Application/udp

 
docs.wiznet.io/Product/iEthernet/W5500/A...tion/spi-performance
The following user(s) said Thank You: Mecanix

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

More
2 years 2 months ago - 2 years 2 months ago #306836 by Mecanix
@cornholio post=306822 userid=35653
Can we append a Kb of great zero-dummy nothingness to the rx and tx buffers to cancel this throttling misery thing? How silly.
This needs testing on a 20~30bytes load to confirm. I'll see if I can rig something up before cracking on something gigabit-like. 

@meister post=306785 userid=19472
That's awesome news, knew you'd sort it eventually (ha!). Let me test this out after dinner when my bunch here is quiet (saturday!).
Last edit: 2 years 2 months ago by Mecanix.

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

More
2 years 2 months ago #306844 by Mecanix
Tests carried. Tested onto my production Lcnc-uspace computer which host a high performance r8169 ethernet adapter. Same I use for my gigabit based lathe (LiteXcnc). Yet I'm unable to have Rio working on this one :(

Strangely enough, I get zero pkt losses and a fast ping response from the wizzy part on that computer. As if it likes it very much! Therefore fair to assume I'm connected solid.

So upsetting to see Rio working for others, but not for myself. I smell badluck arrggh

HELP, calling the Godz!!



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

More
2 years 2 months ago - 2 years 2 months ago #306845 by meister
no panik !!!

do you have recompile your hal-component ?
Code:
halcompile --install Output/Mecanix/LinuxCNC/rio.c if you changed the gateware, you have to recompile it EDIT: and if you on an other host, don't forget to copy the new generated files, gateware have to match the rio.c and the linuxcnc configs
Last edit: 2 years 2 months ago by meister.

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

More
2 years 2 months ago - 2 years 2 months ago #306846 by Mecanix
Yes I did.

I've seen you made changes to your repo and so I've deleted everything locally and started fresh from scratch. Git re-cloned everything, recompiled the gateware, flashed to fpga, halcompile --install rio.c, then copied over the Linuxcnc config files. E v e r y t h i n g brand new!!

That way I ensured everything was fresh as you left it after your mods and tests yesterday. Even went and get the prod computer to test fresh onto.

Saturday's Evils I tell ya lol Trust it's a good day to panic!

Funniest thing is it works(ish) onto the PC I dev onto. That PC can't be used with Lcnc because of the crappy ethernet adapter... one of those affected realtek nic. At least I'm not getting this bad header error onto this PC. So weird... totally lost :(
Last edit: 2 years 2 months ago by Mecanix.

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

Time to create page: 1.561 seconds
Powered by Kunena Forum