Linuxcnc's Ethercat in Raspberry pi-5

More
2 years 3 months ago #304870 by seyad
I am using raspberry pi-5 for my project to build linuxcnc . I actually build linuxcnc from source file following this site ( linuxcnc.org/docs/master/html/code/build...nc.html#sub:realtime ). and  i also build ethercat using this two ( forum.linuxcnc.org/ethercat/49771-etherc...ce-full-instructions   // forum.linuxcnc.org/ethercat/42048-notes-...at-on-raspberry-pi-4 ). but at stage of testing i am facing issues in ethercat . i attached that error below . 

Attachment not found

 

Attachment not found

Please Log in to join the conversation.

More
2 years 3 months ago #304879 by rodw
I'm not really sure if ethercat is supported on the Pi5 as the Pi 5 was released just after Linuxcnc 2.9.1 was released
Can you try  using the pi5 image from the downloads page and burn the image to a SD card using Balena Etcher.
It has the ethercat repository already installed.
So then follow the Sticky I wrote in this section to install ethercat from the repositories
if that works, the issue is with your build.

Please Log in to join the conversation.

More
2 years 3 months ago #304903 by seyad
Thank you . Yes, Its working good with linuxcnc2.9.2 image file. But Actually i want build linuxcnc and ethercat from source that only i can able to modifies it for different UNIX device for later. could you share with me any reference for build linuxcnc and ethercat from source file.

Please Log in to join the conversation.

More
2 years 3 months ago #304909 by Cant do this anymore bye all
Just be careful cross compiling isn't easy (if not quite possible) for Linuxcnc.

Funny how some things are in the documentation, below links to how to build linuxcnc from source. Be aware the build deps will install Apache2. Ahh the beauty of debian\ubuntu

linuxcnc.org/docs/master/html/code/building-linuxcnc.html

Please Log in to join the conversation.

More
2 years 3 months ago #304970 by seyad
I've successfully built LinuxCNC by following the instructions in the official documentation. Additionally, I've compiled EtherCAT using the instructions provided on this site.( forum.linuxcnc.org/ethercat/49771-etherc...ce-full-instructions ) However, when I reached the final testing step for EtherCAT, I encountered an error while executing a specific .ini file. Here is a screenshot of my sytem configration :

Could you help me troubleshoot this issue?

Attachment not found

Please Log in to join the conversation.

More
2 years 3 months ago #304976 by Cant do this anymore bye all
All lscpu gives is info on the cpu, nothing else is reported, and it's really not the info needed.
You haven't given any indication of your error your error, I skipped mind reading & ESP classes at school ;)

Please upload the error Linuxcnc is giving and all the files, ini, hal & xml & any extra files your ini file loads. Screenshots aren't really much help, ever tried using grep to look for a string in a screen shot ? Just a little joke there mate.

Put up the right info and you'll get the help you want.

Please Log in to join the conversation.

More
2 years 3 months ago #305190 by seyad
For Ethercat  installation i followed this video (
).After that  I strated test ethercat following his steps while executing lathe.ini file error came. Bellow attached error report.   

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
2 years 3 months ago #305469 by jjdege
HI
Just wanted to confirm that everything is working
I downloaded and installed the LinuxCNC file for Raspberry Pi 5
followed the stiky written by Rod for the EtherCAT drivers and everything works
my CNC moves like with the PC

 

Attachment not found



 

Attachment not found



the only thing you can't manage is the display
but it's all great
Thank you!

Please Log in to join the conversation.

More
2 years 3 months ago #305474 by rodw
This is for the 4B but you might be able to set the screen resolution in config.txt
pimylifeup.com/raspberry-pi-screen-resolution/
But this file might be in a sub folder

Please Log in to join the conversation.

More
2 years 3 months ago #305606 by seyad
yes, if you use pre-developed image, Everything work well. But Actually i am trying build linuxcnc from source file and ethercat too, there only i am facing issue

Please Log in to join the conversation.

Time to create page: 0.128 seconds
Powered by Kunena Forum