Re: [Machinekit] using hal_spi module

2018-09-21 Thread schoone...@gmail.com
You are not running with DEBUG=5 Do so and your linuxcnc.log will have info as to what failed. Also as I said in my last reply, it does not look as though you have a realtime kernel, irrespective of what you have named your pi. On 21/09/18 15:31, mngr

Re: [Machinekit] Re: Connecting HAL components across multiple CPUs

2018-09-21 Thread Joshua Dickerson
Thanks for all the suggestions, Chris! I would have to say you truly have the mindset of a developer, all important questions to address before any major undertaking. I have ported my machine controller over to use FreeRTOS, totally agree about not reinventing the wheel there. Right now the

Re: [Machinekit] Connecting HAL components across multiple CPUs

2018-09-21 Thread Joshua Dickerson
Wow thanks, Charles! Never heard of Zero-MQ, totally diving into the material now! :) Also reading into haltalk so I can better understand how it works. Hopefully I can learn enough to contribute meaningfully to the project! Thanks again! On Tuesday, September 18, 2018 at 8:29:29 AM UTC-5,

[Machinekit] Re: Connecting HAL components across multiple CPUs

2018-09-21 Thread Joshua Dickerson
Hi there! Thanks so much for your suggestions, currently looking into and will get back to everyone on what I learn. On Tuesday, September 18, 2018 at 8:36:00 AM UTC-5, mngr wrote: > > I am not that expert on machinekit, but I will try to give my opinion, > maybe someone will support or

[Machinekit] Re: Error when install Machinekit on Raspberry Pi 3, Raspian Stretch

2018-09-21 Thread mngr
I compiled from source, using ./ configure --with-platform-raspberry and machinekit works. I randomly gave a look in the /var/log/linuxcnc.log file and I found that Sep 21 13:24:10 realtimepi msgd:0: startup pid=4467 *flavor=posix* rtlevel=1 usrlevel=1 halsize=524288 shm=Posix cc=gcc 6.3.0

Re: [Machinekit] Re: Error when install Machinekit on Raspberry Pi 3, Raspian Stretch

2018-09-21 Thread schoone...@gmail.com
I have just done a fresh clone of machinekit, built on a rt-preempt kernel (with a posix) one also installed and I get Sep 21 14:52:00 INTEL-i7 msgd:0: startup pid=14733 flavor=rt-preempt rtlevel=5 usrlevel=5 halsize=524288 shm=Posix cc=gcc 8.2.0  version=unknown

[Machinekit] using hal_spi module

2018-09-21 Thread mngr
Hi everyone, I am sorry to post another noob question here, but, I am trying to use the hal module hal_spi, shortly I tried with loadrt hal_spi in the hal file, but CRAMPS.hal:15: insmod failed, returned -1: rtapi_rpc(): reply timeout See /var/log/linuxcnc.log for more information. in the log