Advanced Search

Search Results (Searched for: )

  • Mecanix
  • Mecanix
03 Aug 2024 14:58

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

Category: Computers and Hardware

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!!
  • meister
  • meister
03 Aug 2024 14:51

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

Category: Computers and Hardware

i never used nmcli, so don' know, but i would use '192.168.10.1/24'
  • Mecanix
  • Mecanix
03 Aug 2024 14:50

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

Category: Computers and Hardware

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

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. 

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"
 
  • meister
  • meister
03 Aug 2024 14:44

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

Category: Computers and Hardware

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
  • meister
  • meister
03 Aug 2024 14:41

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

Category: Computers and Hardware

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,
  • Mecanix
  • Mecanix
03 Aug 2024 14:39 - 03 Aug 2024 14:42

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

Category: Computers and Hardware

meister post=306847 userid=19472
do you run halcompile on the linuxcnc host ?
or at least you have to copy the rio.so (from halcompile) file to /usr/lib/linuxcnc/modules/ on the lcnc host

yes of course, or else it wouln'd have connected to the fpga. From the host computer: $ sudo halcompile --install rio.c 

Can I bother you more and ask to see how you configure your network interface on your lcnc linux? Below is what mine look like. 
$ sudo nmcli con mod "Wired connection 2" ipv4.method manual ipv4.addr "192.168.10.194/8" ipv4.never-default "yes"
$ sudo nmcli con up "Wired connection 2" 

[img]https://i.postimg.cc/cLk1jnst/RIO3.png[/img]
  • meister
  • meister
03 Aug 2024 14:38

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

Category: Computers and Hardware

do you run halcompile on the linuxcnc host ?
or at least you have to copy the rio.so (from halcompile) file to /usr/lib/linuxcnc/modules/ on the lcnc host
  • Mecanix
  • Mecanix
03 Aug 2024 14:34 - 03 Aug 2024 14:35

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

Category: Computers and Hardware

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 :(
  • meister
  • meister
03 Aug 2024 14:14 - 03 Aug 2024 14:20

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

Category: Computers and Hardware

no panik !!!

do you have recompile your hal-component ?
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
  • Mecanix
  • Mecanix
03 Aug 2024 13:46

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

Category: Computers and Hardware

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!!



  • Lpkkk
  • Lpkkk
03 Aug 2024 13:13 - 03 Aug 2024 13:15
Replied by Lpkkk on topic Remora RT1052 nvem pinouts

Remora RT1052 nvem pinouts

Category: Advanced Configuration

If anyone would still look for pinouts, please see attached 
  • Lpkkk
  • Lpkkk
03 Aug 2024 12:58

Positioning issue on remora with nvem

Category: Basic Configuration

Hi 
I've got some weird issue with my configuration. 
When I home I should be on X0Y0. But I'm always 0.003 - 0.005 from this point on both axes. 

Same when I go to X50, it is stopping at 49.995. DTG shows 0. 
I've noticed in hal config that j0pos-cmd and j0pos-fb are different. 
It happens on all of the axes 
​​​Can someone advise anything? 
  • tommylight
  • tommylight's Avatar
03 Aug 2024 11:55

Hardware needed to switch from mach 3 6 axis to linuxcnc 9 axis

Category: General LinuxCNC Questions

You EtherCAT guys are doing a great job at making things more accessible but it will be some time before I'll send a newcomer looking for an easy entry down that path.

+1
  • tommylight
  • tommylight's Avatar
03 Aug 2024 11:53
Replied by tommylight on topic I found old PC in the dumpster with parallel port

I found old PC in the dumpster with parallel port

Category: General LinuxCNC Questions

Not yet, there are things ti disable in BIOS, like hyperthreading, power saving, TPM, sleep states, turbo mode, speed step, etc.
And get the older Wheezy ISO as it uses the RTAI kernel and test with it, should do much better.
Also, repasting the CPU cooler will often make the PC usable.
  • Mr. Mass
  • Mr. Mass's Avatar
03 Aug 2024 11:49
Control panel was created by Mr. Mass

Control panel

Category: Show Your Stuff

My new project is a control panel. Always wanted to make one, but something kept getting in the way. Now I finally managed to realize it. Nothing special, the case itself is bent and welded from 2mm sheet metal, 12" touch screen monitor, industrial keyboard and all the buttons, computer also fits. All the buttons and MPG are connected via adruino. As usual, in many things had to figure out from scratch, the config turned out perhaps the most complex of those that I have ever done. But in the end, everything works as it should, thanks to this forum, I was able to find answers to all my questions here.


Displaying 23416 - 23430 out of 25557 results.
Time to create page: 0.537 seconds
Powered by Kunena Forum