I've converted my mini-mill to 3-axis CNC using the BBB and Machinekit on
the 2-12 image. It works great and I love this conversion! When I grab a
more recent image (3-26) I run into a variety of problems, some of which
get fixed by building machinekit from sources on the BBB, but the app still
fails to load.
I've modifed the CRAMPS config since my settup uses steppers with Toshiba
6600 based drivers. The PRU's are used in that config to run
step/direction. I've modified 'setup.sh' to use the updated path for
bone_capemgr and to load 'cape-universal' and BB-ADC. The script calls for
'helper' and 'uio0' but I can't find these or know if they are needed.
Commenting those out yields:
machinekit@beaglebone:~$ machinekit
MACHINEKIT - 0.1
Machine configuration directory is
'/home/machinekit/machinekit/configs/ARM/BeagleBone/CRAMPS'
Machine configuration file is 'CRAMPS.ini'
Starting Machinekit...
io started
halcmd loadusr io started
cape-universal overlay found
BB-ADC overlay found
P9_25 pinmux file not found!
cape-universala overlay not found
run "config-pin overlay cape-universala" to load the cape
CRAMPS.hal:10: program './setup.sh' failed, returned 1
Shutting down and cleaning up Machinekit...
Cleanup done
Machinekit terminated with an error. You can find more information in the
log:
/home/machinekit/linuxcnc_debug.txt
and
/home/machinekit/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
machinekit@beaglebone:~$
And:
machinekit@beaglebone:~$ cat linuxcnc_print.txt
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/machinekit/machinekit/bin
LINUXCNC_TCL_DIR=/home/machinekit/machinekit/tcl
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/machinekit/machinekit/rtlib
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/machinekit/machinekit/src/objects
INIVAR=/home/machinekit/machinekit/libexec/inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
INIFILE=/home/machinekit/machinekit/configs/ARM/BeagleBone/CRAMPS/CRAMPS.ini
PARAMETER_FILE=pru-stepper.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting Machinekit server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting Machinekit IO program: io
Killing task linuxcncsvr, PID=8726
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
machinekit@beaglebone:~$
Is there an updated config that works with the newer images, or a howto on
how to proceed?
Thanks for your time and help!
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.