RPI4 Raspbian 64 bit & LinuxCNC

More
4 years 7 months ago #238469 by Elco
Sorry about that, I seem to be at war with the forum software. Tried a few times to attach something, kept saying no file attached.
Here we go again.
 

File Attachment:

File Name: linuxcnc.r...3-27.txt
File Size:5.4 KB


Not my day...
Elco
 

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

More
4 years 7 months ago #238485 by rodw
Can you share your ini file?
Further to What Dewey has said the log indicates some missing ini file sections.


RodW

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

More
4 years 7 months ago #238513 by Elco
 

File Attachment:

File Name: cnc03-1.hal
File Size:3.18 KB
 

File Attachment:

File Name: cnc03-1.ini
File Size:5.15 KB
I never made it to a complete .ini file, but I tested many settings (the I86 system that died had an earlier LinuxCNC version. and it got 'converted'. I started from scratch and it took some time to understand the hal file requirements, which I documented first. It was my intention to post one complete working configuration, but after many hours I did not make it that far.
Elco

I Attached is the linuxcnc.report I ran just now on the RPI as well as my .hal and .ini file.

File Attachment:

File Name: cnc03-1.hal
File Size:3.18 KB

File Attachment:

File Name: cnc03-1.ini
File Size:5.15 KB

File Attachment:

File Name: linuxcnc.r...3-28.txt
File Size:4.95 KB

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

More
4 years 7 months ago #238535 by elovalvo
Meanwhile, there are a number of problems in the .hal file.
In fact, in the instructions hal_pi_gpio.pin-xx-out and hal_pi_gpio.pin-xx-in the parameter xx refers to the physical pin number of the Raspberry and not to the gpio number.
Furthermore, there is no variant -not used for the estop signal In some lines the command hal_pi_gpio.pin-xx-out (xhome and following) is misspelled.

Attached is the correct version of the commands for the .hal file.
 
The following user(s) said Thank You: Elco

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

More
4 years 7 months ago #238543 by Elco
elovalvo,

Thanks a lot for clarifying and fixing the gpio assignments.

Regards,
Elco

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

More
4 years 7 months ago - 4 years 7 months ago #238886 by Elco
I am trying to debug at the command line why LinuxCNC does not want to start. I found that when in [EMCMOT] the COMM_TIMEOUT is set to 10 (5 is too short) the following errors disappear:
USRMOT:ERROR: command timeout
emcMotionInit:emcTrayInit failed.

RTAPI then tries to load milltask. However, it fails to find milltask.so in linuxcnc/modules, upon which waitpid times out.

This is with the Linux Raspberry 5.10.74 rt54-V8+ #1 SMP PREEMPT_RT Fri Oct 22 10:15:42 PDT 2021 aarch64 GNU Linux version
LinuxCNC 2.8.2 . The hardware is a RPi 4B 8 GB

All from this file:
Linuxcnc_2.8.2_arm64deb.zip


Elco
 
Last edit: 4 years 7 months ago by Elco.

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

Time to create page: 0.189 seconds
Powered by Kunena Forum