[Machinekit] mb2hal?

2019-12-19 Thread justin White
It was suggested to me to use mb2hal for some remote communication from a 
LinuxCNC box to a MK box which actually seems to be a good idea. It looks 
like MK does not include this component. Without looking too far into it 
yet it just looks like a simple userspace component. Any particular reason 
why it would not just drop right in? Thoughts on including it in MK?

-- 
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 machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/bcef08db-8bec-434e-ab47-451ad07a4ec6%40googlegroups.com.


[Machinekit] Re: PocketBeagle with MachineKit hal configuration question

2019-12-19 Thread Jeff Pollard
Hi,

  Every time in the past that I've checked the MD5, is came out fine.  I 
didn't check this time, so I don't know if that was the problem.  It is 
quite possible I messed around with some variable or parameter that I'm not 
aware of, and that got corrected by doing a new download  (although I'm 
pretty sure I followed the same procedure as before).  In any case I got it 
to work.

Jeff


On Thursday, December 19, 2019 at 5:30:52 AM UTC-8, fishy wrote:
>
> MD5?
>
> On Tuesday, 17 December 2019 23:06:22 UTC, Jeff Pollard wrote:
>>
>> Hi,
>>
>>An update: I downloaded the image file again, and it now works.
>>I'm not sure what was going on...
>>
>> Jeff
>>
>> On Saturday, December 14, 2019 at 7:30:49 PM UTC-8, Jeff Pollard wrote:
>>>
>>> Hi,
>>>
>>>   I am using a recent machinekit image:
>>>
>>> bone-debian-9.11-machinekit-armhf-2019-12-02-4gb.img.xz
>>>
>>> I have it running on my PocketBeagle, but I can't seem to communicate 
>>> with the I/O through hal.  I've done:
>>>
>>> config-pin -f Sample.bbio *(a listing of this file is below)*
>>> realtime start
>>> halcmd loadrt hal_bb_gpio board=PocketBeagle output_pins=202,204,206,208 
>>> input_pins=227,229,231,233,128
>>> halcmd loadusr halmeter
>>>
>>> From here, halmeter runs and will list all of the I/O expected, but if I 
>>> select an input (i.e. bb_gpio.p2.in-33) and watch for change, the display 
>>> will not change when I change the state of the pin.
>>>
>>> If I query the state of the same pin using:
>>>
>>> config-pin -q 2.33
>>>
>>> I can read the proper state of the pin.
>>>
>>> My uEnv.txt has not been modified. It has:
>>> uname_r=4.19.72-bone-rt-r40
>>> enable_uboot_overlays=1
>>> uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
>>> enable_uboot_cape_universal=1
>>> cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet
>>>
>>> Am I missing a configuration step somewhere?
>>>
>>> Thanks,
>>>
>>> Jeff
>>> =
>>> Sample.bbio 
>>> -
>>> overlay cape-universal
>>> overlay cape-bone-iio
>>> P2.02 out # out 1
>>> P2.04 out # out 2
>>> P2.06 out # out 3
>>> P2.08 out # ou1 4
>>>
>>> P2.27 in # in 1
>>> P2.29 in # in 2
>>> P2.31 in # in 3
>>> P2.33 in # in 4
>>> P1.28 in # in 5
>>>
>>>

-- 
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 machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/8b0574be-36a6-4229-bb7a-f583e76fefbf%40googlegroups.com.


[Machinekit] Re: PocketBeagle with MachineKit hal configuration question

2019-12-19 Thread 'fishy' via Machinekit
MD5?

On Tuesday, 17 December 2019 23:06:22 UTC, Jeff Pollard wrote:
>
> Hi,
>
>An update: I downloaded the image file again, and it now works.
>I'm not sure what was going on...
>
> Jeff
>
> On Saturday, December 14, 2019 at 7:30:49 PM UTC-8, Jeff Pollard wrote:
>>
>> Hi,
>>
>>   I am using a recent machinekit image:
>>
>> bone-debian-9.11-machinekit-armhf-2019-12-02-4gb.img.xz
>>
>> I have it running on my PocketBeagle, but I can't seem to communicate 
>> with the I/O through hal.  I've done:
>>
>> config-pin -f Sample.bbio *(a listing of this file is below)*
>> realtime start
>> halcmd loadrt hal_bb_gpio board=PocketBeagle output_pins=202,204,206,208 
>> input_pins=227,229,231,233,128
>> halcmd loadusr halmeter
>>
>> From here, halmeter runs and will list all of the I/O expected, but if I 
>> select an input (i.e. bb_gpio.p2.in-33) and watch for change, the display 
>> will not change when I change the state of the pin.
>>
>> If I query the state of the same pin using:
>>
>> config-pin -q 2.33
>>
>> I can read the proper state of the pin.
>>
>> My uEnv.txt has not been modified. It has:
>> uname_r=4.19.72-bone-rt-r40
>> enable_uboot_overlays=1
>> uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
>> enable_uboot_cape_universal=1
>> cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet
>>
>> Am I missing a configuration step somewhere?
>>
>> Thanks,
>>
>> Jeff
>> =
>> Sample.bbio 
>> -
>> overlay cape-universal
>> overlay cape-bone-iio
>> P2.02 out # out 1
>> P2.04 out # out 2
>> P2.06 out # out 3
>> P2.08 out # ou1 4
>>
>> P2.27 in # in 1
>> P2.29 in # in 2
>> P2.31 in # in 3
>> P2.33 in # in 4
>> P1.28 in # in 5
>>
>>

-- 
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 machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/8c6cfd9d-100c-439b-95ae-6b29e9a702a4%40googlegroups.com.