Advanced Search

Search Results (Searched for: )

  • skunkworks
  • skunkworks
07 Feb 2025 00:26
Replied by skunkworks on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

What image are you using for the rpi5? I was having read errors on my 7i97 very often with whatever image I was using (I don't remember when I got it) I downloaded the latest off of linuxcnc's site (2.9.4)

It has been rock solid. No issues running it for a week now.

sam
  • PCW
  • PCW's Avatar
06 Feb 2025 23:09
Replied by PCW on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Strange, others have used the RPI5 with Ethernet FPGA cards without issue.

What kernel are you using?

(uname -a)

I guess it could be a hardware issue.

Do lose link lights when you lose the network connection?

I can try and duplicate this when I get a chance.
  • jhandel
  • jhandel
06 Feb 2025 22:40 - 06 Feb 2025 22:42
Replied by jhandel on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I was able to cause it to crash out without going into Linux CNC if i load it up too much with commands like
sudo chrt 99 ping -i .001

It handled running realtime at 1ms delay with averages of .101ms  for 10000, 20000 and 30000 pings, but when I jumped to 50000 pings it crashed out at about 40k pings..

So there is something that someone in the "chain" doesn't like under high network traffic..

and again, unplugging and plugging back in (just the network) fixes it... which is... wierd... (to me)..

Here is my Servo Period:
SERVO_PERIOD = 1000000

and here is my Servo Timeout
setp hm2_7i76e.0.watchdog.timeout_ns 5000000

the whole config can be found here (its where I wrote it a while ago, but my old pc died so working on getting it up and running on this pi)

github.com/Skyfire-community/SVM2-LinuxCNC
  • Wagon56
  • Wagon56
06 Feb 2025 22:25
Replied by Wagon56 on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

Dude damn that worked actually, below you will find a functioning config for the pi5 which is based on the link provided above, time to get some drivers hooked up
  • nc5tom
  • nc5tom
06 Feb 2025 22:13
Replied by nc5tom on topic 7i97t setup problem

7i97t setup problem

Category: General LinuxCNC Questions

I have removed and then reinstalled Mesaflash exactly following the procedure on github and this seems to have worked a trick.
I now have Mesaflash 3.5.10
mesaflash --device ethernet --addr 10.10.10.10
now results with
ETH device 7I97T at ip=10.10.10.10
and the --readhmid command responds as it should too.  Fantastic.  I wonder if this the newer version or that I had incorrectly installed Mesaflash previously.
I will take a look at MesaCT now - thank you both for your help.

 
  • twatchorn
  • twatchorn
06 Feb 2025 22:04
Replied by twatchorn on topic Errors with G code for Qtpalmac

Errors with G code for Qtpalmac

Category: Fusion 360

Hello gekonko,
Thank you for your reply, I hadn't looked for replies as I thought I had ticked "send me email when there was a reply".
I don't know very much about G code so am attaching file and screen shots. Could you please have a look and if I need to add G92 show me how and where to add it.
I did 3 tests adding it in between N65 and N70, and called it N67.
First test with G92 then G92.1 and G92.2
The 3 different errors are all in the one error window

Kind Regards
Trevor
 
  • baikal718
  • baikal718
06 Feb 2025 21:58
  • JT
  • JT's Avatar
06 Feb 2025 21:52
Replied by JT on topic 7i97t setup problem

7i97t setup problem

Category: General LinuxCNC Questions

If you use Mesa CT to make your configuration files it provides a lot of information about the selected card.





JT
  • Wagon56
  • Wagon56
06 Feb 2025 21:26
Replied by Wagon56 on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

Yeah for sure, i was gonna make a little setup guide as soon as i have it done correctly so i dont have to do all the research again in the future, might aswell post it all on here for everyone that has similar issues
  • unknown
  • unknown
06 Feb 2025 21:23
Replied by unknown on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

The config the user posted was for a 6 axis machine. If that's what you need it should be good to go once you correct the couple of mistakes.

If I may ask, once you have the basic config working, could you attach the files to this thread. As I attempting to have a one stop thread with a heap of info.
forum.linuxcnc.org/9-installing-linuxcnc...the-rpasberry-pi-4-5
  • Wagon56
  • Wagon56
06 Feb 2025 21:18
Replied by Wagon56 on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

Awesome, thanks, will take a look and see what i can fix, i dont think setting up a config for 6 axis will be a big problem once i actually get the gpio stuff working
  • unknown
  • unknown
06 Feb 2025 21:11 - 26 May 2025 05:07

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Regarding GPIO drivers.

For the Rpi5 please use hal_gpio
For the RPi4 hal_pi_gpio or hal_gpio (this looks like the easier option to setup) , should be no need to mess with permissions

linuxcnc.org/docs/devel/html/drivers/hal_gpio.html
linuxcnc.org/docs/devel/html/drivers/hal_pi_gpio.html
  • PCW
  • PCW's Avatar
06 Feb 2025 21:05
Replied by PCW on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

What is the servo thread rate?

How are the ping times?
  • unknown
  • unknown
06 Feb 2025 21:05
Replied by unknown on topic Raspberry Pi5 GPIO setup

Raspberry Pi5 GPIO setup

Category: Configuration Tools

This may be a starting point
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=350#320817

But continue reading, as the user did make a few mistakes in the hal file, but these were pointed out in the next post. May not be exactly want you want, being 6 aixs, but it's a starting point.

But yeah it's hal_gpio for the PI5
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html
  • unknown
  • unknown
06 Feb 2025 20:59
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Got a strange one with a Pi5...   Network seems fine when I am just pinging my Mesa card (a 7i76e) but when I run Linux CNC, things kick on but then the network crashes and I get a bazillion (technical term) hm2/hm2_7i76e.0: error queuing read iter=xxxx) and everything turns back off.. 

Once it dies I can't even ping the Mesa card (10.10.10.10) until I unplug and plug back in the ethernet cord... Then its happy as a clam pinging.. but once I start up Linux CNC again same crash right as the UI inits. 

(Linux CNC 2.9.3, PI5 8Gb, NVMe Boot)
 

You may want to start reading from here:
forum.linuxcnc.org/27-driver-boards/4223...read?start=20#207308

Unfortunately I don't have any ethernet hardware to test with (only SPI), I have a 7i92 but that's in the mill enclosure and is a PITA to access. From reports the 6.12 kernel on the most recent RPi images have better latency, but I can't say whether that would solve your issue.
Displaying 17386 - 17400 out of 20891 results.
Time to create page: 0.346 seconds
Powered by Kunena Forum