Re: [Machinekit] Lattice FPGA

2018-08-05 Thread mngr
mal functionality. > > BTW > Nice to hear from a fellow Verilog programmer :-) > > On Saturday, 28 July 2018 16:15:50 UTC+2, mngr wrote: >> >> I just realized that hostmot3 does the same thing of hstmot2, but the 3 >> is very more tidy. >> I was following th

[Machinekit] launching machinekit after build

2018-08-08 Thread mngr
x27;t know the standard procedure... can you please help me? now I don't have a kernel-rt, but I will only do test, does this change anything? mngr -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message becau

[Machinekit] best way of making new hal modules

2018-09-11 Thread mngr
machinekit.io/docs/hal/new-instantiated-components>" mngr -- 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 unsubscrib

Re: [Machinekit] best way of making new hal modules

2018-09-16 Thread mngr
Il giorno giovedì 13 settembre 2018 10:52:53 UTC+2, Schooner ha scritto: > > > On 11/09/18 22:58, mngr wrote: > > Hi, > > I have to declare some new HAL modules, which is the best way to do it? > > First one: when a security switch gets pressed I have to pause the >

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

2018-09-16 Thread mngr
Same issue here, I am on jessie, debian 8.0 Linux raspberrypi 4.4.4-rt9-v7+ #7 SMP PREEMPT RT Mon Mar 7 14:53:11 UTC 2016 armv7l GNU/Linux here is the console output, maybe it helps MACHINEKIT - 0.1 Machine configuration directory is '/home/pi/machinekit/configs/ARM.BeagleBone.CRAMPS' Machine

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

2018-09-16 Thread mngr
I installed the old machinekit version, taken from you comment, and the upgraded Il giorno domenica 16 settembre 2018 16:28:31 UTC+2, mngr ha scritto: > > Same issue here, I am on jessie, debian 8.0 > > Linux raspberrypi 4.4.4-rt9-v7+ #7 SMP PREEMPT RT Mon Mar 7 14:53:11 UTC >

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

2018-09-16 Thread mngr
but because it was then 0, > if you tested on a posix thread, because posix is enumerated to 0, there > was no problem :-P > > > On 16/09/18 15:29, mngr wrote: > > I installed the old machinekit version, taken from you comment, and the > upgraded > > Il giorno domen

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

2018-09-18 Thread mngr
Thanks Tac!! i was just about to ask how did you make a debian stretch real-time image for the Pi, thank you very much! Il giorno lunedì 17 settembre 2018 19:54:18 UTC+2, Tac Huynh ha scritto: > > Thanks Schooner. > Latest update worked. > > For other people using the raspberry pi. I used the rea

[Machinekit] Re: Connecting HAL components across multiple CPUs

2018-09-18 Thread mngr
hat alternatives. mngr Il giorno martedì 18 settembre 2018 05:07:43 UTC+2, Joshua Dickerson ha scritto: > > Hello everyone, > > I am working on and off again on writing my own machine controller, > largely to understand LinuxCNC and related projects like MachineKit. For > refere

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

2018-09-21 Thread mngr
20170516 version=unknown even if pi@realtimepi:~ $ uname -a Linux realtimepi 4.14.69-v7+ #1141 SMP Mon Sep 10 15:26:29 BST 2018 armv7l GNU/Linux should'nt flavor be preempt-rt? did I missed something while compiling? Il giorno martedì 18 settembre 2018 14:40:20 UTC+2, mngr ha sc

[Machinekit] using hal_spi module

2018-09-21 Thread mngr
ments? I don't know how to understand how to write them from the code... Maybe the module is old and has lost some compatibility? right now i am executing from Linux realtimepi 4.14.69-v7+ #1141 SMP Mon Sep 10 15:26:29 BST 2018 armv7l GNU/Linux Debian Stretch, Machinekit compiled from s

[Machinekit] executing from source, pango problems

2018-09-22 Thread mngr
Hi everybody, I have compiled from source, and now I am trying to execute, machinekit stars, but axis does not: MACHINEKIT - 0.1 Machine configuration directory is '/home/pi/machinekit/configs/CRAMPS' Machine configuration file is 'CRAMPS.ini' Starting Machinekit... rtapi_msgd command: /home/pi

Re: [Machinekit] executing from source, pango problems

2018-09-22 Thread mngr
6-dev > tcl8.6-dev libreadline-dev python-tk libglu1-mesa-dev; > > apt-get install -y libczmq-dev python-zmq ; > > > > > On 22/09/18 18:11, mngr wrote: > > Hi everybody, > I have compiled from source

Re: [Machinekit] executing from source, pango problems

2018-09-23 Thread mngr
... Thank again Schooner Il giorno sabato 22 settembre 2018 21:20:14 UTC+2, mngr ha scritto: > Thanks for the answer, I will try to install those packages tomorrow. > Yes I am on stretch. > > > Il giorno sabato 22 settembre 2018 20:10:58 UTC+2, Schooner ha scritto: >> >>

Re: [Machinekit] executing from source, pango problems

2018-09-23 Thread mngr
I messed with the RPi so I had to redo that part, I run also the ./configure --with-platform-raspberry and it gave no error Il giorno domenica 23 settembre 2018 10:29:58 UTC+2, mngr ha scritto: > > Now it works: > The missing packages were those > > libpth-dev libpth20 tcl-dev

Re: [Machinekit] using hal_spi module

2018-09-23 Thread mngr
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 wrote: > > Hi everyone, > > I am sorry

Re: [Machinekit] using hal_spi module

2018-09-23 Thread mngr
was explained by the text you deleted from > yours. > It takes a hexidecimal number up to 0x7FFF, the output is to terminal > and the output is from NML messaging > > The exported DEBUG=5 is the debug setting for logging and relates to the > rtapi system, not NML >

Re: [Machinekit] using hal_spi module

2018-09-23 Thread mngr
Pi forums > Actually, I tought that hal_spi is used to write something to a MCU that will control the motor generating steps. I think it sends the commanded velocity and the MCU updates the PWM. I am not sure of those things, though On 23/09/18 13:50, mngr wrote: Il giorno domenica 23 settembr

Re: [Machinekit] using hal_spi module

2018-09-23 Thread mngr
rtapi_app: -1 (uri= uuid=a42c8c6b-4025-4f83-ba28- dad21114744a): rtapi_rpc(): reply timeout E: 18-09-23 15:04:20 dangling 'DEALER' socket created at hal/utils/ halcmd_rtapiapp.cc:281 Il giorno domenica 23 settembre 2018 16:43:25 UTC+2, Schooner ha scritto: > > On 23/09/18 15:16, mngr w

Re: [Machinekit] using hal_spi module

2018-09-23 Thread mngr
7;t help, may just be > picking up the last return value. > > What is the output from /proc/cpuinfo and what version etc is your Pi? > > > > On 23/09/18 16:12, mngr wrote: > > Attached. > > In the log you can see the message I added in the hal_spi rtapi_app_main. &

Re: [Machinekit] using hal_spi module

2018-09-23 Thread mngr
ave not > answered any of them) > > > On 23/09/18 18:01, mngr wrote: > > Thanks for the explanation about machinkit workings, > > I played with the stamps and found that it was blocking on > while (!(BCM2835_SPICS & SPI_CS_DONE)); (Line 438) > > removing it hal

Re: [Machinekit] using hal_spi module

2018-09-26 Thread mngr
app_main() > > You need to find someone who is up on bit twiddling on the v3 B and check > all the addresses and offsets with them. > (Particularly the SPI_BASE offset, which may or may not vary between > models of Soc) > > > On 23/09/18 20:35, mngr wrote: > > I am rea

Re: [Machinekit] using hal_spi module

2018-09-28 Thread mngr
edited from 0x2000 to 0x3F00 and now the raspberry loads the hal_spi module. hal_spi.c should check the Pi version in a similar way to hal_gpio.c . Il giorno mercoledì 26 settembre 2018 12:33:31 UTC+2, mngr ha scritto: > > The cpuinfo information says BCM2835 for any raspberry v

Re: [Machinekit] using hal_spi module

2018-09-28 Thread mngr
Il giorno venerdì 28 settembre 2018 15:10:04 UTC+2, Schooner ha scritto: > > > On 28/09/18 13:21, mngr wrote: > > edited from 0x2000 to 0x3F00 and now the raspberry loads the > hal_spi module. hal_spi.c should check the Pi version in a similar way to > hal_gpi

Re: [Machinekit] using hal_spi module

2018-09-29 Thread mngr
i have copied all the function and recompiled, now when i run realtime start; halcmd loadrt hal_spi an error says do_load_cmd: dlopen: /home/pi/machinekit/rtlib/rt-preempt/hal_spi.so: undefined symbol: get_rpi_revision rpath=/home/pi/machinekit/rtlib/rt-preempt:/home/pi/machinekit/lib it does no

Re: [Machinekit] using hal_spi module

2018-09-29 Thread mngr
mpiler, but not actually linked it or similar. > > Each driver probably needs to have all the routines and info within it. > > On 29/09/18 17:41, mngr wrote: > > i have copied all the function and recompiled, > now when i run realtime start; halcmd loadrt hal_spi an error says > d

Re: [Machinekit] using hal_spi module

2018-09-30 Thread mngr
oblems, add some DBG prints to see what revision and number > of cores is being returned > > regards > > On 29/09/18 17:56, mngr wrote: > > https://github.com/mngr0/machinekit > > > Il giorno sabato 29 settembre 2018 18:50:47 UTC+2, Schooner ha scritto: >>

Re: [Machinekit] using hal_spi module

2018-09-30 Thread mngr
some time trying to patch my version, if it is too hard I will clone and test yours Il giorno domenica 30 settembre 2018 18:23:39 UTC+2, Schooner ha scritto: > > > On 30/09/18 16:59, mngr wrote: > > A young guy just learned how beautiful commit diffs are > > here is a link

Re: [Machinekit] using hal_spi module

2018-09-30 Thread mngr
It will probably take me more of a evening because the next couple of days is already full. Maybe I will test your version and then make another pr to unify hal_spi.h and bcm2835.h -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- Y

Re: [Machinekit] using hal_spi module

2018-10-02 Thread mngr
I tested your branch, everything is working fine, it loads and the spi writes. Il giorno domenica 30 settembre 2018 22:55:45 UTC+2, mngr ha scritto: > > It will probably take me more of a evening because the next couple of days > is already full. Maybe I will test your version and

Re: [Machinekit] using hal_spi module

2018-10-02 Thread mngr
e > If you are happy with that, I can push a PR, so it is in the packages. > > > On 02/10/18 13:39, mngr wrote: > > I tested your branch, everything is working fine, it loads and the spi > writes. > > Il giorno domenica 30 settembre 2018 22:55:45 UTC+2, mngr ha scrit

[Machinekit] Re: NGCWriter is now in Cura Plugin Repository

2018-10-15 Thread mngr
I don't get it, what is the difference between .ngc and .gcode files? I am currently just changing the extension Il giorno domenica 14 ottobre 2018 20:25:18 UTC+2, Michael Brown ha scritto: > > I have first gotton around to testing this today and I find that NGCWritet > plugin seema to be missing

[Machinekit] Re: Issue when add A axis to BBB

2018-10-15 Thread mngr
Hi, I think that is because you said it has 3 axis, so there is axis.0 axis.1 axis.2, stop. I actually don't know if you can call them X Y A. Instead I am curious if you can name them X Y E. Il giorno lunedì 15 ottobre 2018 21:04:33 UTC+2, guozir...@gmail.com ha scritto: > > Hi Guys, > > I go

[Machinekit] documentation

2018-10-23 Thread mngr
MQ and protobuf, and the structure seems clear. I tried to look search in the group, or looking in the code, but it is hard... I am not expert enough to write that documentation by myself, can you help me in writing it? First question would be: how do you think it should be structured? mng

Re: [Machinekit] documentation

2018-11-18 Thread mngr
Thanks Schooner, thanks Bas I took my time to study, the videos have been very useful, I still have a couple of questions: What does milltask do? how does it influence the movement? I have read somewhere in this group that it is made for milling and does not fit 3d printing at 100%, why? Il gi

Re: [Machinekit] Machinekit with openpnp

2019-01-28 Thread mngr
I have given a look at OpenPnP, it has the option to connect to a driver over TCP, and send gcodes one by one. This driver is now supposed to be a smoothieboard. How much work would be implementing a machinekit interface that shows on a TCP port and reply? In this way OpenPnP will stay untouched,

[Machinekit] configure for delta printer

2019-02-27 Thread mngr
equivalent in python hal, can you please help me? mngr -- 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 grou

Re: [Machinekit] configure for delta printer

2019-02-27 Thread mngr
Thank you Bas! Il giorno mercoledì 27 febbraio 2019 11:30:13 UTC+1, Bas de Bruijn ha scritto: > > > > On 27 Feb 2019, at 11:02, mngr > wrote: > > Hi, > > I want to tweak this configuration ( > https://github.com/machinekit/machinekit/tree/master/configs/ARM/Bea

Re: [Machinekit] configure for delta printer

2019-02-27 Thread mngr
y are interpreted as inches instead of millimiters? Il giorno mercoledì 27 febbraio 2019 15:02:28 UTC+1, mngr ha scritto: > > Thank you Bas! > > Il giorno mercoledì 27 febbraio 2019 11:30:13 UTC+1, Bas de Bruijn ha > scritto: >> >> >> >> On 27 Feb 2019, at 11:02,

Re: [Machinekit] configure for delta printer

2019-02-27 Thread mngr
Il giorno mercoledì 27 febbraio 2019 18:50:06 UTC+1, Bas de Bruijn ha scritto: > > > > On 27 Feb 2019, at 18:30, mngr > wrote: > > I had a ini and hal file working for this machine. Now I have copied every > configuration parameter to the new one, but the machine is

[Machinekit] xenomai.x86-amd64 FATAL ERROR

2019-03-21 Thread mngr
Hi, I am on Linux debian 3.8-1-xenomai.x86-amd64 #1 SMP Debian 3.8.13-12~1jessie~1da x86_64 GNU/Linux with machinekit installed marco@debian:~/log$ dpkg --list | grep machinekit ii machinekit0.1.1552558261.git355496b-1~jessie amd64PC based motion co

[Machinekit] Re: xenomai.x86-amd64 FATAL ERROR

2019-03-23 Thread mngr
The same happens with RIP build If I try to load modules from halrun by hand it still throws some FATAL ERROR, but doesn't crash unloading modules Il giorno giovedì 21 marzo 2019 10:47:44 UTC+1, mngr ha scritto: > > Hi, > > I am on > Linux debian 3.8-1-xenomai.x86-amd64 #1

Re: [Machinekit] Re: xenomai.x86-amd64 FATAL ERROR

2019-03-28 Thread mngr
aybe trying with machinekit-hal and machinekit-cnc is a interesting test? mngr Il giorno sabato 23 marzo 2019 09:12:01 UTC-4, Schooner ha scritto: > > Could do with some more info please. > > What computer is this? How much RAM? > > What config are you loading? (attach please)

Re: [Machinekit] Re: xenomai.x86-amd64 FATAL ERROR

2019-04-16 Thread mngr
e warning silencing patch). >>> >>> However to find the exact border between working and nonworking will be >>> even with halving method tideous without prebuild packages, so is there a >>> way how to get these older packages from repository or are th

Re: [Machinekit] Re: xenomai.x86-amd64 FATAL ERROR

2019-04-23 Thread mngr
Il giorno mercoledì 17 aprile 2019 00:12:12 UTC+2, ce...@tuta.io ha scritto: > > > > Dne úterý 16. dubna 2019 23:41:48 UTC+2 mngr napsal(a): >> >> >> >> Il giorno martedì 16 aprile 2019 23:19:52 UTC+2, ce...@tuta.io ha >> scritto: >>> >>

[Machinekit] scheduling policy

2019-04-24 Thread mngr
1066 TS 19 linuxcncsvr 1127 TS 19 milltask 1128 TS 19 axis ... 1088 TS 19 rtapi_msgd 1089 TS 19 uuidd 1094 TS 19 rtapi:0 1103 TS 19 io But I think it should be FF (SCHED_FIFO), may it be the cause of the high latency? mngr

[Machinekit] python hal component userspace

2019-05-16 Thread mngr
"name") #comp.newpin... def foo(): comp["a"]=comp["b"] hal.export(foo) hal.loadusr("comp") hal.addf("foo","servo-thread") Can you please give me some advice? mngr -- website: htt

[Machinekit] screw extrusion

2019-08-11 Thread mngr
something like that, but I don't remember where to find them or how are they called... can anyone remind me? In the Arcus-3dM2 there is a screw extruder, is its configuration available? Regards mngr -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://githu

[Machinekit] Re: PICnc with Machine Kit.

2020-02-29 Thread mngr
libraries are well made, but I am not a seasoned developer. I can work on this, but I need the guide of a experienced one. Regards, mngr Il giorno venerdì 28 febbraio 2020 16:11:23 UTC+1, Mr Greg ha scritto: > > @ JohnD > > Re your OP > The answer is yes. > I have been us